Support for installing .NET Core shared frameworks
See original GitHub issueASP.NET Core regularly needs to build against a shared framework which is not bundled by the .NET Core SDK downloads.
The way we did this in KoreBuild was to allow for an item group to define the additional shared frameworks required.
<!-- Installs Microsoft.NETCore.App -->
<DotNetCoreRuntime Include="1.0.5" />
<DotNetCoreRuntime Include="1.0.5" Feed="https://mydotnetclifeed/assets" FeedCredential="$(MySuperSecretToken)" />
<DotNetCoreRuntime Include="latest" Channel="1.0" />
<DotNetCoreRuntime Include="2.0.0" Arch="x64" InstallDir="C:\custom\" />
<!-- Installs the AspNetCore shared framework -->
<AspNetCoreRuntime Include="2.1.0-preview1-1234" Arch="arm64" />
During /t:Restore
we ran a target which invoked dotnet-install.sh/ps1 to install the additional shared frameworks into DOTNET_ROOT.
We need this to convert from KoreBuild to Arcade. In the meantime, we’ve worked around this like this: https://github.com/aspnet/AspNetCore-Tooling/blob/03a21837eec155a2f810ee8e9645e984417439bd/eng/Tools.props#L3-L33
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:15 (15 by maintainers)
Top Results From Across the Web
Microsoft.AspNetCore.App metapackage for ASP.NET Core
The ASP.NET Core shared framework ( Microsoft.AspNetCore.App ) contains assemblies that are developed and supported by Microsoft. Microsoft.
Read more >Install .NET on Windows
In this article, you'll learn how to install .NET on Windows. .NET is made up of the runtime and the SDK. The runtime...
Read more >Install .NET Core, ASP.NET Core
Learn to install .NET Core/ASP.NET Core and prepare development environment. Understand the basics of tools required for ASP.NET Core web application.
Read more >Sharing libraries between .Net Core and .Net Framework ...
Net Core there is a fair chance that you'll need to share some libraries with .Net framework applications. You will have some legacy...
Read more >Deep-dive into .NET Core primitives, part 2: the shared ...
NET Core 2.2, there are three shared frameworks. Framework name, Description. Microsoft.NETCore.App, The base runtime. It supports things like ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It would imo make sense for these to be in
global.json
, since the version ofdotnet
is also there. Something like:I mean the workaround works, but would be nice to get first class support at some point.