Update TypeCatalogParser for CoreConsoleHost removal

This commit is contained in:
Andrew Schwartzmeyer 2016-05-27 16:22:38 -07:00
parent 2dcdc13dff
commit e76a61e137

View file

@ -7,7 +7,7 @@ using Microsoft.DotNet.ProjectModel;
using Microsoft.DotNet.ProjectModel.Graph;
using Microsoft.Extensions.DependencyModel.Resolution;
namespace ConsoleApplication
namespace TypeCatalogParser
{
public class Program
{
@ -17,7 +17,7 @@ namespace ConsoleApplication
var outputPath = "../TypeCatalogGen/powershell.inc";
// Get a context for our top level project
var context = ProjectContext.Create("../Microsoft.PowerShell.CoreConsoleHost", NuGetFramework.Parse("netcoreapp1.0"));
var context = ProjectContext.Create("../powershell", NuGetFramework.Parse("netcoreapp1.0"));
System.IO.File.WriteAllLines(outputPath,
// Get the target for the current runtime