Merge pull request #1210 from PowerShell/andschwa/rtm

Update PowerShell to use .NET Core 1.0
This commit is contained in:
Andy Schwartzmeyer authored and GitHub committed 2016-06-28 14:37:20 -07:00
commit b294a46d2e
43 files changed
+117 -3157

No files matched your search

-7
View File
@@ -916,18 +916,12 @@ function Start-TypeGen
[CmdletBinding()]
param()
if (!$IsWindows)
{
throw "Start-TypeGen is not supported on non-windows. Use src/TypeCatalogGen/build.sh instead"
}
# Add .NET CLI tools to PATH
Find-Dotnet
Push-Location "$PSScriptRoot/src/TypeCatalogParser"
try
{
dotnet restore -v Warning
dotnet run
}
finally
@@ -938,7 +932,6 @@ function Start-TypeGen
Push-Location "$PSScriptRoot/src/TypeCatalogGen"
try
{
dotnet restore -v Warning
dotnet run ../Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/CorePsTypeCatalog.cs powershell.inc
}
finally