You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run build.sh on Linux (Ubuntu 23.10, .NET 8.0.100), the project fails to restore and build.
This is actually two issues:
Nuke fails to restore due to being unable to find msbuild in the path or relevant environment variables. On Linux, msbuild is supposed to be invoked by dotnet build. Adding a shell script named /usr/local/bin/msbuild that simply invokes dotnet build solved this issue for me. This is probably an issue with Nuke, I guess.
After getting past that, NSwag still fails to restore due to NSwagStudio being part of the solution. NSwagStudio requires the WindowsDesktop SDK, which isn't available on Linux. It would be nice to split the solution into two separate solutions, one for NSwag proper and another one for NSwagStudio.
By removing every reference to NSwagStudio, NSwagStudio.Installer, and NSwagStudio.Chocolatey I was able to build, although more work remains to be done in order to build with Nuke.
The text was updated successfully, but these errors were encountered:
When I run build.sh on Linux (Ubuntu 23.10, .NET 8.0.100), the project fails to restore and build.
This is actually two issues:
msbuild
in the path or relevant environment variables. On Linux, msbuild is supposed to be invoked bydotnet build
. Adding a shell script named /usr/local/bin/msbuild that simply invokesdotnet build
solved this issue for me. This is probably an issue with Nuke, I guess.By removing every reference to NSwagStudio, NSwagStudio.Installer, and NSwagStudio.Chocolatey I was able to build, although more work remains to be done in order to build with Nuke.
The text was updated successfully, but these errors were encountered: