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

NuGetOuputDirectory - NuGet.exe pack -outputdir doesn't like trailing slashes #13

Closed
dazinator opened this issue May 2, 2015 · 0 comments
Assignees
Labels

Comments

@dazinator
Copy link
Owner

The msbuild property for the NuGet pack output directory is set:

$(SolutionDir)

however this has a trailing slash that causes NuGet.exe pack command to fall over when passing it through as the outputdir argument.

The solution is the trim the trailing slash:

$(SolutionDir.TrimEnd(''))

This problem with NuGet was recorded here: https://nuget.codeplex.com/workitem/901

@dazinator dazinator added the bug label May 2, 2015
@dazinator dazinator self-assigned this May 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant