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

Add known issue for .NET tool restore in .NET 8 RC2 #8799

Closed
wants to merge 1 commit into from

Conversation

dsplaisted
Copy link
Member

No description provided.

at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at NuGet.ProjectModel.LockFileFormat.Write(String filePath, LockFile lockFile)
at Microsoft.DotNet.Cli.ToolPackage.ToolPackageDownloader.CreateAssetFile(PackageId packageId, NuGetVersion version, DirectoryPath packagesRootPath, DirectoryPath assetFileDirectory, String runtimeJsonGraph, String targetFramework) in C:\git\dotnet-sdk-8\src\Cli\dotnet\ToolPackage\ToolPackageDownloader.cs:line 329
at Microsoft.DotNet.Cli.ToolPackage.ToolPackageDownloader.<>c__DisplayClass8_0.<InstallPackage>b__0() in C:\git\dotnet-sdk-8\src\Cli\dotnet\ToolPackage\ToolPackageDownloader.cs:line 130
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have any standard policy around normalizing paths in error text we include? The path is pretty generic but looks like a local git repo.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deterministic builds would result in cutting off the prefix portion of the path and replacing it with /_/ - so we could do that here. Replace all of the c:\git\dotnet-sdk-8 with /_/ and call it good.

Alternatively for purposes of this text we could just remove the paths entirely.

@dsplaisted
Copy link
Member Author

Closing in favor of #8811

@dsplaisted dsplaisted closed this Oct 11, 2023
@richlander richlander deleted the dsplaisted-rc2-tool-restore-known-issue branch February 15, 2024 17:24
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

Successfully merging this pull request may close these issues.

3 participants