Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17925

Visual Studio (Code & 2017 Community) .NETFramework error

$
0
0

Hi all,
I'm reaching out because I'm bumping into a problem that prevents me to try out all the PowerBI sample applications in either VS Code or VS 2017 Community.
I'm totally new to the .NET / C# Windows world as I've developped on the RoR Stack on Ubuntu so far.
When I try and run code like the App Owns Data sample, I get the following error in the console :
d:\Code\Embed-API-Sample\EmbedAPISample\EmbedAPISample.csproj : error NU1202: Package Microsoft.PowerBI.Api 2.0.11 is not compatible with net40 (.NETFramework,Version=v4.0). Package Microsoft.PowerBI.Api 2.0.11 supports: portable-net45+win8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile111)
d:\Code\Embed-API-Sample\EmbedAPISample\EmbedAPISample.csproj : error NU1202: Package Microsoft.Rest.ClientRuntime 2.0.1 is not compatible with net40 (.NETFramework,Version=v4.0). Package Microsoft.Rest.ClientRuntime 2.0.1 supports:
d:\Code\Embed-API-Sample\EmbedAPISample\EmbedAPISample.csproj : error NU1202: - dnxcore50 (DNXCore,Version=v5.0)
d:\Code\Embed-API-Sample\EmbedAPISample\EmbedAPISample.csproj : error NU1202: - net45 (.NETFramework,Version=v4.5)
d:\Code\Embed-API-Sample\EmbedAPISample\EmbedAPISample.csproj : error NU1202: - portable-net45+win8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile111)

It looks like the .NET 4.0 Framework is referenced somewhere but I can't find where. And it's not installed on my PC as I went for the 4.7.1 version on my Win10 Creators' etc PC.

I'd really appreciate if anyone could help...

Thanks forward for any ressource you will direct me to,

Best,

Franck


Viewing all articles
Browse latest Browse all 17925

Trending Articles