Cesium icon indicating copy to clipboard operation
Cesium copied to clipboard

Inconsistent versions during Cesium.Compiler

Open kant2002 opened this issue 3 months ago • 2 comments

I change version of Yoakke, submit PR then switch on main to work on other issue and I start receiving following error in the build

warning MSB3277: Found conflicts between different versions of "Yoakke.SynKit.Lexer" that could not be resolved.
warning MSB3277: There was a conflict between "Yoakke.SynKit.Lexer, Version=2025.9.28.0, Culture=neutral, PublicKeyToken=9ba50021dda444d7" and "Yoakke.SynKit.Lexer, Version=2025.10.1.0, Culture=neutral, PublicKeyToken=9ba50021dda444d7".
warning MSB3277:     "Yoakke.SynKit.Lexer, Version=2025.9.28.0, Culture=neutral, PublicKeyToken=9ba50021dda444d7" was chosen because it was primary and "Yoakke.SynKit.Lexer, Version=2025.10.1.0, Culture=neutral, PublicKeyToken=9ba50021dda444d7" was not.
warning MSB3277:     References which depend on "Yoakke.SynKit.Lexer, Version=2025.9.28.0, Culture=neutral, PublicKeyToken=9ba50021dda444d7" [C:\Users\kant2\.nuget\packages\yoakke.synkit.lexer\2025.9.28-11.7.0-nightly\lib\netstandard2.0\Yoakke.SynKit.Lexer.dll].
warning MSB3277:         C:\Users\kant2\.nuget\packages\yoakke.synkit.lexer\2025.9.28-11.7.0-nightly\lib\netstandard2.0\Yoakke.SynKit.Lexer.dll
warning MSB3277:           Project file item includes which caused reference "C:\Users\kant2\.nuget\packages\yoakke.synkit.lexer\2025.9.28-11.7.0-nightly\lib\netstandard2.0\Yoakke.SynKit.Lexer.dll".
warning MSB3277:             C:\Users\kant2\.nuget\packages\yoakke.synkit.lexer\2025.9.28-11.7.0-nightly\lib\netstandard2.0\Yoakke.SynKit.Lexer.dll
warning MSB3277:     References which depend on or have been unified to "Yoakke.SynKit.Lexer, Version=2025.10.1.0, Culture=neutral, PublicKeyToken=9ba50021dda444d7" [].
warning MSB3277:         C:\d\github\cesium\artifacts\bin\Cesium.CodeGen\debug\Cesium.CodeGen.dll
warning MSB3277:           Project file item includes which caused reference "C:\d\github\cesium\artifacts\bin\Cesium.CodeGen\debug\Cesium.CodeGen.dll".
warning MSB3277:             C:\d\github\cesium\artifacts\bin\Cesium.CodeGen\debug\Cesium.CodeGen.dll
warning MSB3277:         C:\d\github\cesium\artifacts\bin\Cesium.Parser\debug\Cesium.Parser.dll
warning MSB3277:           Project file item includes which caused reference "C:\d\github\cesium\artifacts\bin\Cesium.Parser\debug\Cesium.Parser.dll".
warning MSB3277:             C:\d\github\cesium\artifacts\bin\Cesium.Parser\debug\Cesium.Parser.dll
warning MSB3277:             C:\d\github\cesium\artifacts\bin\Cesium.CodeGen\debug\Cesium.CodeGen.dll
warning MSB3277:         C:\d\github\cesium\artifacts\bin\Cesium.Preprocessor\debug\Cesium.Preprocessor.dll
warning MSB3277:           Project file item includes which caused reference "C:\d\github\cesium\artifacts\bin\Cesium.Preprocessor\debug\Cesium.Preprocessor.dll".
warning MSB3277:             C:\d\github\cesium\artifacts\bin\Cesium.Preprocessor\debug\Cesium.Preprocessor.dll
warning MSB3277:         C:\d\github\cesium\artifacts\bin\Cesium.Ast\debug\Cesium.Ast.dll
warning MSB3277:           Project file item includes which caused reference "C:\d\github\cesium\artifacts\bin\Cesium.Ast\debug\Cesium.Ast.dll".
warning MSB3277:             C:\d\github\cesium\artifacts\bin\Cesium.Ast\debug\Cesium.Ast.dll
warning MSB3277:             C:\d\github\cesium\artifacts\bin\Cesium.CodeGen\debug\Cesium.CodeGen.dll
warning MSB3277:             C:\d\github\cesium\artifacts\bin\Cesium.Parser\debug\Cesium.Parser.dll
warning MSB3277: Found conflicts between different versions of "Yoakke.SynKit.C.Syntax" that could not be resolved.
warning MSB3277: There was a conflict between "Yoakke.SynKit.C.Syntax, Version=2025.9.28.0, Culture=neutral, PublicKeyToken=6686bc9d5c7f87dd" and "Yoakke.SynKit.C.Syntax, Version=2025.10.1.0, Culture=neutral, PublicKeyToken=6686bc9d5c7f87dd".

This seems to be require full rebuild just for dependency change. That looks a lot like overkill and probably we somehow mess with out build setup in Cesium.Compiler

kant2002 avatar Oct 11 '25 04:10 kant2002