Repository navigation
fix(build): hot-reload timestamp chỉ ở cấu hình DebugAcad (sửa CS0006 khi build Debug trong VS) - #41
Merged
Merged
Conversation
Building Debug|Any CPU in Visual Studio failed with CS0006 in CadCoreFramework.Testing/Tests: the timestamped AssemblyName is recomputed on every evaluation, and VS builds projects one by one, so referencing projects looked for a DLL name that never existed. - Debug now produces CadCoreFramework.dll (fixed name), like Release. - New DebugAcad configuration keeps the hot-reload timestamp; in the .sln it builds only the plugin + analyzer (DebugAcad|x64). - Docs (README, R01, R06, T01, T02, T04, T06, T09), deck, CHANGELOG. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Vấn đề
Build
Debug | Any CPUtrong Visual Studio (Ctrl+Shift+B) lỗi:Tên DLL gắn giờ (
CadCoreFramework_yyyyMMdd_HHmmss) được tính lại mỗi lần MSBuild đọc project. VS build từng project riêng, nên Testing/Tests/Benchmarks đọc lại plugin vài giây sau và đi tìm một tên không tồn tại. Release không bị (tên cố định); x64 qua được là nhờ VS dùng lại kết quả đọc cũ.Sửa
DebugraCadCoreFramework.dlltên cố định, như Release.DebugAcadgiữ hot-reload (tên gắn giờ + PostBuild copy). Khai báo lạiDEBUG,Optimize=false,DebugSymbolsvì SDK chỉ tự đặt cho cấu hình tên "Debug"..sln: thêmDebugAcad|x64/DebugAcad|Any CPU→ pluginDebugAcad|x64+ analyzerDebug; test, benchmark, HeadlessLab không build.NETLOADfile có gắn giờ, khôngNETLOADbản copy (bị khóa, làm hỏng lần build sau).Kiểm tra
BuildProjectReferences=false): trước sửa CS0006, sau sửa qua.slnRebuildDebug|Any CPU,Debug|x64,DebugAcad|x64: qua (DebugAcad rabin\x64\DebugAcad\net48\CadCoreFramework_<giờ>.dll+ bản copy; build lần hai ra tên mới).dotnet build -c Release -warnaserror(lệnh CI): 0 warning, 0 error.dotnet testDebug: 376/376 trên net48 và net8.0-windows.npm run check(docs): 0 lỗi.🤖 Generated with Claude Code