Skip to content

Commit

Permalink
[Assets] Don't include package targets when evaluating project files
Browse files Browse the repository at this point in the history
  • Loading branch information
xen2 committed Nov 21, 2018
1 parent 5f5e668 commit 15ea506
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private async Task PreLoadPackageDependencies(ILogger log, SolutionProject proje
// Load some informations about the project
try
{
var msProject = VSProjectHelper.LoadProject(project.FullPath, extraProperties: new Dictionary<string, string> { { "SkipInvalidConfigurations", "true" } });
var msProject = VSProjectHelper.LoadProject(project.FullPath, extraProperties: new Dictionary<string, string> { { "SkipInvalidConfigurations", "true" }, { "ExcludeRestorePackageImports", "true" } });
try
{
var packageVersion = msProject.GetPropertyValue("PackageVersion");
Expand Down

0 comments on commit 15ea506

Please sign in to comment.