resource-embedder icon indicating copy to clipboard operation
resource-embedder copied to clipboard

Unable to create nuget package

Open rborosak opened this issue 5 years ago • 1 comments

I've installed Resource.Embedder and it works great but now I want to create a nuget package from my project. dotnet pack command fails with the following error error NU5026: The file '...\bin\Release\netstandard2.0\hr-hr\Components.resources.dll' to be packed was not found on disk

Here is a part from the MS build log

Finished embedding cultures: hr-HR into Components.dll in 849ms Deleted resource file 'hr-HR' as it was embedded into the target. Deleted resource directory 'hr-HR' as it is empty. Cleaning up resource files before publish MSBUILD : warning : Could not locate resource file hr-HR\Components.resources.dll. File will probably be published.

rborosak avatar Oct 27 '19 12:10 rborosak