Commit Graph
108 Commits
Author SHA1 Message Date
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
Jason Shirk (POWERSHELL) efc83bbaa2 Add csproj files and sln for editing but not building 2016-07-05 10:27:41 -07:00
Jason Shirk 9a6655c147 Merge pull request #1246 from PowerShell/andschwa/guard-rawui
Guard RawUI when TTY is non-existent
2016-07-01 17:20:03 -07:00
Andrew Schwartzmeyer f70c0c51c2 Use ConsoleControl on Windows 2016-07-01 17:01:07 -07:00
Andrew Schwartzmeyer c1168e1a24 Note that CursorSize throws on Windows when output is redirected 2016-07-01 16:46:44 -07:00
Andrew Schwartzmeyer 75777b42ee Check that switchKey isn't empty 2016-07-01 14:36:15 -07:00
Andrew Schwartzmeyer e3fd809d42 Normalize slashes in path given to --file
Since we don't yet have a canonical way to normalize paths, here is yet
another use of String.Replace (and this is how it happens).
2016-07-01 14:36:15 -07:00
Andrew Schwartzmeyer 290cc2c2de Implement FlushInputBuffer 2016-07-01 14:36:15 -07:00
Andrew Schwartzmeyer 80486044d8 Guard use of throwable APIs in System.Console
This is reconciled with the .NET Core 1.0 Unix ConsolePal
implementation, with additional error handling for when System.Console
returns unusable values.
2016-07-01 14:36:15 -07:00
Sergei Vorobev 1a98407ee2 Fix Pester call for FullCLR from appveyor.yml 2016-07-01 13:16:52 -07:00
Sergei Vorobev afbf9dd2e1 Update project.json files to take Modules only from src/Modules 2016-07-01 12:20:48 -07:00
Sergei Vorobev e4e3206621 Move modules for Full in Module/Full 2016-07-01 12:20:48 -07:00
Sergei Vorobev 916d17e958 Fix Microsoft.PowerShell.ConsoleHost/map.json 2016-07-01 12:20:48 -07:00
Sergei Vorobev c1d1b52869 Exclude map.json files from copyToOutput and publishOptions 2016-07-01 12:20:48 -07:00
Andrew Schwartzmeyer e08c216c07 Downgrade Newtonsoft.Json package to 7.0.1
This is the same as on Nano.
2016-06-29 14:05:09 -07:00
PowerShell Team 85f53d3d0b Copy PSWorkflow files from [SD:717473]
commit 559488db3
2016-06-28 15:53:19 -07:00
Sergei Vorobev a640f69dd5 Add PSWorkflow files into map.json 2016-06-28 15:48:59 -07:00
Sergei Vorobev 5f5cd74f37 Move map.json for Microsoft.PowerShell.ConsoleHost\Modules in subfolder 2016-06-28 15:44:01 -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 7498c20aa3 build.psm1 changes for Activities dlls
- Add Start-PSBuild -Clean
- Normalize $env:PATH references in .\build.psm1
- Add more logging in Resolve-Xaml for troubleshooting
- Always use msbuild from the Microsoft.NET v4.0.30319
- Rename Resolve-Xaml into Start-XamlGen for consistency with Start-TypeGen and Start-ResGen
- Disable pwrshplugin build temporarely
2016-06-24 15:45:31 -07:00
Sergei Vorobev f81b5a5f6e Add *.Activities dlls in Full build
- Add activities as a dependency to ConsoleHost
- This creates a minor ambiguity in the type resolution in ConsoleHost.
  We are specifying a namespace name to workaround it.
2016-06-24 15:45:31 -07:00
PowerShell Team 207d2b3195 Integrate changes from SD between [SD:715912] and [SD:717473] 2016-06-22 06:24:08 -07:00
Sergei Vorobev 3769dbc1f0 Add GraphicalHost as net451 dependency to ConsoleHost 2016-06-21 18:32:22 -07:00
Quoc Truong f9a801f50b Add project.json for PackageManagement assemblies and make it build 2016-06-20 11:46:21 -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
Sergei Vorobev 38ce6d4616 remove comments from project.json per request 2016-06-17 10:56:34 -07:00
Sergei Vorobev 713ddfdf05 Remove authors section from product project.json 2016-06-16 19:33:19 -07:00
Sergei Vorobev 713d4072b3 Make Microsoft.PowerShell.ScheduledJob part of build for FullCLR 2016-06-16 19:30:52 -07:00
PowerShell Team 552354e4e2 Copy PSScheduledJob sources from psl-monad [SD:715912]
commit 77eda78
2016-06-16 19:20:35 -07:00
Sergei Vorobev 9fc3ab26ff Update map.json to have PSScheduledJob 2016-06-16 19:20:35 -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
Sergei Vorobev c60c749290 Merge pull request #1121 from PowerShell/vors/bits
Fixes for local-account and process
2016-06-16 09:19:06 -07:00
Sergei Vorobev 05ecfd33d3 Fix indentation in project.json 2016-06-15 19:18:08 -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
Andy Schwartzmeyer d9b11669ce Merge pull request #1119 from PowerShell/andschwa/fix-casing-again
Fix casing again
2016-06-15 16:51:36 -07:00
Sergei Vorobev 42cca87b3b Merge pull request #1111 from PowerShell/cchen/diagnostics
adding microsoft.powershell.diagnostics.dll to build
2016-06-15 16:09:07 -07:00
Andrew Schwartzmeyer f83d375f26 Fix casing again 2016-06-15 15:58:45 -07:00
Andrew Schwartzmeyer 2afe0a1ad3 Update SD file mappings
The `ConsoleTextWriter.cs` file had a case-sensitivity issue. The
`ArchitectureSensitiveAttribute.cs` and `nativemsh` files were deleted
in SD.
2016-06-15 15:45:12 -07:00
Chunqing Chen d578e5f426 update project.json for consolehost to include microsoft.powershell.diagnostic 2016-06-15 15:27:06 -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
Dongbo Wang d33cb11439 Update project.json files to build Microsoft.PowerShell.LocalAccounts 2016-06-14 16:56:05 -07:00
Sergei Vorobev 85e2ecd504 Add new map.json files 2016-06-13 17:39:11 -07:00
Andrew Schwartzmeyer 2639f2a8ae Use include key in copyToOutput and publishOptions
While the schema says that a `string[]` will be picked up as if `{
"include" : [ ... ] }` was used, it does not. This is a .NET CLI bug.
2016-06-10 13:00:33 -07:00
Andrew Schwartzmeyer 44f3fb1211 Update content to copyToOutput and publishOptions
These must be duplicated as we require the same files for both `build`
and `publish`. This is the requirement of the new schema, as `content`
was split.

Note that while each key can take an object, if given just a `string[]`
as we do here, it defaults to `include`.

See the new schema: https://github.com/aspnet/Announcements/issues/175
2016-06-10 12:41:26 -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
Andrew Schwartzmeyer 539f8696e5 XDG cache directory now guaranteed to exist 2016-06-09 09:50:36 -07:00