Skip to content
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

Content files copied to output are not inherited by other projects #9176

Open
ChristianHoe opened this issue Feb 13, 2020 · 0 comments
Open

Content files copied to output are not inherited by other projects #9176

ChristianHoe opened this issue Feb 13, 2020 · 0 comments

Comments

@ChristianHoe
Copy link

@ChristianHoe ChristianHoe commented Feb 13, 2020

Using VS2019 and a solution with lots of csprojs,
I have created a NuGet package which just copies a exe file to /bin.

<contentFiles> <files include="**/helper.exe" buildActions="Content" copyToOutput="true" /> </contentFiles>

The package works fine, but if I reference the project in an other project, the exe file (contentFiles) is not copied.

Referencing the package in the top project is not an option, because it is still using the old package.json.

How do I get the content files copied to inherited projects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.