-
Notifications
You must be signed in to change notification settings - Fork 252
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
Represent FrameworkReferences in NuGet - pack & restore support #7342
Comments
This was referenced Nov 21, 2018
I imagine this would also need to be reflected as part of deps.json as well for transitive packages that have framework references yes? |
nkolev92
changed the title
Represent FrameworkReferences in NuGet packages and assets files
Represent FrameworkReferences in NuGet - pack & restore support
Mar 4, 2019
NuGet side spec at https://github.com/NuGet/Client.Engineering/pull/92 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Link to specs:
Original issue description
Project files in .NET Core 3.0 will be able to use FrameworkReferences to declare a dependency on optional shared frameworks such as ASP.NET or WPF/WinForms. Currently, a FrameworkReference is expressed like this in a project file:
If a project references a NuGet package or another project that depends on an optional shared framework, then that shared framework dependency should flow from the referenced package or project to the app. This means that FrameworkReferences need to be represented in some way in a NuGet package. We have discussed using the existing
frameworkAssembly
element for this.The behavior needed in NuGet would be:
FrameworkReference
items into the format that they are expressed in the .nuspec (probablyframeworkAssembly
)frameworkAssembly
is used to express these dependencies, then this may happen with little or no code changesFrameworkReference
information from referenced projects to the assets file. This enables framework references to flow across (possibly transitive) project referencesThe text was updated successfully, but these errors were encountered: