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

ContentFiles under any are not added for netstandard projects #3118

Closed
emgarten opened this Issue Jul 12, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@emgarten
Contributor

emgarten commented Jul 12, 2016

Create a package with a contentFile under any/any
ex: contentFiles/any/any/myfile.txt

Install the package into a netstandard project

Expected

contentFiles will show up in the lock file

Actual

No contentFiles are added

This is caused by ContentModel treating any as dotnet which is not compatible with netstandard, within the ContentFiles folder any should mean any

@rrelyea rrelyea added this to the 3.5 RTM milestone Jul 12, 2016

dougbu added a commit to aspnet/Common that referenced this issue Jul 12, 2016

To remove, we must first add
- part of #93
- copy `WebEncoders` into Common repo
- add hacks to work around dotnet/cli#3831 and NuGet/Home#3118

dougbu added a commit to aspnet/Common that referenced this issue Jul 13, 2016

To remove, we must first add
- part of #93
- copy `WebEncoders` into Common repo
- add hacks to work around dotnet/cli#3831 and NuGet/Home#3118
@dougbu

This comment has been minimized.

Show comment
Hide comment
@dougbu

dougbu Jul 13, 2016

/fyi @davidfowl this is the bug I mentioned yesterday evening.

dougbu commented Jul 13, 2016

/fyi @davidfowl this is the bug I mentioned yesterday evening.

emgarten added a commit to NuGet/NuGet.Client that referenced this issue Jul 14, 2016

Allow netstandard to install contentFiles under the any tfm
By default ContentModel translates 'any' to 'dotnet', this works for the lib folder but for scenarios such as contentFiles any does refer to all frameworks. This change updates contentModel to allow per pattern token replacement tables.

Fixes NuGet/Home#3118
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment