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 dot in file src in .nuspec doesn't work #2947

Closed
kkostrzewa opened this Issue Jun 10, 2016 · 5 comments

Comments

Projects
None yet
4 participants
@kkostrzewa

kkostrzewa commented Jun 10, 2016

nuget.exe 3.4.3.855

When I create a .nuspec file with file entries with src composed of .. paths, the files will not embed into the generated .nupkg, but will not report as errors.

The attached
nuget_bug_relpath.zip

demonstrates the problem.

nuget pack -verbosity detailed
will not display any errors, but it will not embed the
<file src="subdir\..\foo.txt" target="lib\" />
file

@rrelyea

This comment has been minimized.

Show comment
Hide comment
@rrelyea

rrelyea Jun 10, 2016

Contributor

Can you please try nuget.exe v3.4.4 (http://dist.nuget.org/index.html) - do you still see the problem?

Contributor

rrelyea commented Jun 10, 2016

Can you please try nuget.exe v3.4.4 (http://dist.nuget.org/index.html) - do you still see the problem?

@rrelyea rrelyea added the Area: Pack label Jun 10, 2016

@rrelyea rrelyea added this to the 3.4.5 milestone Jun 10, 2016

@rrelyea rrelyea added the Type:Bug label Jun 10, 2016

@kkostrzewa

This comment has been minimized.

Show comment
Hide comment
@kkostrzewa

kkostrzewa Jun 10, 2016

nuget.exe v3.4.4.1321 still shows the problem

kkostrzewa commented Jun 10, 2016

nuget.exe v3.4.4.1321 still shows the problem

@toddm

This comment has been minimized.

Show comment
Hide comment
@toddm

toddm Jun 10, 2016

It works for me in Dev and the latest 3.5.0-beta2 build but not in 3.4.5.

toddm commented Jun 10, 2016

It works for me in Dev and the latest 3.5.0-beta2 build but not in 3.4.5.

@rrelyea

This comment has been minimized.

Show comment
Hide comment
@rrelyea

rrelyea Jun 10, 2016

Contributor

after we finish b2 validation, please port to 3.4.5

Contributor

rrelyea commented Jun 10, 2016

after we finish b2 validation, please port to 3.4.5

@rrelyea rrelyea modified the milestones: 3.5 Beta3, 3.4.5 Jun 15, 2016

@joelverhagen joelverhagen self-assigned this Jun 30, 2016

@joelverhagen

This comment has been minimized.

Show comment
Hide comment
@joelverhagen

joelverhagen Jun 30, 2016

Member

Hey @kkostrzewa, it looks like this is fixed in our latest release of nuget.exe, which is version 3.5.0-beta2. You can download it from https://dist.nuget.org/index.html, or with this direct link:
https://dist.nuget.org/win-x86-commandline/v3.5.0-beta2/NuGet.exe

If your issue still persists, please feel free to comment back and re-open this issue. Thanks!

Member

joelverhagen commented Jun 30, 2016

Hey @kkostrzewa, it looks like this is fixed in our latest release of nuget.exe, which is version 3.5.0-beta2. You can download it from https://dist.nuget.org/index.html, or with this direct link:
https://dist.nuget.org/win-x86-commandline/v3.5.0-beta2/NuGet.exe

If your issue still persists, please feel free to comment back and re-open this issue. Thanks!

@joelverhagen joelverhagen modified the milestones: 3.5 Beta2, 3.5 RTM Jun 30, 2016

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