Skip to content
Permalink
Browse files

[Assets] Don't try to load vcxproj as package

  • Loading branch information
xen2 committed Dec 1, 2018
1 parent 13ba08c commit 303cf2421482d7b33cd78803e4afecf03532325d
Showing with 2 additions and 1 deletion.
  1. +2 −1 sources/assets/Xenko.Core.Assets/PackageSession.Dependencies.cs
@@ -295,7 +295,8 @@ private async Task PreLoadPackageDependencies(ILogger log, SolutionProject proje
switch (projectDependency.Type)
{
case DependencyType.Project:
file = UPath.Combine(project.FullPath.GetFullDirectory(), (UFile)projectDependency.MSBuildProject);
if (Path.GetExtension(projectDependency.MSBuildProject).ToLowerInvariant() == ".csproj")
file = UPath.Combine(project.FullPath.GetFullDirectory(), (UFile)projectDependency.MSBuildProject);
break;
case DependencyType.Package:
file = PackageStore.Instance.GetPackageFileName(projectDependency.Name, new PackageVersionRange(projectDependency.Version), constraintProvider);

0 comments on commit 303cf24

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