Skip to content
Permalink
Browse files

[Assets] Don't include package targets when evaluating project files

  • Loading branch information
xen2 committed Nov 21, 2018
1 parent 5f5e668 commit 15ea5060978a1c78cef840c999197c164d80cbcf
Showing with 1 addition and 1 deletion.
  1. +1 −1 sources/assets/Xenko.Core.Assets/PackageSession.Dependencies.cs
@@ -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");

0 comments on commit 15ea506

Please sign in to comment.
You can’t perform that action at this time.