Skip to content

Migrate to netstandard2.0 and PSStandard #741

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 70 commits into from
Oct 2, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
dc7cae2
Move PSES builds to netstandard and use PSStandard APIs
rjmholt Aug 29, 2018
624f7fe
Fix missed net451 reference in build file
rjmholt Aug 29, 2018
3cda894
First test fixes
rjmholt Aug 29, 2018
187aea6
Add PowerShell SDK references to tests where needed
rjmholt Aug 29, 2018
bdf008e
Converted test paths, removed #ifs from src/
rjmholt Aug 30, 2018
3ba9c0a
Add restore to build rule
rjmholt Sep 3, 2018
3567a2d
Unskip some tests, use non-Windows specific tests, lose hash key orde…
rjmholt Sep 3, 2018
15dcb61
Fix alias tests
rjmholt Sep 3, 2018
e622473
Fix platform specific tests, move build to netcoreapp2.1, break things
rjmholt Sep 4, 2018
a929752
Use latest xunit
rjmholt Sep 5, 2018
05d2f44
Use PrivateAssets to make PS SDK binding work
rjmholt Sep 5, 2018
f5114c8
Exclude host integration tests
rjmholt Sep 5, 2018
e189f87
Change dotnet xunit to dotnet test in test invocation
rjmholt Sep 5, 2018
f220082
Improve test support on Windows
rjmholt Sep 5, 2018
071b7e0
Move project references
rjmholt Sep 5, 2018
9304ba0
Drop unsupported msbuild switches for net461 builds
rjmholt Sep 5, 2018
8fc5b68
Fix net461 test bugs
Sep 6, 2018
7146a05
Add net461 shim binaries for Windows PowerShell
Sep 12, 2018
d9f3168
Build in single dir
Sep 12, 2018
66bf56f
Clean up build script
Sep 12, 2018
6fac967
Skip failing AsyncDebouncer test
Sep 12, 2018
7651f0f
Update build tooling
Sep 12, 2018
f8f60bd
Use correct Newtonsoft.Json version for PSCore 6.0
Sep 12, 2018
1525ff8
Address some PR feedback
Sep 13, 2018
88639c5
Fix casing typos
Sep 13, 2018
d8f4b2e
Make travis fail when errors occur
Sep 13, 2018
32b770f
Merge branch '2.0.0' into migrate-netstandard2.0
rjmholt Sep 13, 2018
395771e
Fix travis build
Sep 13, 2018
f5cfe42
Fix command module import path
Sep 13, 2018
02ee0e8
Try another travis fix
Sep 13, 2018
b8482c5
Restore travis build with verbose flags
Sep 13, 2018
063dadc
Try new travis script
Sep 13, 2018
25c322b
Travis
Sep 13, 2018
0a66601
Another travis try
Sep 13, 2018
d5cbd9a
TRAVIS!!!!!!
Sep 13, 2018
e1d0ac3
travis
Sep 13, 2018
e978b7c
travis >:(
Sep 13, 2018
3c13822
Suspect Save-Module is lying about the prerelease param
Sep 13, 2018
f8c462c
Never check for AllowPrerelease parameter
Sep 13, 2018
38bce43
Add ridiculous psget update dance back in
Sep 13, 2018
12b4cb6
Use newer PowerShell version in Travis
Sep 13, 2018
b47d915
Use newer powershell version
Sep 13, 2018
8b86ac9
Update dotnet CLI download
Sep 13, 2018
0bac8b6
Update dotnet SDK to latest release
Sep 13, 2018
4297563
Fix nuget bin declaration schema
Sep 13, 2018
59edb3c
Move restore to clean rule
Sep 13, 2018
865dc97
Clean up code
rjmholt Sep 14, 2018
32e13fe
Optimise encoding setting
rjmholt Sep 14, 2018
514ccf0
Update travis platforms
rjmholt Sep 14, 2018
2f870b7
Reformat travis.yml
rjmholt Sep 14, 2018
ff1b14d
Update travis config
rjmholt Sep 14, 2018
05ed5b5
Fix travis.yml
rjmholt Sep 14, 2018
8677a7a
Use CreateDefault2() again
rjmholt Sep 14, 2018
f08b6a9
Test for correct platforms
rjmholt Sep 14, 2018
da2e0b0
Move back to net461 for testing
rjmholt Sep 14, 2018
cdccf3a
Test appveyor pwsh path
Sep 14, 2018
354da07
Remove PSHome from appveyor
Sep 14, 2018
6a60e46
Try to set the module path with a config file
rjmholt Sep 17, 2018
e7a3cc9
Actually make the tests work
Sep 17, 2018
6cc0fb3
Enable writing to the config path
Sep 17, 2018
3462b23
Use sudo
Sep 17, 2018
f9d3018
Try different permissions set
Sep 17, 2018
86601f4
Give up and use a CreateDefault test hook instead
Sep 17, 2018
3511ed6
Use dotnet xunit instead of dotnet test
Sep 18, 2018
c69610e
Use simple pwsh process name
Sep 20, 2018
131e51f
Change test paths back to ensure backslack supported on *nix
Sep 20, 2018
271df79
Fix session details gathering in nested prompts
SeeminglyScience Sep 26, 2018
d99fbb6
Fix session details gathering in nested prompts
rjmholt Sep 26, 2018
784cef5
Address @tylerl0706's feedback
Oct 1, 2018
71c9ee9
Clean up temp file for nupkgs
Oct 1, 2018
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
Prev Previous commit
Next Next commit
Clean up code
  • Loading branch information
rjmholt committed Sep 14, 2018
commit 865dc97ad2822acd0fa9adf1be696307b57c2d64
2 changes: 0 additions & 2 deletions src/PowerShellEditorServices/PowerShellEditorServices.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
<PackageReference Include="PowerShellStandard.Library" Version="5.1.0-preview-06" PrivateAssets="All"/>
<!--<PackageReference Include="Microsoft.PowerShell.SDK" Version="6.1.0-rc.1" />-->
<!--<PackageReference Include="Microsoft.PowerShell.5.ReferenceAssemblies" Version="1.1.0" />-->
<PackageReference Include="UnixConsoleEcho" Version="0.1.0" />
<PackageReference Include="Serilog" Version="2.7.1" />
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public IEnumerable<TResult> ExecuteCommandInDebugger<TResult>(

return results;
}

public void StopCommandInDebugger(PowerShellContext powerShellContext)
{
powerShellContext.CurrentRunspace.Runspace.Debugger.StopProcessCommand();
Expand Down