Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build debugger-libs as a submodule throws nugets not found errors.. #402

Open
CartBlanche opened this issue Aug 11, 2023 · 2 comments
Open

Comments

@CartBlanche
Copy link

@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 pushed a commit to mauroa/debugger-libs that referenced this issue Sep 21, 2023
* Bump Microsoft.VisualStudio.SDK

Bumps Microsoft.VisualStudio.SDK from 17.5.0-preview-3-33208-408 to 17.7.37327.

---
updated-dependencies:
- dependency-name: Microsoft.VisualStudio.SDK
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Packages

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Juan Diego Herrera <juherrera@microsoft.com>
@CartBlanche
Copy link
Author

@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.

@CartBlanche
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant