Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions build.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/cmdlet-example/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"netstandard1.3": {
"imports": [ "net40" ],
"dependencies": {
"Microsoft.NETCore": "5.0.1-rc2-24027",
"Microsoft.NETCore.Portable.Compatibility": "1.0.1-rc2-24027"
"Microsoft.NETCore": "5.0.1",
"Microsoft.NETCore.Portable.Compatibility": "1.0.1"
}
}
}
Expand Down
5 changes: 0 additions & 5 deletions nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
</config>
<packageSources>
<clear />
<add key="CI Builds (dotnet-core)" value="https://www.myget.org/F/dotnet-core/api/v3/index.json" />
<add key="CI Builds (dotnet-cli)" value="http://myget.org/F/dotnet-cli/api/v3/index.json" />
<add key="CI Builds (NuGet)" value="https://www.myget.org/F/nugetbuild/api/v3/index.json" />
<add key="CI Builds (xUnit)" value="https://www.myget.org/F/coreclr-xunit/api/v3/index.json" />
<add key="CI Builds (aspnetcidev)" value="http://myget.org/F/aspnetcidev/api/v3/index.json" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="appveyor-psl-windows-build" value="https://ci.appveyor.com/nuget/psl-windows-build-buunqeauqyp5" />
</packageSources>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
}
},

"netstandard1.5": {
"netstandard1.6": {
"imports": ["dnxcore50"],
"buildOptions": {
"define": ["CORECLR"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
}
},

"netstandard1.5": {
"netstandard1.6": {
"imports": ["dnxcore50"],
"buildOptions": {
"define": ["CORECLR"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
}
},

"netstandard1.5": {
"netstandard1.6": {
"imports": ["dnxcore50"],
"buildOptions": {
"define": ["CORECLR"]
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.PackageManagement.NuGetProvider/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
}
},

"netstandard1.5": {
"netstandard1.6": {
"imports": ["dnxcore50"],
"buildOptions": {
"define": ["CORECLR"],
Expand All @@ -63,7 +63,7 @@
}
},
"dependencies": {
"System.Linq.Parallel": "4.0.1-rc2-24027"
"System.Linq.Parallel": "4.0.1"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
}
},

"netstandard1.5": {
"netstandard1.6": {
"imports": ["dnxcore50"],
"buildOptions": {
"define": ["CORECLR"],
Expand All @@ -64,7 +64,7 @@
}
},
"dependencies": {
"System.Linq.Parallel": "4.0.1-rc2-24027"
"System.Linq.Parallel": "4.0.1"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.PackageManagement/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
}
},

"netstandard1.5": {
"netstandard1.6": {
"imports": [ "dnxcore50" ],
"buildOptions": {
"define": [ "CORECLR" ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ internal static string SecureStringToString(SecureString secure)
#if !CORECLR
Marshal.ZeroFreeGlobalAllocUnicode(value);
#else
SecureStringMarshal.ZeroFreeCoTaskMemUnicode(value);
Marshal.ZeroFreeCoTaskMemUnicode(value);
#endif
}
}
Expand Down Expand Up @@ -250,4 +250,4 @@ internal static HttpClient GetHttpClientHelper(string username, SecureString pas
}

}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"System.Management.Automation": "1.0.0-*"
},
"frameworks": {
"netstandard1.5": {
"netstandard1.6": {
"imports": [
"dnxcore50"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ internal void Copy(SecureString source, int offset)
}
finally
{
ClrFacade.ZeroFreeCoTaskMemUnicode(plainTextString);
Marshal.ZeroFreeCoTaskMemUnicode(plainTextString);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2574,7 +2574,7 @@ private Process StartWithCreateProcess(ProcessStartInfo startinfo)
{
if (password != IntPtr.Zero)
{
ClrFacade.ZeroFreeCoTaskMemUnicode(password);
Marshal.ZeroFreeCoTaskMemUnicode(password);
}
}
}//end of if
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2230,7 +2230,7 @@ protected override void BeginProcessing()
{
if (IntPtr.Zero != password)
{
ClrFacade.ZeroFreeCoTaskMemUnicode(password);
Marshal.ZeroFreeCoTaskMemUnicode(password);
}

if (IntPtr.Zero != hService)
Expand Down
6 changes: 3 additions & 3 deletions src/Microsoft.PowerShell.Commands.Management/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},

"frameworks": {
"netstandard1.5": {
"netstandard1.6": {
"imports": [ "dnxcore50" ],
"buildOptions": {
"define": [ "CORECLR" ],
Expand Down Expand Up @@ -45,8 +45,8 @@
}
},
"dependencies": {
"System.ServiceProcess.ServiceController": "4.1.0-rc2-24027",
"System.Net.NameResolution": "4.0.0-rc2-24027"
"System.ServiceProcess.ServiceController": "4.1.0",
"System.Net.NameResolution": "4.0.0"
}
},
"net451": {
Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.PowerShell.Commands.Utility/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},

"frameworks": {
"netstandard1.5": {
"netstandard1.6": {
"buildOptions": {
"define": [ "CORECLR" ],
"compile": {
Expand Down Expand Up @@ -62,7 +62,7 @@
"dependencies": {
"Microsoft.CodeAnalysis.CSharp": "1.1.1",
"Newtonsoft.Json": "8.0.2",
"System.Diagnostics.TextWriterTraceListener": "4.0.0-rc2-24027"
"System.Diagnostics.TextWriterTraceListener": "4.0.0"
}
},
"net451": {
Expand Down
6 changes: 3 additions & 3 deletions src/Microsoft.PowerShell.ConsoleHost/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
},

"frameworks": {
"netstandard1.5": {
"netstandard1.6": {
"imports": [ "dnxcore50", "portable-net45+win8" ],
"buildOptions": {
"define": [ "CORECLR", "PORTABLE" ]
},
"dependencies": {
"Newtonsoft.Json": "8.0.2",
"System.Xml.XDocument": "4.0.11-rc2-24027",
"System.IO.MemoryMappedFiles": "4.0.0-rc2-24027"
"System.Xml.XDocument": "4.0.11",
"System.IO.MemoryMappedFiles": "4.0.0"
}
},
"net451": {
Expand Down
Loading