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

v1.2.3 nuget package malformed #5

Closed
ghost opened this issue Jul 19, 2013 · 6 comments
Closed

v1.2.3 nuget package malformed #5

ghost opened this issue Jul 19, 2013 · 6 comments
Assignees

Comments

@ghost
Copy link

ghost commented Jul 19, 2013

Using nuget.exe, not Visual Studio, version 1.2.3 nuget package cannot be installed. The dll and pdb seem to have an encoded path rather than being actually in a lib\net40 folder. If you open with Windows Explorer or 7zip this is easy to see. Or rename nupkg to .zip and extract. For reference v1.1.0 is fine.

@scott-xu scott-xu reopened this Jul 20, 2013
@ghost ghost assigned scott-xu Jul 20, 2013
@JustinMason
Copy link

Any plans on fixing the Nuget package so we can use NuGet to install this?

@scott-xu
Copy link
Owner

Will do it this weekend

@scott-xu
Copy link
Owner

@jdmgomoo @jci-trawicki I can't reproduce this issue. Can you please provide more details like screen shots?

@JustinMason
Copy link

To reproduce this I did the following steps.

Open a Command prompt and execute each line:

mkdir nugetTest
cd nugetTest
nuget install System.Web.Optimization.Less
cd System.Web.Optimization.Less.1.2.3
dir

I am seeing that the contents are still compressed into the package file:
System.Web.Optimization.Less.1.2.3.nupkg and the file System.Web.Optimization.Less.1.2.3.dll is not extracted into the lib/net40 directory.

If you change the extention on the System.Web.Optimization.Less.1.2.3.nupkg to ".zip"
and open it you will see the DLL name is the encoded and includes the folder names.
lib%5Cnet40%5CSystem.Web.Optimization.Less.dll

This should extract to lib/net40/.

The other package dependencies install correctly.
For example Microsoft.Web.Infrastructure.dll installs in the directory Microsoft.Web.Infrastructure.1.0.0.0\lib\net40

I hope that helps.

@scott-xu
Copy link
Owner

scott-xu commented Sep 1, 2013

@jdmgomoo
I did what exactly you commented and can't reproduce it. The dll is extracted into the lib/net40 directly.
Did you use the latest nuget.exe? what's your system locale setting?

@scott-xu
Copy link
Owner

scott-xu commented Sep 4, 2013

@scott-xu scott-xu closed this as completed Sep 4, 2013
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

2 participants