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
When a NuGet package is created with content files in a nested directory structure, the (manifest) resource names of the embedded resources that are created for these files do not contain the relative directory path (with slashes converted to dots).
Steps to reproduce:
Create a NuGet package with the following content:
contentFiles
any
any
sub
myResource.txt
In the .nuspec for this package, add the following fragment to the metadata element:
When a NuGet package is created with content files in a nested directory structure, the (manifest) resource names of the embedded resources that are created for these files do not contain the relative directory path (with slashes converted to dots).
Steps to reproduce:
Expected result:
The myResource.txt file is embedded in the ConsoleApp1.exe assembly with the name 'ConsoleApp1.sub.myResource.txt'.
Actual result:
The myResource.txt file is embedded in the ConsoleApp1.exe assembly with the name 'ConsoleApp1.myResource.txt'.
NuGet product used: VS UI (15.8.1)
OS version: Windows 7 Build 7601
Moved from: NuGet/Home#7255
cc @drieseng @tmeschter
The text was updated successfully, but these errors were encountered: