Commit Graph
41 Commits
Author SHA1 Message Date
Dongbo Wang 8bb291896c Change 'Platform.XDG_Type' and 'Platform.SelectProductNameForDirectory' back to 'public'
Add CI tests for the module path change
2016-08-11 21:45:20 -07:00
Dongbo Wang 753b202a75 Fix tests that were broken by the sxs module path change. Also fix some unreliable tests. 2016-08-11 21:45:20 -07:00
Dongbo Wang 896577e285 update linux path doc 2016-08-11 21:45:20 -07:00
Dongbo Wang c27b4db3ac Change runtime check to build check because 'Platform.XDG_Type' and 'Platform.SelectProductNameForDirectory' are make unix only 2016-08-11 21:36:48 -07:00
Dongbo Wang 07f9fefee8 Add the shared module path to unix (counterpart of 'Program Files\PowerShell\Modules').
Also make 'Platform.XDG_Type' and 'Platform.SelectProductNameForDirectory' unix build only, as they doesn't apply to windows.
2016-08-11 21:36:48 -07:00
Dongbo Wang 3ff19e1d80 Update module path calculation logic to support side-by-side.
Use 'Path.PathSeparator' instead of ';' to separate paths, so that it uses ';' on windows and ':' on unix.
Also refactor some code as part of the change.
2016-08-11 21:36:48 -07:00
Dongbo Wang 76ca7e5f52 Update to depend on Newtonsoft.Json.9.0.1 2016-08-11 11:43:31 -07:00
Dongbo Wang e0b44475b0 Update project.json to depend on Microsoft.NETCore.Runtime.CoreCLR.1.0.4
This new package contains 2 fixes that will unblock powershell remoting for windows OPS
2016-08-11 11:28:18 -07:00
Dongbo Wang dc9b326587 Fix issue #1609 - Get-PSSession -computername fails on nano
Root cause: Microsoft.WSMan.Management  and  Microsoft.PowerShell.Commands.Diagnostics  are not put in the default snapin list for win-ops, and thus when a runspace is created using RunspaceConfiguration, those 2 are not loaded as snapins by default, which is a behavior change compared to Nano PS.
Fix: Replace the guard 'PORTABLE' to be 'UNIX' so that they are in the default snapin list when targeting windows platform.
2016-08-05 11:20:14 -07:00
Dongbo Wang 43bda97c98 Make the assembly version of AssemblyLoadContext.dll to be 3.0.0.0, so that the ALC.dll from OPS can work with existing native hosts in NanoServer 2016-08-04 10:43:57 -07:00
Dongbo Wang 14433e6b1f Update project.json files to keep sync with the new MMI nuget package 2016-07-28 17:07:57 -07:00
Dongbo Wang 7a1c81e1f4 Update and clean up module files in Core/Full/Shared folders 2016-07-11 11:26:49 -07:00
Dongbo Wang 81b92583e1 Fix #682 - [system.manage<Tab>] doesn't work 2016-07-08 14:18:20 -07:00
Dongbo Wang da7f6ba3b2 Move the most recent changes about the ALC from SD to Github 2016-07-08 14:18:20 -07:00
Dongbo Wang 436b5c9f27 Exclude the P/invoke code that is not supposed to be in CoreCLR build 2016-07-08 14:18:20 -07:00
Dongbo Wang 704f320eff Add 'TraceCommandStrings.resx' back to CoreCLR build. TraceCommand cmdlets have been ported in Github. 2016-07-07 09:54:30 -07:00
Dongbo Wang 15fbd76df8 Exclude the unneeded gen/*.cs files from the build for each target framework 2016-07-07 09:32:21 -07:00
Dongbo Wang 731797c9e6 Add map.json file under the 'test' folder to track the tests that were moved 2016-07-06 15:56:47 -07:00
Dongbo Wang c1d9316a3c Disable 3 FileCatalog tests. They fail in CoreCLR OPS on AppVeyor build VM (Windows Server 2012R2), though they always pass on Windows 10 2016-07-06 15:08:51 -07:00
Dongbo Wang c502b31509 Exclude the TimeZone/Computer/FileCatalog cmdlets for Linux. They use windows specific Win32 APIs 2016-07-06 13:04:51 -07:00
Dongbo Wang b4641986a2 Update project.json files to exclude certain .resx files for each target framework 2016-07-06 13:04:31 -07:00
Dongbo Wang b4089414de Add back missing files to OPS -- map.json/project.json udpates 2016-07-05 16:18:24 -07:00
Dongbo Wang 297eda9721 Filter Assembly.Load requests to let the default context load TPAs 2016-06-29 09:50:41 -07:00
Dongbo Wang 03c99586a4 Update ALC to work in publish scenario 2016-06-28 18:31:38 -07:00
Dongbo Wang ca28391b38 Fix it for 'dotnet build' scenario 2016-06-28 18:31:38 -07:00
Dongbo Wang 66dcd00d93 Make AssemblyLoadContext a singleton and refactor 2016-06-28 18:31:38 -07:00
Dongbo Wang 456a571d24 Bump the version of dependent WsMan.Mgmt nuget package to 1.0.1-rc1 2016-06-21 22:12:13 -07:00
Dongbo Wang 12c5094a69 Update build.psm1 to use the same MSBuild checking logic 2016-06-21 16:54:57 -07:00
Dongbo Wang 6adbda9c37 Add project.json files for Activities.dlls 2016-06-21 15:25:24 -07:00
Dongbo Wang a9d8ea89df Add map.json files for Activities.dlls 2016-06-21 15:19:34 -07:00
Dongbo Wang 8fbedbd9ad Update build.psm1 to add Resolve-Xaml function because 'Microsoft.PowerShell.Activities' depends on .xaml files. 2016-06-21 15:19:34 -07:00
Dongbo Wang a779d92fba Bump windows-build submodule version for including CimCmdlets nuget package 2016-06-17 14:57:17 -07:00
Dongbo Wang eae26dc0fa Add test to verify that a simple workflow can run 2016-06-17 14:54:54 -07:00
Dongbo Wang da69dc921f Update project.json for Microsoft.PowerShell.ConsoleHost to depend on Microsoft.PowerShell.Workflow.ServiceCore 2016-06-17 14:54:54 -07:00
Dongbo Wang 16c2c292a7 Add project.json for Microsoft.PowerShell.Workflow.ServiceCore 2016-06-17 14:53:09 -07:00
Dongbo Wang de058e096a Add map.json for Microsoft.PowerShell.Workflow.ServiceCore 2016-06-17 14:53:09 -07:00
Dongbo Wang cae7b925a1 Bump windows-build submodule version for LocalAccounts 2016-06-14 17:04:58 -07:00
Dongbo Wang 1829beb917 Fix map.json for LocalAccounts 2016-06-14 16:59:38 -07:00
Dongbo Wang d33cb11439 Update project.json files to build Microsoft.PowerShell.LocalAccounts 2016-06-14 16:56:05 -07:00
Dongbo Wang e64773d446 Add map.json for LocalAccounts 2016-06-14 16:55:46 -07:00
Dongbo Wang 69769cede7 Fix build.psm1 to account for LocalAccount dll 2016-06-14 16:53:30 -07:00