-
Notifications
You must be signed in to change notification settings - Fork 133
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
Define policy for usage of source-built system packages #1798
Comments
Related:
(I also edited to fix |
Investigation has been done on including --allconfigurations to the runtime build. This is the desired solution, but there are some issues with including that at this point. |
As mentioned above, there are 3 potential solutions when encountering an issue building with a System.* source-built package that only builds for one TFM.
The 3rd option would be best, but until that is added, options 1 or 2 are the best options. |
[Triage] net4* TFMs are being removed with #3014. In .NET 8.0 timeframe there is a goal to target the current TFM or a netstandard tfm. |
Source-build
System.*
packages built in runtime are only built for one TFM (i.e. net5.0 in the 5.0 build). When using these packages in a tarball build, complications arise when trying to build using these source-built packages. A policy needs to be defined to decide how to handle these situationsAn example:
roslyn/src/Compilers/Server/VBCSCompiler.csproj
builds with TFMs netcoreapp3.1 and net472 and it uses a reference to System.Collections.Immutable. In the standard roslyn build, this reference is supplied by a preview8 version of this package which has previously been built and contains assemblies for both TFMs.In a tarball build for this same project, the version of System.Collections.Immutable is supplied via Package Flow and is an RC1 version of the package built from source. This package only contains a net5.0 TFM. Because of this, building the project for net472 fails to find a valid assembly in the package and so fails the build.
Potential solutions:
The text was updated successfully, but these errors were encountered: