.net core 1.1 中嵌入的 powerbi [英] powerbi embeded in .net core 1.1

查看:23
本文介绍了.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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆