powerbi嵌入.net core 1.1中 [英] powerbi embeded in .net core 1.1
问题描述
当前,我正在尝试在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
这篇关于powerbi嵌入.net core 1.1中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!