Skip to content
Permalink
Browse files

[Assets] Also support loading sln with new csproj Guid

  • Loading branch information
xen2 committed Sep 20, 2018
1 parent dc4ef28 commit 2f446a3bb1e8f62a1d79ac0eee2c18ffca8253d8
@@ -779,7 +779,7 @@ public static void Load(string filePath, PackageSessionResult sessionResult, Pac

foreach (var vsProject in solution.Projects)
{
if (vsProject.TypeGuid == VisualStudio.KnownProjectTypeGuid.CSharp)
if (vsProject.TypeGuid == VisualStudio.KnownProjectTypeGuid.CSharp || vsProject.TypeGuid == VisualStudio.KnownProjectTypeGuid.CSharpNewSystem)
{
var project = (SolutionProject)session.LoadProject(sessionResult, vsProject.FullPath, false, loadParameters);
project.VSProject = vsProject;
@@ -37,5 +37,6 @@ public static class KnownProjectTypeGuid
public static readonly Guid VisualC = new Guid("8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942");
public static readonly Guid Setup = new Guid("54435603-DBB4-11D2-8724-00A0C9A8B90C");
public static readonly Guid WebProject = new Guid("E24C65DC-7377-472B-9ABA-BC803B73C61A");
public static readonly Guid CSharpNewSystem = new Guid("9A19103F-16F7-4668-BE54-9A1E7A4F7556");
}
}

0 comments on commit 2f446a3

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