When I run the command dotnet new umbraco -n MyCustomUmbracoProject the project is created, but when I run dotnet build I get the following error:
C:\Program Files\dotnet\sdk\7.0.304\Sdks\Microsoft.NET.Sdk.Razor\targets\Microsoft.NET.Sdk.Razor.StaticWebAssets.target
s(499,5): error : Manifest file at 'obj\Debug\net7.0\staticwebassets.build.json' not found. [C:\Users\MyUserName\Desk
top\test\MyCustomUmbracoProject\MyCustomUmbracoProject.csproj]
I have tried comparing with a colleague who is able to run and build the project, using the exact same commands, where the staticwebassets.build.json file is created during the build step.
I am using dotnet version 7.304.
Has anyone else experienced this or have any clue as to why this file is not generated on my environment?
Umbraco CLI templates not building
This issue has appeared out of nowhere, when trying to create a new umbraco project using the CLI as described here in the docs:
https://docs.umbraco.com/umbraco-cms/fundamentals/setup/install/install-umbraco-with-templates
When I run the command
dotnet new umbraco -n MyCustomUmbracoProject
the project is created, but when I rundotnet build
I get the following error:I have tried comparing with a colleague who is able to run and build the project, using the exact same commands, where the staticwebassets.build.json file is created during the build step.
I am using dotnet version 7.304. Has anyone else experienced this or have any clue as to why this file is not generated on my environment?
Updating to SDK version 7.0.403 seems to have fixed the issue.
is working on a reply...