You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ContentFiles are not being added as link items in normal project system in PackageReference
Steps:
create c# class library
Install package contentfilesexample -v 1.0.2 as PackageReference
Expected:
It should have added content files as link items into the project. They should have also be available in projectName.csproj.nuget.g.props file
Actual:
Content files are neither in project system nor in .props file. Although they are there in project.assets.json file.
The text was updated successfully, but these errors were encountered:
We explicitly avoid adding these content files into projectName.csproj.nuget.g.props file with the help of skipContentFileWrite flag in assets file. Because classic project system build tasks takes care of these content files and making them available as part of projects via design-time builds.
ContentFiles are not being added as link items in normal project system in PackageReference
Steps:
Expected:
It should have added content files as link items into the project. They should have also be available in
projectName.csproj.nuget.g.props
fileActual:
Content files are neither in project system nor in
.props
file. Although they are there inproject.assets.json
file.The text was updated successfully, but these errors were encountered: