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

Commit

Permalink
GAC assemblies can be left unresolved when restoring
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfowl committed Oct 5, 2014
1 parent c4186f1 commit 0088654
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ private async Task<bool> RestoreForProject(string projectJsonPath, string rootDi
}
if (node.Item == null || node.Item.Match == null)
{
if (node.Library.Version != null && missingItems.Add(node.Library))
if (!node.Library.IsGacOrFrameworkReference &&
node.Library.Version != null &&
missingItems.Add(node.Library))
{
Reports.Information.WriteLine(string.Format("Unable to locate {0} >= {1}", node.Library.Name.Red().Bold(), node.Library.Version));
success = false;
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Framework.PackageManager/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@
},

"scripts": {
"postbuild": "xcopy /F /Y /I bin\\Debug\\net45\\*.dll ..\\..\\artifacts\\build\\KRE-CLR-x86\\bin"
"postbuild": "xcopy /F /Y /I bin\\Debug\\net45\\*.* ..\\..\\artifacts\\build\\KRE-CLR-x86\\bin"
}
}

0 comments on commit 0088654

Please sign in to comment.