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.

.NETCoreApp 6.0 Support?

See original GitHub issue

Would it be possible to support .NETCoreApp 6.0? I’ve tried to run cervantes on Linux and get the following error: dotnet run --project /<path>/cervantes/Cervantes.Web

/cervantes/Cervantes.Web/Cervantes.Web.csproj : error NU1202: Package Microsoft.AspNet.Identity.Core 2.2.3 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Microsoft.AspNet.Identity.Core 2.2.3 supports: net45 (.NETFramework,Version=v4.5)                                                                                                                                                                                                
                                                                                                                                                                                                                                            
The build failed. Fix the build errors and run again

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
corschcommented, Jul 22, 2022

I’ve found the issue.

My default dotnet didn’t have .NET 6.0 but only .NETCore 3.1

dotnet --list-runtimes
Microsoft.AspNetCore.App 3.1.26 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.1.26 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

With the manually used runtime, I get only “warnings” and no “errors”

./dotnet --list-runtimes Microsoft.AspNetCore.App 6.0.7 [/root/.dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 6.0.7 [/root/.dotnet/shared/Microsoft.NETCore.App]

1reaction
mesquidarcommented, Jul 20, 2022

Hi @corsch , the app is made in NET 6, this library is not used and is there for a mistaken and it will be removed in the next commit 😃

Anyway it should compile even with that library warning, can you sent me the full logs to check it out?

Thank you Best regards

Read more comments on GitHub >

github_iconTop Results From Across the Web

Download .NET 6.0 (Linux, macOS, and Windows)
NET 6.0 downloads for Linux, macOS, and Windows. .NET is a free, ... NET Desktop Runtime 6.0.21; Language support: C# 10.0: F# 6.0:...
Read more >
.NET and .NET Core official support policy
Learn about .NET and .NET Core support policies, which refer to several technologies including the runtime, ASP.NET Core and Entity Framework Core.
Read more >
NET Core 6.0.0
NET 6 release includes support for macOS and Windows Arm64 operating systems, see details . ... NETCore.App.Runtime.win-arm64, 6.0.0.nupkg.
Read more >
NET Core 6.0.6
NET 6 release includes support for macOS and Windows Arm64 operating systems, see details .NET support for macOS 11 and Windows 11 for...
Read more >
NET 6.0.18 - June 13, 2023
NET 6 release includes support for macOS and Windows Arm64 operating systems, see details . ... NETCore.App.Runtime.linux-musl-arm64, 6.0.18.
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