powerbi embeded in .net core 1.1

别来无恙 提交于 2020-01-03 21:14:16

问题


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

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!


回答1:


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



来源:https://stackoverflow.com/questions/43340409/powerbi-embeded-in-net-core-1-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!