Update TypeCatalogParser for CoreConsoleHost removal
This commit is contained in:
parent
2dcdc13dff
commit
e76a61e137
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ using Microsoft.DotNet.ProjectModel;
|
||||||
using Microsoft.DotNet.ProjectModel.Graph;
|
using Microsoft.DotNet.ProjectModel.Graph;
|
||||||
using Microsoft.Extensions.DependencyModel.Resolution;
|
using Microsoft.Extensions.DependencyModel.Resolution;
|
||||||
|
|
||||||
namespace ConsoleApplication
|
namespace TypeCatalogParser
|
||||||
{
|
{
|
||||||
public class Program
|
public class Program
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,7 @@ namespace ConsoleApplication
|
||||||
var outputPath = "../TypeCatalogGen/powershell.inc";
|
var outputPath = "../TypeCatalogGen/powershell.inc";
|
||||||
|
|
||||||
// Get a context for our top level project
|
// 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,
|
System.IO.File.WriteAllLines(outputPath,
|
||||||
// Get the target for the current runtime
|
// Get the target for the current runtime
|
||||||
|
|
Loading…
Reference in a new issue