编译cesium源码的时候出现找不到DotNet命名空间


我尝试一项一项去编译,如图所示的地方出现了问题,找不到DotNet命名空间

Hi @Ecmfknby, welcome to the community!

Are you following the developer setup instructions? See in particular the note at the end of the “Reinterop” section:

I’ve checked all of my environments and they are basically in line with the requirements. The version of CMake is 3.31.1, the version of.NET SDK is 9.0.101, the version of Unity is 2022.3.50, the C++ language standard is C++20, and the support for long paths in Windows has been enabled. However, there’s one point that I might not have done correctly. When I executed the command “dotnet publish Reinterop~ -o.”, the result was like this. I’m not sure whether this has achieved the expected result or not.
image

Hello! Thank you very much for your answer. I’ve solved my problem. The reason was that I didn’t open Unity to compile the project.