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.

The road towards NetCoreApp2.0

See original GitHub issue

Creating this issue so that we have a place to discuss how to move dotnet script to .Net Core 2.0

In order to support a wider range of NuGet packages, we need to run dotnet script as a netcoreapp2.0

The execution side, dotnet scriptis pretty much working as can be seen in the https://github.com/filipw/dotnet-script/tree/feature/netcore20 branch.

The challenge here is that we also need to update the NuGet package reference support in OmniSharp.Roslyn, so that we can provide proper intellisense for netcoreapp2.0 based scripts.

Version 0.13.0 of dotnet scriptis based upon the new csproj project format where as OmniSharp.Roslyn uses the old project.json format under the hood for resolving NuGet package dependencies.

All the stuff related to resolving dependencies are now in Dotnet.Script.Core and I think we need to split that into a project structure that makes it more reusable from the OmniSharp side of things.

Maybe something like this

  • Dotnet.Script.Dependencies (common library for both dotnet script and OmniSharp.Roslyn)
  • Dotnet.Script.Dependencies.Runtime (used by dotnet script for resolving runtime dependencies)
  • Dotnet.Script.Dependencies.Compiletime (used by OmniSharp.Roslyn to provide compilation metadata references)

to be continued…

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
filipwcommented, Oct 6, 2017

that’s awesome! ❤️

0reactions
filipwcommented, Oct 16, 2017

done

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrate from ASP.NET Core 2.0 to 2.1
This article covers the basics of migrating an ASP.NET Core 2.0 app to 2.1.
Read more >
Please stop lying about .NET Standard 2.0 support!
In this post I have a bit of a rant about Microsoft's NuGet packages lying about supporting .NET Standard 2.0 when they kinda...
Read more >
After upgrading to ASP.NET Core 2.1, get error that project ...
Error: The project was restored using Microsoft.NETCore.App version 2.1.0, but with current settings, version 2.1.0-rc1 would be used instead.
Read more >
The target process exited without raising CoreCLR started ...
I want to debug an empty WebApi Project based on .NET Core 2.2. I installed the "Core 2.2 SDK x86" and changed the...
Read more >
A .NET Core 3.1 or .NET 5.0 application installed by ...
NET 5.0 application installed by ClickOnce may fail to start after being installed. ... path: 'runtimes/win/lib/netcoreapp2.0/System.
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