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

Write "path" for package libaries in the project.lock.json #523

Merged
merged 1 commit into from Apr 25, 2016

Conversation

joelverhagen
Copy link
Member

Step _#_1 of NuGet/Home#2522.

This adds a new property to package type libraries. Suppose you have an asset lib/net45/foo.dll in a package with ID PackageA and version 1.0.0 and a global packages folder of C:\Users\jver\.nuget\packages. The absolute path to that DLL on Windows should be:

C:\Users\jver\.nuget\packages\PackageA\1.0.0\lib\net45\foo.dll

PackageA/1.0.0 will be the value of this new path property.

@emgarten @yishaigalatzer @davidfowl

@@ -12240,6 +12240,7 @@
"Microsoft.CSharp/4.0.0": {
"sha512": "oWqeKUxHXdK6dL2CFjgMcaBISbkk+AqEg+yvJHE4DElNzS4QaTsCflgkkqZwVlWby1Dg9zo9n+iCAMFefFdJ/A==",
"type": "package",
"path": "Microsoft.CSharp/4.0.0",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an example of what it looks like, in the context of a lock file.

@emgarten
Copy link
Member

LGTM :shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants