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

"double forward slashes in path" when uploading package #13957

Closed
bruno-garcia opened this issue Nov 24, 2024 · 1 comment
Closed

"double forward slashes in path" when uploading package #13957

bruno-garcia opened this issue Nov 24, 2024 · 1 comment

Comments

@bruno-garcia
Copy link

NuGet Product Used

dotnet.exe

Product Version

Happens on nuget.org

Worked before?

No response

Impact

I'm unable to use this version

Repro Steps & Context

When trying to upload Sentry's .NET SDK, 1 package fails NuGet validation.

Validation fails via the CLI as well as via nuget.org

image

I'm hitting this: https://github.com/NuGet/NuGetGallery/blob/0ec99618043ae7f7e54a3ed8fdbbb47acc5e30b1/src/NuGetGallery/Controllers/ApiController.cs#L567

But what's confusing to me is that the file that supposedly has double backslash is:

<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup>
    <ProguardConfiguration Include="$(MSBuildThisFileDirectory)..\..\proguard.cfg" />
  </ItemGroup>
</Project>

The difference is that we're packing with .NET 9 SDK on this release, instead of .NET 8.

When I see a package that worked (Sentry.Bindings.Android.4.12.1-segv1.zip
), built with .NET 8, the output has:
image

vs the new one, .NET 9 which fails to upload ( Sentry.Bindings.Android.5.0.0-alpha.0.zip):

image

Verbose Logs

No response

@bruno-garcia
Copy link
Author

Diff between versions did have change in packaging: getsentry/publish#4649 (comment)

We reverted that and will attempt a new release. I'll close this as it's very likely related to that

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

No branches or pull requests

1 participant