.net core 1.1 中嵌入的 powerbi

powerbi embeded in .net core 1.1(.net core 1.1 中嵌入的 powerbi)
本文介绍了.net core 1.1 中嵌入的 powerbi的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我正在尝试在 Visual Studio 2017 中为我的 .net core 1.1 项目导入 powerbi 包.但是,我收到以下错误:

Currently, I am trying to import powerbi packages in visual studio 2017 for my .net core 1.1 project. However, I get the following error:

Install-Package : Package Microsoft.PowerBI.Core 1.1.10 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Microsoft.PowerBI.Core 1.1.10 supports: net45 (.NETFramework,Version=v4.5)At line:1 char:1

这是否发生在其他人身上?您知道如何解决这个问题并将 powerbi 嵌入到新的 .net core 1.1 中吗?我试图搜索很多地方,但由于不断变化,我确实得到了过时的信息.谢谢!

Has this happened to anybody else? Do you know how to work around this and embed powerbi in the new .net core 1.1? I tried to search a lot of places but because of the constant changes, I do get outdated information. Thanks!

推荐答案

我也遇到了同样的问题,把api移植到netstandard,看看有没有帮助:

I had the same problem and ported the api to netstandard, see if it helps:

https://www.nuget.org/packages/PowerBI.NetStandard.Api/1.0.0

这篇关于.net core 1.1 中嵌入的 powerbi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

c# Generic Setlt;Tgt; implementation to access objects by type(按类型访问对象的C#泛型集实现)
InvalidOperationException When using Context Injection in ASP.Net Core(在ASP.NET核心中使用上下文注入时发生InvalidOperationException)
quot;Overflowquot; compiler error with -9223372036854775808L(编译器错误-9223372036854775808L(Q;溢出Q))
Visual Studio 2010 ReportViewer Assembly References(Visual Studio 2010 ReportViewer程序集引用)
Weird behaviour when I open a reportviewer in WPF(在WPF中打开报表查看器时出现奇怪的行为)
how do i pass parameters to aspnet reportviewer(如何将参数传递给aspnet report查看器)