Error while running dotnet publish <..>
#554
verma-kartik
started this conversation in
General
Replies: 2 comments 1 reply
-
Different parts of the project are targeting Net6 or Net7 or Net8. So all three SDKs are recommended (I think). Also the PublishSingleFile flag is not needed, because it is already defined in the cesium.compiler.csproj file. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I believe this is a bug in our documentation, and perhaps in the project files as well. Opened an issue #555 on this. Thanks for reporting! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.Beta Was this translation helpful? Give feedback.
All reactions