mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Fix TypeGen with the new layout
This commit is contained in:
1 parent
e97af44674
commit
4450005a52
2 files changed
+2
-7
No files matched your search
@@ -13,11 +13,6 @@ namespace TypeCatalogParser
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
if (args.Length != 1)
|
||||
{
|
||||
throw new ArgumentException("Usage: ./TypeCatalogParser ../powershell-sdk");
|
||||
}
|
||||
|
||||
// These are packages that are not part of .NET Core and must be excluded
|
||||
string[] excludedPackages = {
|
||||
"Microsoft.Management.Infrastructure",
|
||||
@@ -30,7 +25,7 @@ namespace TypeCatalogParser
|
||||
var outputPath = "../TypeCatalogGen/powershell.inc";
|
||||
|
||||
// Get a context for our top level project
|
||||
var context = ProjectContext.Create(args[0], NuGetFramework.Parse("netcoreapp1.0"));
|
||||
var context = ProjectContext.Create("../Microsoft.PowerShell.SDK", NuGetFramework.Parse("netstandard1.6"));
|
||||
|
||||
System.IO.File.WriteAllLines(outputPath,
|
||||
// Get the target for the current runtime
|
||||
|
||||
Reference in new issue
Block a user