Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

dnu publish PrunePackages function deletes every file #1832

Closed
timmydo opened this issue May 10, 2015 · 2 comments
Closed

dnu publish PrunePackages function deletes every file #1832

timmydo opened this issue May 10, 2015 · 2 comments
Assignees
Milestone

Comments

@timmydo
Copy link

timmydo commented May 10, 2015

I'm not sure how the path separators got mixed up, but a string equal compare is probably a risky way to compare file names...

Example:

dnu publish . --out C:\tmp\testout

From keep list: C:\tmp\testout\approot\packages\Microsoft.AspNet.Loader.IIS\1.0.0-beta5-11747\lib/dnx451/Microsoft.AspNet.Loader.IIS.dll

Delete file: C:\tmp\testout\approot\packages\Microsoft.AspNet.Loader.IIS\1.0.0-beta5-11747\lib\dnx451\Microsoft.AspNet.Loader.IIS.dll

as a result, all the DLLs were stripped out of my publish.

@davidfowl #1712

@davidfowl
Copy link
Member

Might just be a lock file issue

@davidfowl davidfowl added this to the 1.0.0-beta5 milestone May 10, 2015
@davidfowl davidfowl self-assigned this May 10, 2015
@timmydo
Copy link
Author

timmydo commented May 10, 2015

Yeah, looks like the lock file uses forward slashes

davidfowl added a commit that referenced this issue May 11, 2015
- Fix slash resolution for lock file
- Skip running events when generating lock file after copy

#1839 #1832 #1833
davidfowl added a commit that referenced this issue May 11, 2015
- Fix slash resolution for lock file
- Skip running events when generating lock file after copy

#1839 #1832 #1833
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants