Jason Shirk (POWERSHELL)
673dd2c355
Change preprocessor macro LINUX to UNIX
2016-07-22 10:49:45 -07:00
Andrew Schwartzmeyer
790a07222e
Disable some XML documentation warnings
...
Some projects have more warnings than I can fix.
2016-07-18 19:07:32 -07:00
Andrew Schwartzmeyer
b6f26ad7cc
Enable XML documentation generation
...
This is enabled for PowerShell projects, but not PackageManagment,
WSMan, Cim, or MMI.
2016-07-18 18:40:42 -07:00
Sergei Vorobev
58de8914b1
Downgrade Microsoft.WSMan.Management dependency so we can use the one from sources
2016-07-14 13:46:29 -07:00
Andrew Schwartzmeyer
2abe461992
Refactor to use GetUserFromPid
2016-07-13 15:46:25 -07:00
Andrew Schwartzmeyer
e6d3cbcce0
Implement Get-Process -IncludeUserName for Linux
...
So much plumbing. The correct way to identify the owner of a process on
Linux is to get the owner of the /proc/<PID> file. However, .NET Core
has no API to get this information, thus it had to be plumbed through to
the native library.
2016-07-13 15:46:25 -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
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
PowerShell Team
49fea9dac9
Add missing files for OPS [SD:717473]
2016-07-06 13:03:56 -07:00
Dongbo Wang
b4089414de
Add back missing files to OPS -- map.json/project.json udpates
2016-07-05 16:18:24 -07:00
Jason Shirk (POWERSHELL)
efc83bbaa2
Add csproj files and sln for editing but not building
2016-07-05 10:27:41 -07:00
Jason Shirk (POWERSHELL)
4269398379
Fix Split-Path -NoQualifier for Unix paths
2016-06-30 12:59:04 -07:00
Jason Shirk (POWERSHELL)
bfc5b7e836
Revert Unix specific Split-Path -Qualifier code
...
The -Qualifier code for Split-Path made some incorrect assumptions:
* That a path only referred to the file system
* That drives cannot be used on Unix systems
These assumptions were both wrong, so I've reverted the change so we
do not have any Unix specific code in Split-Path now.
Fixes #1176
2016-06-29 14:12:29 -07:00
Andrew Schwartzmeyer
2f892e8127
Use Marshal.ZeroFreeCoTaskMemUnicode
...
This removes the ClrFacade function of the same name as this API is in
.NET Core 1.0 Marhsal class, not SecureStringMarshal.
2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
000206ac90
Bump framework to netstandard1.6
...
This is required to use the new .NET Core RTM packages, specifically the
`IEnumerable Append` API.
2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
10ea1733e9
Update to .NET Core 1.0 packages
2016-06-27 15:30:47 -07:00
Sergei Vorobev
dfea5de391
Merge pull request #1172 from PowerShell/dongbo/bump_wsman_mgmt_version
...
Bump the version of dependent WsMan.Mgmt nuget package to 1.0.1-rc1
2016-06-22 00:14:22 -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
Sergei Vorobev
44be44e195
Revert GetComputerInfoCommand.cs to source-depot state
2016-06-21 19:02:28 -07:00
Dongbo Wang
6adbda9c37
Add project.json files for Activities.dlls
2016-06-21 15:25:24 -07:00
PowerShell Team
5f87828710
Copy ControlPanelItemCommand.cs from [SD:715912]
...
commit 77eda78
2016-06-20 15:29:51 -07:00
Sergei Vorobev
cafc4fe1d0
Add ControlPanelItemCommand.cs into map.json and exclude from build
2016-06-20 15:29:51 -07:00
Sergei Vorobev
299d7798ce
Merge pull request #1136 from PowerShell/vors/scheduledjobs
...
PSScheduledJobs Module
2016-06-17 11:26:24 -07:00
PowerShell Team
838ad202fa
Add missed resx file from [SD:715912] commit 77eda78
2016-06-17 06:24:57 -07:00
Sergei Vorobev
c0db699e83
Add missed resx file into map.json
2016-06-17 06:24:12 -07:00
Sergei Vorobev
713ddfdf05
Remove authors section from product project.json
2016-06-16 19:33:19 -07:00
Andrew Schwartzmeyer
9375b1f303
Downgrade packages to build 24027
...
This is the ancient build that Nano uses.
2016-06-16 15:48:18 -07:00
Andrew Schwartzmeyer
8e7c2ca30b
Sign all assemblies with key
2016-06-16 15:48:18 -07:00
PowerShell Team
8ee6d6ca43
Update files from Source Depot changeset [SD:715912]
...
Corresponds to 77eda782aa78ba8b7a36c51ee619629ce6c990f2 in psl-monad.
2016-06-15 18:02:03 -07:00
Sergei Vorobev
d92620dcf3
Move resgen artifacts from submodules into src subfolders
...
Submodule adds unnessesary complexity.
This commit removes dependency on pre-generated C# bindings.
Start-PsBuild -ResGen will call Start-ResGen.
It also has auto-detect logic to simplify first time expirience.
2016-06-15 10:34:10 -07:00
Andrew Schwartzmeyer
d16cfbd04f
Work-around dotnet bug
...
The include must be duplicated because the root `buildOptions` is not
being applied "whenever compiling the project."
2016-06-14 16:21:36 -07:00
Andrew Schwartzmeyer
01f1c5348d
Exclude FullCLR files from CoreCLR build
2016-06-14 16:21:17 -07:00
Andrew Schwartzmeyer
69ce0e7107
Revert CORECLR guard from FullCLR files
...
This reverts the `if !CORECLR ... #endif` guard surrounding FullCLR
files by applying the original diff from the `source-depot` branch, thus
the accidentally overwritten BOMs were restored as well.
2016-06-14 16:06:48 -07:00
Sergei Vorobev
85e2ecd504
Add new map.json files
2016-06-13 17:39:11 -07:00
Andrew Schwartzmeyer
80aceb7a8a
Move compile data to build options
2016-06-10 11:15:37 -07:00
Andrew Schwartzmeyer
e3056303aa
Rename compilationOptions to buildOptions in project.json files
...
This resolves #928 . This is a breaking change in that you *must* be
running a recent version of .NET CLI.
2016-06-10 11:03:56 -07:00
PowerShell Team
b38773eb79
Update files from Source Depot changeset [SD:709766]
...
Corresponds to 15b1623435d6a195d1e877ba5c43709d991f573a in psl-monad.
2016-05-31 14:12:49 -07:00
Andy Schwartzmeyer
5bdb215034
Don't compile GetComputerInfoCommand.cs
2016-05-18 17:47:25 -07:00
PowerShell Team
d9bf6b037f
Update files from Source Depot changeset [SD:704605]
...
Corresponds to 75764b265885c1a346d1b2dbcb281d61b71c5b31 in psl-monad.
2016-05-18 17:41:26 -07:00
Andy Schwartzmeyer
c848cdc15c
Merge pull request #920 from PowerShell/removeitem
...
Fixes removal of symbolic link on Windows
And don't ask confirmation on Linux
2016-05-06 09:59:24 -07:00
Andrew Schwartzmeyer
cf1455f1ba
Update .NET Core from build 24022 to 24103
2016-05-04 13:16:40 -07:00
George Fleming
70884879df
switch from Platform.IsLinux to Not Platform.IsWindows
2016-04-28 09:01:07 -07:00
George Fleming
1b1858cf09
Fix FileNotFoundException
2016-04-28 08:44:20 -07:00
George Fleming
967634f732
Don't ask for Linux
2016-04-28 08:44:20 -07:00
Andrew Schwartzmeyer
ea5d5c3d05
Switch to netcoreapp1.0
...
Instead of using `dotnet publish`, we can use `dotnet build` and the new
`netcoreapp1.0` framework with a new dependency on
`Microsoft.NETCore.App` to generate output that does not include the
runtime, but can be run anywhere (given the installation of the
runtime).
While we cannot yet adopt a dependency on the shared host until .NET
Core RTM, we are forced to switch to this system anyway because the
latest RC3 packages and CLI do not support `netstandardapp1.5`. See
dotnet/cli#2482 .
Thus we're in an in-between state where we have to use `netcoreapp1.0`,
but cannot use `"Microsoft.NETCore.App": { "type": "platform" }` to
utilize the shared host, as we need to continue to ship our host.
Without specifying "platform", we retain the status quo with respect to
build steps and outputs.
Additionally, there is no longer a good reason to use the RC3 packages,
and it has been advised we switch to RC2 since the
`Microsoft.NETCore.App` is only available for RC2. We must update
packages because our current version can no longer be debugged.
2016-04-25 14:01:44 -07:00
Andrew Schwartzmeyer
71b55abf66
Bump .NET Core packages to build 24011
...
And update the CorePsTypeCatalog.
2016-04-11 10:37:15 -07:00
Andrew Schwartzmeyer
feef62c5ea
Bump .NET Core packages to 24004
2016-04-08 21:50:24 -07:00
Andrew Schwartzmeyer
f5410a18ce
Replace IsWindows method with property
...
And add *correct* IsLinux and IsOSX properties.
2016-04-08 14:54:41 -07:00
PowerShell Team
78a18c3f70
Revert "Update files from psl-monad"
...
This reverts commit 9ed2c2a68b .
This commit is here to make source-depot branch a parent of master
2016-04-06 12:03:50 -07:00