Cesium icon indicating copy to clipboard operation
Cesium copied to clipboard

Error while running `dotnet publish <..>`

Open ForNeVeR opened this issue 3 months ago • 0 comments

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 me error : 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 in dotnet publish needs to updated in the docs.

To resolve this, let's:

  1. Provide the documentation on how to build on every supported development platform (Windows, macOS, Linux).
  2. Make sure we have auto testing for the publishing workflow.

ForNeVeR avatar Mar 10 '24 13:03 ForNeVeR