You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really want to be able to use this and I apologize ahead of time if there's a readme somewhere in the project that I couldn't find that goes over this.
The short version is that we are required to use dev-ops package feeds, and at this time we have not been able to make the feed publicly accessible. As you have pointed out, the packages are public so you should be able to get it to build by updating your NuGet feeds to public endpoints (something we aren't able to do) to unblock yourself currently.
Zach Carpenter (@zachcarp) - I'm attempting to do the same steps as the OP, with your suggestion of pointing to my own NuGet feed from my own internal AzureDevops project. The NuGet source is happier, however I now receive the following errors:
Errors:
Error NU1504 - Duplicate 'PackageReference' items found. Remove the duplicate items or use the Update functionality to ensure a consistent restore behavior. The duplicate 'PackageReference' items are: Microsoft.WindowsPackageManager.Utils 0.3.4, Microsoft.WindowsPackageManager.Utils *.
Error MSB3073 - The command ""C:\temp\winget-cli-restsource-main\src\packages\bond.csharp\9.0.3\build..\tools\gbc.exe" c# --import-dir="C:\temp\winget-cli-restsource-main\src\packages\bond.csharp\9.0.3\build..\tools\inc" --jobs=-2 --namespace=bond=Bond --output-dir="obj/Debug/netstandard2.1/" @"obj/Debug/netstandard2.1/bonddefaultcodegen.in"" exited with code 1. Microsoft.WindowsPackageManager.Rest C:\temp\winget-cli-restsource-main\src\packages\bond.csharp\9.0.3\build\Common.targets 161
Error NU1101 - Unable to find package Microsoft.Cloud.InstrumentationFramework.NetStd. No packages exist with this id in source(s): WinGet_Feed
I tried commenting out one of the package references to resolve the first error. The second one I'm not sure about, and the third seems to be referencing a deprecated package.
Any help, or resources you could point me to to assist with this would be really appreciated. I'm very keen to get a private winget repo setup for my org, but this part is a little out of my area of expertise. Thanks!
I change NuGet Package Sources from https://pkgs.dev.azure.com/ms/winget-cli-restsource/_packaging/winget/nuget/v3/index.json tohttps://api.nuget.org/v3/index.json
Will show * Error NU1101 - Unable to find package Microsoft.Cloud.InstrumentationFramework.NetStd. No packages exist with this id in source(s): WinGet_Feed
Error NU1101 - Unable to find package Microsoft.Cloud.InstrumentationFramework.NetStd. No packages exist with this id in source(s): WinGet_Feed
Same error.
I've tried to downgrade VS Studio from 2022 to 2019 .... Changed to Public Package Source, too.
Don't find any reference or documentation of this package?
Is there any further recommendations on this? The latest commit also uses Bond.Csharp 11 which isn't publicly available. Likewise Microsoft.Cloud.InstrumentationFramework.NetStd.
I can confirm it's still an issue. The package feed still requires a Microsoft login to access it and those two packages are still not publicly available (looks like the 2nd one should never be).
I have tried to build the package today in Visual Studio 2022, but I also get the same error.
I got the error that Bond.CSharp could not be found, but I fixed this by altering the version from 11.0.0 to 10.0.0 as the highest available package at NuGet is 10.0.0 (though I don't know if this'll create problems later).
When I try to build it like this, at first I get the question to login to my Microsoft account a bunch of times, and then the error: Unable to load the service index for source https://pkgs.dev.azure.com/ms/winget-cli-restsource/_packaging/winget/nuget/v3/index.json..
If I remove the URL from the NuGet.config (as I also found an article online that suggested they got it working without the API URL), I then get the following error: Unable to find package Microsoft.Cloud.InstrumentationFramework.NetStd. No packages exist with this id in source(s): winget.
When I try to follow the URL, and sign in, I get the message 401 - Uh-oh, you do not have access., so I don't know if I need to create my own API URL on Azure somewhere or something?
I've read somewhere else that removing the URL from the NuGet.config and then run the .net command dotnet restore will solve the build issue, and it will try to resolve the issues, but then I get a whole bunch of errors:
C:\Temp\winget-cli-restsource-main\src\Microsoft.WindowsPackageManager.Rest\Microsoft.WindowsPackageManager.Rest.c
sproj : error NU1101: Unable to find package Microsoft.Cloud.InstrumentationFramework.NetStd. No packages exist with th
is id in source(s): Microsoft Visual Studio Offline Packages, NuGet.org [C:\Temp\winget-cli-restsource-main\src\Wi
nGet.RestSource.sln]
C:\Temp\winget-cli-restsource-main\src\WinGet.RestSource.AppConfig\WinGet.RestSource.AppConfig.csproj : error NU11
01: Unable to find package Microsoft.Cloud.InstrumentationFramework.NetStd. No packages exist with this id in source(s)
: Microsoft Visual Studio Offline Packages, NuGet.org [C:\Temp\winget-cli-restsource-main\src\WinGet.RestSource.sl
n]
C:\Temp\winget-cli-restsource-main\src\WinGet.RestSource.PowershellSupport\WinGet.RestSource.PowershellSupport.csp
roj : error NU1101: Unable to find package Microsoft.Cloud.InstrumentationFramework.NetStd. No packages exist with this
id in source(s): Microsoft Visual Studio Offline Packages, NuGet.org [C:\Temp\winget-cli-restsource-main\src\WinG
et.RestSource.sln]
C:\Temp\winget-cli-restsource-main\src\WinGet.RestSource.IntegrationTest\WinGet.RestSource.IntegrationTest.csproj
: error NU1101: Unable to find package Microsoft.Cloud.InstrumentationFramework.NetStd. No packages exist with this id
in source(s): Microsoft Visual Studio Offline Packages, NuGet.org [C:\Temp\winget-cli-restsource-main\src\WinGet.R
estSource.sln]
C:\Temp\winget-cli-restsource-main\src\WinGet.RestSource\WinGet.RestSource.csproj : error NU1101: Unable to find p
ackage Microsoft.Cloud.InstrumentationFramework.NetStd. No packages exist with this id in source(s): Microsoft Visual S
tudio Offline Packages, NuGet.org [C:\Temp\winget-cli-restsource-main\src\WinGet.RestSource.sln]
C:\Temp\winget-cli-restsource-main\src\WinGet.RestSource.Utils\WinGet.RestSource.Utils.csproj : error NU1101: Unab
le to find package Microsoft.Cloud.InstrumentationFramework.NetStd. No packages exist with this id in source(s): Micros
oft Visual Studio Offline Packages, NuGet.org [C:\Temp\winget-cli-restsource-main\src\WinGet.RestSource.sln]
C:\Temp\winget-cli-restsource-main\src\WinGet.RestSource.Functions\WinGet.RestSource.Functions.csproj : error NU11
01: Unable to find package Microsoft.Cloud.InstrumentationFramework.NetStd. No packages exist with this id in source(s)
: Microsoft Visual Studio Offline Packages, NuGet.org [C:\Temp\winget-cli-restsource-main\src\WinGet.RestSource.sl
n]
C:\Temp\winget-cli-restsource-main\src\WinGet.RestSource.UnitTest\WinGet.RestSource.UnitTest.csproj : error NU1101
: Unable to find package Microsoft.Cloud.InstrumentationFramework.NetStd. No packages exist with this id in source(s):
Microsoft Visual Studio Offline Packages, NuGet.org [C:\Temp\winget-cli-restsource-main\src\WinGet.RestSource.sln]
Essentially, the two libraries that aren't publicly available aren't part of the primary functionality of the code, so I was able to remove the dependency on them.
Activity
zachcarp commentedon Jun 22, 2022
Dalton Keightey (@DaltonKeightley) - Thanks for letting us know about this. This is an issue we are actively investigating.
The short version is that we are required to use dev-ops package feeds, and at this time we have not been able to make the feed publicly accessible. As you have pointed out, the packages are public so you should be able to get it to build by updating your NuGet feeds to public endpoints (something we aren't able to do) to unblock yourself currently.
hancockl commentedon Aug 19, 2022
Zach Carpenter (@zachcarp) - I'm attempting to do the same steps as the OP, with your suggestion of pointing to my own NuGet feed from my own internal AzureDevops project. The NuGet source is happier, however I now receive the following errors:
Errors:
Error NU1504 - Duplicate 'PackageReference' items found. Remove the duplicate items or use the Update functionality to ensure a consistent restore behavior. The duplicate 'PackageReference' items are: Microsoft.WindowsPackageManager.Utils 0.3.4, Microsoft.WindowsPackageManager.Utils *.
Error MSB3073 - The command ""C:\temp\winget-cli-restsource-main\src\packages\bond.csharp\9.0.3\build..\tools\gbc.exe" c# --import-dir="C:\temp\winget-cli-restsource-main\src\packages\bond.csharp\9.0.3\build..\tools\inc" --jobs=-2 --namespace=bond=Bond --output-dir="obj/Debug/netstandard2.1/" @"obj/Debug/netstandard2.1/bonddefaultcodegen.in"" exited with code 1. Microsoft.WindowsPackageManager.Rest C:\temp\winget-cli-restsource-main\src\packages\bond.csharp\9.0.3\build\Common.targets 161
Error NU1101 - Unable to find package Microsoft.Cloud.InstrumentationFramework.NetStd. No packages exist with this id in source(s): WinGet_Feed
I tried commenting out one of the package references to resolve the first error. The second one I'm not sure about, and the third seems to be referencing a deprecated package.
Any help, or resources you could point me to to assist with this would be really appreciated. I'm very keen to get a private winget repo setup for my org, but this part is a little out of my area of expertise. Thanks!
kimi0230 commentedon Oct 3, 2022
Same error.
When I access https://pkgs.dev.azure.com/ms/winget-cli-restsource/_packaging/winget/nuget/v3/index.json
will return
F400813: The user xxxxx-xxx-x-x- is not authorized to access this resource.Is it not publicly available ?
How should I apply for an authorized account ?
I change NuGet
Package Sourcesfromhttps://pkgs.dev.azure.com/ms/winget-cli-restsource/_packaging/winget/nuget/v3/index.jsontohttps://api.nuget.org/v3/index.jsonWill show
* Error NU1101 - Unable to find package Microsoft.Cloud.InstrumentationFramework.NetStd. No packages exist with this id in source(s): WinGet_FeedThanks !!
idaence-dfi commentedon Dec 13, 2022
Same error.
I've tried to downgrade VS Studio from 2022 to 2019 .... Changed to Public Package Source, too.
Don't find any reference or documentation of this package?
Thanks and Regards,
Daniel
ElianeMegert commentedon Jan 12, 2023
same problem. No valid package source found for Microsoft.Cloud.InstrumentationFramework.NetStd. Where can we find the package?
jamie-oconnell commentedon Jun 12, 2023
Is there any further recommendations on this? The latest commit also uses Bond.Csharp 11 which isn't publicly available. Likewise Microsoft.Cloud.InstrumentationFramework.NetStd.
simpleprovider commentedon Jun 21, 2023
I still have the same issue. I miss two packages on the public feeds.
Any updates ? Thanks
RDMacLachlan commentedon Sep 11, 2023
Hi, there has been some work done recently that may have resolved this. Can someone confirm that this is still an issue?
mpeckatwork commentedon Sep 11, 2023
I can confirm it's still an issue. The package feed still requires a Microsoft login to access it and those two packages are still not publicly available (looks like the 2nd one should never be).
92flash commentedon Sep 14, 2023
I have tried to build the package today in Visual Studio 2022, but I also get the same error.
I got the error that Bond.CSharp could not be found, but I fixed this by altering the version from 11.0.0 to 10.0.0 as the highest available package at NuGet is 10.0.0 (though I don't know if this'll create problems later).
When I try to build it like this, at first I get the question to login to my Microsoft account a bunch of times, and then the error:
Unable to load the service index for source https://pkgs.dev.azure.com/ms/winget-cli-restsource/_packaging/winget/nuget/v3/index.json..If I remove the URL from the NuGet.config (as I also found an article online that suggested they got it working without the API URL), I then get the following error:
Unable to find package Microsoft.Cloud.InstrumentationFramework.NetStd. No packages exist with this id in source(s): winget.When I try to follow the URL, and sign in, I get the message
401 - Uh-oh, you do not have access., so I don't know if I need to create my own API URL on Azure somewhere or something?I've read somewhere else that removing the URL from the NuGet.config and then run the .net command
dotnet restorewill solve the build issue, and it will try to resolve the issues, but then I get a whole bunch of errors:mpeckatwork commentedon Nov 15, 2023
Wanted to share how I resolved this issue for my use case: https://github.com/mpeckatwork/winget-cli-restsource/pull/2/files
Essentially, the two libraries that aren't publicly available aren't part of the primary functionality of the code, so I was able to remove the dependency on them.
Roy (@RDMacLachlan) Zach Carpenter (@zachcarp)
mpeckatwork commentedon Apr 22, 2024
FYI - This issue was resolved for me with the changes in: 64cf1a8
yao-msft commentedon Jan 14, 2025
The nuget feed could be accessed from public and the issue should be resolved now. Closing this issue.