question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for .NET Core 1.1 runtime

See original GitHub issue

We tried to transition to .NET Core 1.1 runtime image

We keep getting issues with the:

/usr/share/dotnet/sdk/1.0.0-preview4-004233/NuGet.targets(70,5): error : Package Microsoft.AspNet.WebUtilities 1.0.0-rc1-final is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Microsoft.AspNet.WebUtilities 1.0.0-rc1-final supports: [/var/www/wkd-dotnet/src/Wkd/Wkd.csproj]
/usr/share/dotnet/sdk/1.0.0-preview4-004233/NuGet.targets(70,5): error :   - dotnet5.4 (.NETPlatform,Version=v5.4) [/var/www/wkd-dotnet/src/Wkd/Wkd.csproj]
/usr/share/dotnet/sdk/1.0.0-preview4-004233/NuGet.targets(70,5): error :   - net451 (.NETFramework,Version=v4.5.1) [/var/www/wkd-dotnet/src/Wkd/Wkd.csproj]
/usr/share/dotnet/sdk/1.0.0-preview4-004233/NuGet.targets(70,5): error : One or more packages are incompatible with .NETCoreApp,Version=v1.1. [/var/www/wkd-dotnet/src/Wkd/Wkd.csproj]

It seems your dependency of Microsoft.AspNet.WebUtilities 1.0.0-rc1-final is causing the issue. image

Do you have plans of supporting 1.1 out of the box?

So far the dotnet restore fails on our project but strangely it still builds successfully.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
funkyhippycommented, Feb 24, 2017

You can get around this by targeting dotnet451 as well in the project file:

-In vs2017 RC unload then edit the project file, -look for the following line:

<PropertyGroup>
    <PackageTargetFallback>$(PackageTargetFallback);portable-net45+win8+wp8+wpa81</PackageTargetFallback>
  </PropertyGroup>

-add ;net451 to the value so you have:

<PropertyGroup>
    <PackageTargetFallback>$(PackageTargetFallback);portable-net45+win8+wp8+wpa81;net451</PackageTargetFallback>
  </PropertyGroup>

you should now be able to add the Braintree NuGet package.

(see: http://www.natemcmaster.com/blog/2017/01/19/project-json-to-csproj/ for the new csproj format used in 2017 RC)

0reactions
lkorthcommented, May 5, 2017

Closing this issue. Please let us know if 3.7.0 or newer does not solve your issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Download .NET Core 1.1 (Linux, macOS, and Windows)
NET Core 1.1 downloads for Linux, macOS, and Windows. .NET is a free, cross-platform, open-source developer platform for building many different types of ......
Read more >
NET Core 1.1.0
Release 1.1.0 of .NET Core, released on 2016-11-16. versionsof.net gives an overview of all releases and versions of .NET Core.
Read more >
How to Download and Install .NET / .NET Core
This tutorial will teach us how to download and install .NET (or .NET Core or Dot Net Core). The downloads consist of three...
Read more >
.NET - Wikipedia
NET is a free and open-source, managed computer software framework for Windows, Linux, and macOS operating systems. It is a cross-platform successor to...
Read more >
How To Install Microsoft .NET Core SDK On Linux
1.1.1. Install .NET SDK in Alpine Linux. To install .NET SDK in Alpine Linux, run: $ sudo apk add dotnet7-sdk. Install ASP.NET Core...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found