Skip to content

[dotnet-pgo] Internal packaging issue with dotnet-pgo 10.0.0-* packages #115048

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

Closed
ivanpovazan opened this issue Apr 25, 2025 · 6 comments
Closed

Comments

@ivanpovazan
Copy link
Member

Description

When trying to install 10.0.0-* version of dotnet-pgo tool, the installation fails due to missing DotnetToolSettings.xml file:

dotnet tool install -g dotnet-pgo --version 10.0.0-preview.4.25223.119 --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10-transport/nuget/v3/index.json
Tool 'dotnet-pgo' failed to update due to the following:
The settings file in the tool's NuGet package is invalid: Settings file 'DotnetToolSettings.xml' was not found in the package.
Tool 'dotnet-pgo' failed to install. Contact the tool author for assistance.

This seems like a regression as installing 9.0.1.* version completes successfully:

dotnet tool install -g dotnet-pgo --version 9.0.1-rtm.24576.8 --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9-transport/nuget/v3/index.json
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Apr 25, 2025
Copy link
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

@ViktorHofer
Copy link
Member

@ivanpovazan are you sure this belong in area-infrastructure?

@ViktorHofer
Copy link
Member

I think this needs to be placed into a feature area. Not sure who owns that package.

@ivanpovazan
Copy link
Member Author

@ViktorHofer I wasn't sure what is the right label and assumed infrastructure as it is an internal package.
Seems like code issues get assigned with: area-crossgen2-coreclr, so will use the same label.
Feel free to correct it.

@jkotas
Copy link
Member

jkotas commented Apr 25, 2025

This error means that you do not have the right .NET version installed. dotnet/sdk#38172 is about that.

You need to have .NET 10 installed to install and use .NET 10 tools.

It works fine to me with .NET 10 installed:

C:\>dotnet tool install -g dotnet-pgo --version 10.0.0-preview.4.25223.119 --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10-transport/nuget/v3/index.json
You can invoke the tool using the following command: dotnet-pgo
Tool 'dotnet-pgo' (version '10.0.0-preview.4.25223.119') was successfully installed.

C:\>dotnet --list-sdks
9.0.105 [C:\Program Files\dotnet\sdk]
9.0.203 [C:\Program Files\dotnet\sdk]
10.0.100-preview.3.25177.4 [C:\Program Files\dotnet\sdk]

@jkotas jkotas closed this as completed Apr 25, 2025
@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Apr 25, 2025
@ivanpovazan
Copy link
Member Author

Thanks for the clarification!

@github-actions github-actions bot locked and limited conversation to collaborators May 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

3 participants