Sergei Vorobev
a03b8464f5
Change native powershell.exe from x86 to x64
2016-06-14 12:27:28 -07:00
Sergei Vorobev
4b51bbb976
Fix Start-ResGen to produce windows line-ends all the time
2016-06-14 12:18:30 -07:00
Sergei Vorobev
029086e27c
Add some intelligence to Copy-MappedFiles
2016-06-13 18:50:15 -07:00
Sergei Vorobev
21f4c46f3e
Update documentation about mapping.md
2016-06-13 17:56:56 -07:00
Sergei Vorobev
85e2ecd504
Add new map.json files
2016-06-13 17:39:11 -07:00
Sergei Vorobev
f3ab8b3f57
Enhance mappings story
...
- Split mappings.json into mappings.json for every project (folder under
src)
- Throw away src\monad prefix, now it's not relevant
- Remove New-MappingsFile
- Rename Copy-SubmoduleFiles to Copy-MappedFiles
- Make Copy-MappedFiles flexible about set of mappings.json that it
uses
2016-06-13 17:37:24 -07:00
Sergei Vorobev
88ac6d0b2d
Temporarely skip 1 failing test
2016-06-10 17:03:49 +00:00
Sergei Vorobev
333a809fe8
Revert "Temporarily disable xUnit tests"
...
This reverts commit 3d18f454f6 .
2016-06-10 07:16:33 +00:00
Sergei Vorobev
32b90c048a
Remove Microsoft.PowerShell.Diagnostics from default Snapins on LINUX
2016-06-10 07:16:33 +00:00
Sergei Vorobev
53b8411111
dotnet team changed their script name, change our bootstrap
2016-05-22 01:06:34 -07:00
Sergei Vorobev
45f5638676
Fix VersionSuffix in nuget packaging from appveyor.yml
2016-05-22 00:43:36 -07:00
Sergei Vorobev
6259d1ca4e
Enable project_feed in appveyor.yml
2016-05-22 00:17:44 -07:00
Sergei Vorobev
159dcee626
Add Publish-NuGetFeed function to build.psm1
2016-05-22 00:17:44 -07:00
Sergei Vorobev
33c458459c
Wrap all native commands in helper function in PowerShellGitHubDev.psm1
2016-04-19 16:59:03 -07:00
Sergei Vorobev
f28bd0814b
Fix log message in Start-PSBuild
2016-04-19 16:40:28 -07:00
Sergei Vorobev
8635c84cd9
Fix typo in PowerShellGitHubDev.psm1
2016-04-19 16:10:09 -07:00
Sergei Vorobev
db674c7977
Add try-catch to on_finish section to prevent hang
2016-04-19 16:00:09 -07:00
Sergei Vorobev
d25cdffcfc
Add $ErrorActionPreference = 'Stop' to fail the build
2016-04-19 15:51:54 -07:00
Sergei Vorobev
273328d06f
Update files from psl-monad source-depot [SD:695331]
...
Corresponds to 1218e29752ba4
2016-04-13 09:41:34 -07:00
Sergei Vorobev
bf1a2c8521
Make Add-Type work without a flat folder structure
...
- Get rid of the assumption that all framework assemlbies live in
the same place
- Enable build scenario (assemlbies are referenced directly from unpacked
nuget packages)
- Fix #766
- Re-enable Add-Type tests
2016-04-08 21:41:30 -07:00
Sergei Vorobev
b7be84a0b0
Merge remote-tracking branch 'origin/source-depot'
2016-04-06 12:04:08 -07:00
Sergei Vorobev
d181ef787b
Make Start-ResGen generate folders for cs files
2016-04-05 15:16:55 -07:00
Sergei Vorobev
4cb0ef5a75
Update default for Start-DevPSGitHub -binDir parameter
2016-04-04 18:58:53 -07:00
Sergei Vorobev
e5e287b31d
Update .gitignore to include work on windows
...
- Add files produced by cmake in powershell-native to it's own gitignore
- Add files that VS creates to the root-level gitignore
- Add .exe files that are content to the root-level gitignore
2016-04-04 18:51:57 -07:00
Sergei Vorobev
12d6943c20
Update resources section in project.json for Eventing
2016-04-04 14:53:31 -07:00
Sergei Vorobev
a6d8aecc46
Bump src/windows-build version
2016-04-04 14:29:22 -07:00
Sergei Vorobev
cefc16da4f
Add Start-ResGen to PowerShellGitHubDev.psm1
...
Now everybody can just run resgen, instead of kicking in Jenkins job
2016-04-04 14:20:34 -07:00
Sergei Vorobev
2464d58a51
Fix file casing to enable C# binding generation
...
Use windows-build\gen\<project> instead of windows-builg\gen\<somename>
2016-04-04 14:18:10 -07:00
Sergei Vorobev
8e4343e881
Merge remote-tracking branch 'origin/source-depot' into vors/master
2016-04-04 12:56:23 -07:00
Sergei Vorobev
2275048791
Disable AppVeyor cache
2016-04-04 11:25:22 -07:00
Sergei Vorobev
244dea20a9
Fix version of dotnet-test-xunit to a previous good known one
2016-03-30 20:46:46 -07:00
Sergei Vorobev
b5e70ccad7
Fix hardcoded path to resources in EventLogLogProvider.cs
2016-03-30 20:01:34 -07:00
Sergei Vorobev
111b254f3d
Remove psl-monad submodule
...
Fix #656
2016-03-30 20:01:05 -07:00
Sergei Vorobev
43b5dfdf9c
Make powershell-native use source from the superproject
2016-03-30 19:33:19 -07:00
Sergei Vorobev
67a98694f6
Bump windows-build submodule version to in-tree resx
2016-03-30 17:16:51 -07:00
Sergei Vorobev
fe5bb28fd1
Remove compileFiles and resource sections from project.json files
2016-03-30 17:16:50 -07:00
Sergei Vorobev
abf005fc38
Update AssemlbyInfo.cs files to use snk from super-project
...
Conflicts:
src/System.Management.Automation/AssemblyInfo.cs
2016-03-30 17:16:49 -07:00
Sergei Vorobev
136e0eecea
Fix typo in PowerShellGitHubDev.psm1 mapping
2016-03-30 14:13:36 -07:00
Sergei Vorobev
707af00faf
Add resx files to mapping.json
2016-03-30 14:12:50 -07:00
Sergei Vorobev
0ff62f7fc5
Add resources mapping capability to New-MappingFile
2016-03-29 16:56:57 -07:00
Sergei Vorobev
562997beb2
Add visualstudiopublic.snk into mapping.json
2016-03-29 16:56:56 -07:00
Sergei Vorobev
2139780eac
Add powershell-native sources to mapping.json
2016-03-29 16:56:55 -07:00
Sergei Vorobev
7581df6bea
Add Send-GitDiffToSd function to simplify sd workflow
...
This function will help us to port changes to source-depot
from server2016 branch
2016-03-29 16:56:55 -07:00
Sergei Vorobev
4556eaf6a7
Add mapping to enable psl-monad submodule removal
...
There are 2 functions:
- New-MappingFile - creates mapping.json from project.json files
(one is included in this commit)
- Copy-SubmoduleFiles - enables copying files back and forth from
submodule to src/<projects> based on mapping.json file
2016-03-29 16:56:54 -07:00
Sergei Vorobev
f7c7a1a38e
Simplify Microsoft.PowerShell.ConsoleHost/project.json
2016-03-22 15:32:29 -07:00
Sergei Vorobev
0db07f8435
Remove ConvertFrom-String cmdlet from build (see #726 )
2016-03-22 15:29:19 -07:00
Sergei Vorobev
f742cad860
Bump submodule version to include !NOETW guards
2016-03-22 14:20:57 -07:00
Sergei Vorobev
b73e6da8e8
Add Microsoft.PowerShell.CoreCLR.Eventing project
2016-03-22 13:42:22 -07:00
Sergei Vorobev
e0a4363ca3
Bump submodules versions to include ETW changes
2016-03-22 13:37:43 -07:00
Sergei Vorobev
725525a747
Move NOETW define from framework to configuration
...
In System.Management.Automation we want to build ETW events
for CORECLR on windows
2016-03-22 13:36:41 -07:00
Sergei Vorobev
a2e5ea34e1
Bump submodule version to include fix for #722
2016-03-21 17:39:23 -07:00
Sergei Vorobev
0cb76a9a09
Remove explicit msbuild requirement
...
Fix #684
We already require VS 2015 installation.
Grab msbuild automatically from .NET framework folder.
2016-03-18 12:01:18 -07:00
Sergei Vorobev
cd3b0a02cb
Update README.md to use Visual Studio 2015
2016-03-15 13:24:32 -07:00
Sergei Vorobev
9091d58bb7
Set AppVeyor image to Visual Studio 2015
2016-03-15 13:22:47 -07:00
Sergei Vorobev
99a55b7a72
Fix #528 : make powershell.exe build with VS 2015
...
Add legacy_stdio_definitions.lib to the list of linked assemblies
2016-03-15 13:06:26 -07:00
Sergei Vorobev
b126d698e2
Hide output of dotnet restore by default
...
Address Andy's comments about build script.
Add more information about the version into build
Use windows inbox version of pester for FullCLR
Revert dotnet cli to a known good version to avoid #638
2016-03-11 18:24:43 -08:00
Sergei Vorobev
b28d96d700
Incorporate build.FullCLR.ps1 in PowerShellGitHubDev.psm1
...
This commit fixes #652
2016-03-11 16:19:05 -08:00
Sergei Vorobev
d7195fc258
Remove obsolete build.ps1 script
2016-03-11 15:02:52 -08:00
Sergei Vorobev
6982fee02d
Update pointer to src/monad submodule
2016-02-17 18:04:56 -08:00
Sergei Vorobev
54c11c1e2c
Add missed files to Microsoft.PowerShell.Security
...
This files are needed for FullCLR build.
They are responsible for some errors reported in BVT/DRT regression.
2016-02-17 17:43:56 -08:00
Sergei Vorobev
9be4ba7364
Fix issue with missed ImplicitRemotingCommands.cs
2016-02-17 17:43:11 -08:00
Sergei Vorobev
6ec164bccf
Add WebCmdlets to Microsoft.PowerShell.Commands.Utility
2016-02-11 21:36:05 -08:00
Sergei Vorobev
086bc3dea9
Update src\monad reference to include #if !CORECLR guards
2016-02-11 21:00:55 -08:00
Sergei Vorobev
3322d7af1c
Add missed files to Microsoft.PowerShell.Commands.Management
...
Add almost all files to Microsoft.PowerShell.Commands.Management
One of them is Computer.cs that was listed in known issues.
We start to use a nuget packages generated for assemlbies that
cannot be listed in framework assemlbies, but exist in a GAC
on all windows machine and not a PowerShell assemblies
The first one is Microsoft.WSMan.Management
2016-02-11 20:44:21 -08:00
Sergei Vorobev
512c37431d
Update appveyor.yml to import pester from the new location
2016-02-10 13:25:35 -08:00
Sergei Vorobev
f3f0886e75
Make appveyor fail if it cannot find test results
2016-02-10 13:16:22 -08:00
Sergei Vorobev
50984f7036
Build vxcproj file instead of sln file on fullCLR
...
Building sln file generated by cmake causes troubles on my dev machine.
It contains additional checks for tools version that cannot be satisfied.
2016-02-09 15:40:22 -08:00
Sergei Vorobev
f8abd74658
Fix for #491 : make powershell.exe work in new window
...
FullCLR windows host doesn't read keys when run in separate window.
Fix: don't use Start-Process -Wait $false -NoNewWindow $false
Instead, ommit this parameters. Seems like a bug in Start-Process.
2016-02-04 13:19:24 -08:00
Sergei Vorobev
4435699516
Fix quotes in appveyor.yml
2016-02-03 17:42:54 -08:00
Sergei Vorobev
2096bca2b8
Run FullCLR sanitary tests in AppVeyor
...
This change brings a very minimal set of tests and make
build fail, if we cannot load some PS assamblies on FullCLR
We should increase test coverage for FullCLR in future.
2016-02-03 17:29:27 -08:00
Sergei Vorobev
1268b76dcd
Teach PowerShellGithubDev.psm1 -NoNewWindow Mode
...
We need it to run tests in CI
2016-02-03 17:25:51 -08:00
Sergei Vorobev
a3c149196c
Make build.FullCLR.ps1 build RELEASE by default
...
Since we start include CRT runtime inside powershell.exe,
the size of executable jumped from 32kb to 1Mb in DEBUG.
Release produces about 20kb, so we keep size managable.
2016-02-03 17:23:38 -08:00
Sergei Vorobev
706e6d7239
Make CMakeLists correctly build RELEASE
2016-02-03 17:22:18 -08:00
Sergei Vorobev
d2834bd8e9
Add binFull/ and build/ folders to .gitignore
2016-02-03 15:46:34 -08:00
Sergei Vorobev
e87aac7046
Make build.FullCLR.ps1 script more user friendly:
...
error messages + -G parameter support for cmake
2016-02-03 15:43:17 -08:00
Sergei Vorobev
f7559991ce
Include msvcr120.dll runtime to powershell.exe
2016-02-03 15:43:16 -08:00
Sergei Vorobev
17d6ee4862
Add PowerShellGithubDev.psm1 module to run FullCLR powershell
2016-02-03 10:53:43 -08:00
Sergei Vorobev
48ae539f8f
Add strong-name signature to Microsoft.Management.Infrastructure
2016-02-03 10:51:37 -08:00
Sergei Vorobev
29349c04c8
Bump monad version to include UsesCodeSignedAssemblies() fix
2016-02-02 17:59:18 -08:00
Sergei Vorobev
b243976d1a
Build Full and Core PowerShell on AppVeyor
2016-02-02 16:11:05 -08:00
Sergei Vorobev
0d2d961020
Add build.FullCLR.ps1 script
...
This script builds PowerShell targeting FullCLR, using the same projects
as Core PowerShell, and PowerShell on Linux.
2016-02-02 16:09:58 -08:00
Sergei Vorobev
39153321d4
Add CMake project to build Windows powershell.exe
2016-02-02 16:08:58 -08:00
Sergei Vorobev
b4f8d5237c
Add dnx451 to project.json files
2016-02-02 15:43:54 -08:00
Sergei Vorobev
706048344f
Add AppVeyor CI integration.
...
AppVeyor is a cloud-based CI platform for windows.
Use [skip ci] tag in any place of message to mark commit as trivial (i.e.
README.md changes).
2016-01-22 12:40:04 -08:00