The Cake script hasn't been updated for a long time and has stopped working.
Running the src/build.ps1 powershell script, which starts the cake script build fails with the following output:
in pwsh at 00:13:27
Tool 'cake.tool' (version '5.0.0') was restored. Available commands: dotnet-cake
Restore was successful.
========================================
Clean
========================================
========================================
Restore
========================================
Restoring solution...
Restore succeeded with 1 warning(s) in 5,0s
C:\projects\christianhelle\reswcodegen\src\VSPackage\VSPackage.csproj : warning NU1603: Microsoft.VisualStudio.SDK 15.0.1 depends on Microsoft.VisualStudio.SDK.Analyzers (>= 17.7.20) but Microsoft.VisualStudio.SDK.Analyzers 17.7.20 was not found. Microsoft.VisualStudio.SDK.Analyzers 17.7.22 was resolved instead.
Build succeeded with 1 warning(s) in 5,1s
========================================
Build
========================================
Building solution...
An error occurred when executing task 'Build'.
Error: MSBuild: Could not locate executable.
Building src/ReswCodeGen.sln directly using msbuild from the Developer Command prompt for VS 2022 works fine
The Cake script hasn't been updated for a long time and has stopped working.
Running the
src/build.ps1powershell script, which starts the cake script build fails with the following output:Building
src/ReswCodeGen.slndirectly usingmsbuildfrom the Developer Command prompt for VS 2022 works fine