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.

Targeting pack support for .NET Core 3.0

See original GitHub issue

For .NET Core 3.0, we expect to separate targeting packs, which contain the assets needed at build time when targeting .NET Core 3.0 (for example, reference assemblies and intellisense documentation) from “runtime packs”, which will include the platform-specific runtime components for .NET Core 3.

This issue tracks the work required in order to support targeting packs. This may include:

Finer-grained issues for these tasks will be filed as necessary

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dasMullicommented, Nov 29, 2018

Ideally, this shouldn’t break usages of

MetadataReference[] _ref = 
    DependencyContext.Default.CompileLibraries
    .First(cl => cl.Name == "Microsoft.NETCore.App")
    .ResolveReferencePaths()
    .Select(asm => MetadataReference.CreateFromFile(asm))
    .ToArray();

when using PreserveCompilationContext=true

It should only need an update to the dependency model NuGet package.

1reaction
dasMullicommented, Sep 17, 2018

Same as for https://github.com/dotnet/cli/issues/10007, please consider:

  • Clean-up story
  • Location and permission configuration. This may be important for build scripts that may not have superuser / elevated permissions and would need to use a custom folder (dotnet targeting-pack install net472 -o ./targeting-packs; dotnet build foo/foo.csproj --targeting-packs ./targeting-pakcs)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Download .NET Core 3.0 (Linux, macOS, and Windows)
NET Core 3.0 downloads for Linux, macOS, and Windows. .NET is a free, cross-platform, ... NET Desktop Runtime 3.0.3; Language support: C# 8.0:...
Read more >
asp.net - The current .NET SDK does not support targeting . ...
NET SDK does not support targeting .NET Core 3.0. Either target .NET Core 2.2 or lower, or use a version of the .NET...
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 >
.NET Framework version history - Wikipedia
.NET Framework 2.0 is supported on Windows 98, ME, 2000 (with Service Pack 3 or higher), XP (with Service Pack 2 or higher),...
Read more >
Exploring .NET Core 3.0. What's New?
TL;DR: Take a look at the new features available in NET Core 3.0. ... A few features of the new release aim to...
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