I had someone reach out to me via email with a problem they were having, and I thought Iād post something on it here in case others were having a similar issue.
PROBLEM: Running ādotnet buildā fails with āError MSB3552. Resource file '**/*.resx cannot be found.ā
POTENTIAL FIXES:
- Ensure your project directory path is less than 260 characters long. Unfortunately, even though itās 2019 Microsoft STILL has occasional problems with long file paths. This means moving to a shallower directory structure. You may be able to do this by simply dragging and dropping the project folder to a new place using Finder (Mac) or File Explorer (Windows).
- Ensure youāve created your project in a separate folder, not your home directory.
- Ensure you used ādotnet new consoleā to create the project. Some other project types expect you to configure other settings.
- Delete all contents of your HelloWorld folder, including hidden files, and re-create the entire project with ādotnet new consoleā
As always, thank you for your interest in the course! I hope youāre finding it fun! (And helpful.)
Jim