Closed msschl closed 4 years ago
Same error for me with Ubuntu 16.04, console template and running "dotnet build".
Solved it creating a folder for the project, the original one was in the root path (don't tell me why :) )
I was having this issue since Yesterday on Windows 10 with a project targeting "net48" framework. First I thought it's because I installed Visual Studio with its own set of DotNet Core installations and also had some Windows SDK and UWP stuff for the sake of testing. But even after I removed everything the bug still persisted. Then I created a new dotnet console project and started moving configurations from the old .csproj file to the new file one by one, But no error happened. Then I moved all the source code and still no errors happened. Right now, Both directories are Identical (With Source code and Resources) but still no error ! (Images : Left side is Old project files, Right side is the new one which is an identical copy to the old one at this moment, Except they're in different directories)
I think this is a Caching issue, Since only changing the path of a project's directory fixed the problem.
Running the following commands in a docker container (ci/cd environment) results in an error:
error MSB3552: Resource file "**/*.resx" cannot be found
$CONFIGURATION
is set toRelease
$FRAMEWORK
is set tonetcoreapp3.1