Build debugger-libs as a submodule throws nugets not found errors..
@thaystg et al...
I've just updated our debugger-libs submodule to point to the the latest commit, 35ab1bd2c237c155296749fa0a680ce5d4f2e13d, on main
When Github Action CI tries to build the required *.csprojs I get the following errors.
D:\a\VSCode_Meadow_Extension\VSCode_Meadow_Extension\main\src\csharp\VSCodeMeadow.csproj : error NU1101: Unable to find package Microsoft.SymbolStore. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, nuget.org
D:\a\VSCode_Meadow_Extension\VSCode_Meadow_Extension\main\src\csharp\VSCodeMeadow.csproj : error NU1101: Unable to find package Microsoft.FileFormats. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, nuget.org
D:\a\VSCode_Meadow_Extension\VSCode_Meadow_Extension\main\externals\debugger-libs\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj : error NU1101: Unable to find package Microsoft.SymbolStore. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, nuget.org [D:\a\VSCode_Meadow_Extension\VSCode_Meadow_Extension\main\src\csharp\VSCodeMeadow.csproj]
D:\a\VSCode_Meadow_Extension\VSCode_Meadow_Extension\main\externals\debugger-libs\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj : error NU1101: Unable to find package Microsoft.FileFormats. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, nuget.org [D:\a\VSCode_Meadow_Extension\VSCode_Meadow_Extension\main\src\csharp\VSCodeMeadow.csproj]
D:\a\VSCode_Meadow_Extension\VSCode_Meadow_Extension\main\externals\debugger-libs\Mono.Debugging.Soft\Mono.Debugging.Soft.csproj : error NU1101: Unable to find package Microsoft.SymbolStore. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, nuget.org [D:\a\VSCode_Meadow_Extension\VSCode_Meadow_Extension\main\src\csharp\VSCodeMeadow.csproj]
D:\a\VSCode_Meadow_Extension\VSCode_Meadow_Extension\main\externals\debugger-libs\Mono.Debugging.Soft\Mono.Debugging.Soft.csproj : error NU1101: Unable to find package Microsoft.FileFormats. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, nuget.org [D:\a\VSCode_Meadow_Extension\VSCode_Meadow_Extension\main\src\csharp\VSCodeMeadow.csproj]
3 Warning(s)
6 Error(s)
Any tips on how to resolve this? Pointing to an old submodule commit never threw these errors, but we want the latest debugger library fixes :)
@mauroa or anyone else still at Microsoft. CI still won't build this because both Microsoft.SymbolStore and Microsoft.FileFormats are both still internal to Microsoft, so we cannot bump to the latest main commit :(. It has been 1.5 years like this. Any chance this can be fixed so we can use the latest debugger fixes? Full CI build log here - https://github.com/WildernessLabs/VSCode_Meadow_Extension/actions/runs/12734168004/job/35491410701
Any help on working around this would be appreciated.
Using the suggestion from #408 I added:
- name: Install FallBack Sources
run: |
nuget install Microsoft.SymbolStore -Version 1.0.411401 -FallbackSource "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json"
to my CI and everything now builds with latest on main. I'm not sure how long this workaround will work. @mauroa would be better if either this dependencies were remove or those nugets were available on the public nuget repo, so this hack isn't needed.