arg.js icon indicating copy to clipboard operation
arg.js copied to clipboard

NuGet: Wrong target path 'js'

Open bitflower opened this issue 10 years ago • 4 comments

After installing with NuGet the 2 files are placed inside the path 'js'.

It should be "scripts" though.

bitflower avatar Nov 27 '15 19:11 bitflower

I found that the scripts versus js folder was inconsistent across packages on NuGet. Did the community converge on scripts? Can you provide a link on some documentation on a standard for this? I googled around a bit for it and it was still unclear.

I added the nuspec package when I was working for a different employer. I don't use Windows/Visual Studio at all anymore so I'm a bit out of touch. Thanks for this.

I just created a release_1-4 branch that can include this fix if we can make a choice on this one. Thanks.

MikeMayer avatar Nov 27 '15 20:11 MikeMayer

Hey Mike,

Well I have develop VS the last 6 years around half of my time and never has a NuGet Package installed a file into a folder called "js".

It was really like - damn - the package didn't work..

On the other hand no one has critized this. Hm.

bitflower avatar Nov 27 '15 22:11 bitflower

Yep. I have about that magnitude of experience with Visual Studio/Microsoft too. I don't feel strongly about this either way. I'll update the nuspec.

You'd like it to be 'Scripts/' right?

MikeMayer avatar Nov 27 '15 23:11 MikeMayer

Exacto! Thanks Mike

bitflower avatar Nov 27 '15 23:11 bitflower