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

File name with '@' is wrongly included in NuGet package when calling NuGet pack #2389

Closed
chrischu opened this issue Mar 24, 2016 · 4 comments

Comments

@chrischu
Copy link

I ran into a problem when creating a NuGet package out of my project with NuGet pack and supplying it with my csproj file.

My package references the bootstrap.chosen package which contains (among other things) two images: chosen-sprite.png and chosen-sprite@2x.png. When calling NuGet pack with my project the chosen-sprite.png file is correctly detected as not having changed and is therefore not included in the created NuGet package.

However, the chosen-sprite@2x.png apparently is detected as having changed (although it surely hasn't, I even tried copying the file again directly from the bootstrap.chosen package without success) and is therefore wrongly included in the NuGet package. Additionally the file is not included as chosen-sprite@2x.png, but as chosen-sprite%25402x.png, so it looks like the file name is also being URL-encoded twice (@ => %40 => %2540).

Oh btw: I used NuGet.exe in version 3.3 to create my NuGet package.

@emgarten
Copy link
Member

@toddm does this repro with the latest bits?

@toddm
Copy link

toddm commented Mar 31, 2016

This does still repro. I'll debug it to figure out a fix.

@toddm
Copy link

toddm commented Apr 1, 2016

Fixed in Dev.

@drauch
Copy link

drauch commented Jan 3, 2018

Has this been released in the meantime?

@drauch drauch unassigned toddm Jan 3, 2018
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

4 participants