Cesium
Cesium copied to clipboard
Error while running `dotnet publish <..>`
Discussed in https://github.com/ForNeVeR/Cesium/discussions/554
Originally posted by verma-kartik March 10, 2024
I'm running
dotnet publish Cesium.Compiler/Cesium.Compiler.csproj -r osx-arm64 --self-contained
and it is giving meerror : PublishAot and PublishSingleFile cannot be specified at the same time.
error.Also, the doc says to install .NET SDK 8.0 or later, however when the project is initialised in VSCode, it automatically installs .NET Runtime 7.0.16.
Is the above error due to version mismatch? or something else?
PS: For other OS, the
-r
flag indotnet publish
needs to updated in the docs.
To resolve this, let's:
- Provide the documentation on how to build on every supported development platform (Windows, macOS, Linux).
- Make sure we have auto testing for the publishing workflow.