-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make (or use) .NET Framework ref assemblies as a nuget package #399
Comments
Is this something we'd really want to own? There's an issue for this on corefx. |
This would be just for us. We've asked netfx to make these a few times, but after a few years of waiting, I think it's safe to say it's not coming. |
We may be able to punt this: dotnet/sdk#335 |
Previous related issue: aspnet/KoreBuild#211 |
Note to a potential future implementer: in linux, we acquire netfx assemblies with the "get-netfx.sh" script. If we move to nuget, that piece of the bootstrapper can be deleted. |
What about the ones at https://dotnet.myget.org/feed/dotnet-core/package/nuget/Microsoft.TargetingPack.NETFramework.v4.5.2 ? |
That is one possibility. We're looking into it. |
Roslyn has some packages too that may provide this. https://github.com/dotnet/roslyn/blob/9a71fb677a8fa4bdab82ef9a49ae0358e1c9f578/build/Targets/Settings.props#L68 |
@dasMulli |
Good to know. Thanks for the heads up @hubuk . |
@tmat do you happen to know if roslyn's reference assembly nuget packages are (1) open source and (2) reference-able as a PackageReference? |
@natemcmaster @jaredpar Builds the package from here: https://github.com/jaredpar/xcopy-msbuild/blob/master/build-reference-assemblies.ps1. The package is available in roslyn-tools feed: |
Thanks @tmat. That package looks almost identical to a package we made too: https://dotnet.myget.org/feed/aspnetcore-tools/package/nuget/NETFrameworkReferenceAssemblies. I don't have any plans to work on this at the moment, but ideally, we'd love to be able to do this. <ItemGroup>
<PackageReference Include="NETFramework.TargetingPack" Version="4.6.1" />
</ItemGroup> |
I believe there are work items on the dotnet SDK team to make something like that happen. @nguerrera |
@dsplaisted had a proposal, but I think this falls on corefx. cc @Petermarcu |
I've been watching dotnet/sdk#335. Is the best one to use to keep track of progress on this? |
The corefx team has unofficial targeting pack nupkgs. I think they need to make them official and then we can build support for using them into the SDK. cc @weshaggard. |
I believe @terrajobst owns writing up a design. However at this point there are no concrete plans around doing this work. cc @richlander |
Closing in favor of dotnet/designs#33 and dotnet/sdk#335 |
Changed our minds again. Let's use the ref packs the roslyn team made and put on https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json. cref dotnet/roslyn-tools#190. |
This was completed in dotnet/aspnetcore#6995 |
Reduce the number of external things that have to be installed in order to compile.
Also, it will reduce the things that are downloaded on Linux builds where .NET Framework isn't actually used.
The text was updated successfully, but these errors were encountered: