xtqqczze
23deb41f49
Enable IDE0040: AddAccessibilityModifiers ( #13962 )
...
https://docs.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0040
2020-11-09 09:37:25 +05:00
Aditya Patwardhan
e99f055c69
Bump .NET to version 5.0.100-rtm.20526.5
( #13920 )
2020-11-02 16:51:35 -08:00
Aditya Patwardhan
49b7faa817
Move PowerShell build to .NET 5 RC.2 ( #13780 )
2020-10-14 11:04:39 -07:00
Dongbo Wang
10237bdeb3
Update PowerShell to build against dotnet 5.0-RC.1 ( #13643 )
2020-09-23 14:04:01 -07:00
Robert Holt
368c8ff3c3
Merged PR 12555: Update .NET version to 5.0.0-preview.8.20407.11
...
Update .NET version to 5.0.0-preview.8.20407.11
2020-09-03 18:58:21 +00:00
xtqqczze
152456d7a0
Add single blank line after copyright header ( #13486 )
2020-09-02 08:15:16 +05:00
Robert Holt
6a37eb9313
Update to .NET 5 preview 8 ( #13530 )
2020-08-31 10:38:05 -07:00
github-actions[bot]
9c396aa0ea
Update .NET SDK version from 5.0.100-preview.7.20366.2
to 5.0.100-preview.7.20366.15
( #13200 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-22 18:53:33 +05:00
github-actions[bot]
1ed554dde4
Update .NET SDK version from 5.0.100-preview.7.20364.3
to 5.0.100-preview.7.20366.2
( #13192 )
2020-07-16 12:12:40 -07:00
github-actions[bot]
7da0742cb6
Update .NET SDK version from 5.0.100-preview.6.20318.15
to 5.0.100-preview.7.20356.2
( #13125 )
2020-07-07 12:10:11 -07:00
Aditya Patwardhan
8030889b7b
Update .NET SDK version from 5.0.100-preview.5.20279.10
to 5.0.100-preview.6.20318.15
( #13018 )
2020-06-23 17:30:31 -07:00
Aditya Patwardhan
0d75cfdc2d
Revert "Update .NET SDK version from 5.0.100-preview.5.20279.10
to 5.0.100-preview.6.20319.2
( #12992 )" ( #13017 )
...
This reverts commit ce8dc1e30c
.
2020-06-23 11:52:20 -07:00
github-actions[bot]
ce8dc1e30c
Update .NET SDK version from 5.0.100-preview.5.20279.10
to 5.0.100-preview.6.20319.2
( #12992 )
2020-06-19 11:28:09 -07:00
github-actions[bot]
99da109312
Update .NET SDK version from 5.0.100-preview.5.20272.6
to 5.0.100-preview.5.20278.13
( #12772 )
2020-05-29 09:36:12 -07:00
github-actions[bot]
12e0adc57a
Update .NET SDK version from 5.0.100-preview.5.20269.29
to 5.0.100-preview.5.20272.6
( #12759 )
...
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request ) GitHub action
2020-05-23 13:12:09 +00:00
James Truher [MSFT]
05e682aed1
Update to dotnet SDK 5.0.0-preview.5.20268.9 ( #12740 )
...
<!-- Anything that looks like this is a comment and can't be seen after the Pull Request is created. -->
# PR Summary
Update to dotnet SDK 5.0.0-preview.5.20268.9
## PR Context
<!-- Provide a little reasoning as to why this Pull Request helps and why you have opened it. -->
## PR Checklist
- [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- Use the present tense and imperative mood when describing your changes
- [x] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [x] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [x] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress ).
- If the PR is work in progress, please add the prefix `WIP:` or `[ WIP ]` to the beginning of the title (the `WIP` bot will keep its status check at `Pending` while the prefix is present) and remove the prefix when the PR is ready.
- **[Breaking changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes )**
- [x] None
- **OR**
- [ ] [Experimental feature(s) needed](https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md )
- [ ] Experimental feature name(s): <!-- Experimental feature name(s) here -->
- **User-facing changes**
- [x] Not Applicable
- **OR**
- [ ] [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [ ] Issue filed: <!-- Number/link of that issue here -->
- **Testing - New and feature**
- [ ] N/A or can only be tested interactively
- **OR**
- [x] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting )
- **Tooling**
- [x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
- **OR**
- [ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:
- Impact on [PowerShell Editor Services](https://github.com/PowerShell/PowerShellEditorServices ) which is used in the [PowerShell extension](https://github.com/PowerShell/vscode-powershell ) for VSCode (which runs in a different PS Host).
- Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
- Impact on [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer ) (which provides linting & formatting in the editor extensions).
- Impact on [EditorSyntax](https://github.com/PowerShell/EditorSyntax ) (which provides syntax highlighting with in VSCode, GitHub, and many other editors).
2020-05-21 20:45:57 +00:00
Dongbo Wang
935f84ee1d
Update build to use the new .NET SDK 5.0.100-preview.4.20258.7
( #12637 )
2020-05-13 08:17:37 -07:00
Aditya Patwardhan
633e52f345
Update .NET SDK to 5.0.100-preview.4.20229.10
( #12538 )
2020-05-04 18:17:52 -07:00
Aditya Patwardhan
cc0d20aa08
Bump .NET to 5.0.0-preview.4 ( #12507 )
2020-04-28 14:18:16 -07:00
Aditya Patwardhan
6d44fa9977
Bump to .NET 5 Preview 3 pre-release ( #12353 )
2020-04-17 14:22:23 -07:00
Steve Lee
b7cb335f03
Update copyright notice to latest guidance ( #12190 )
2020-03-24 11:08:37 -07:00
xtqqczze
70d9ed4d55
Remove Unicode BOM from text files ( #11546 )
2020-01-11 12:15:34 +05:00
Steve Lee
29e21470d9
Port PowerShell to .NET Core 3.0 ( #9597 )
2019-05-21 13:43:51 +08:00
Steve Lee
4af3068566
Code cleanup: Add space after closing brace where needed ( #8530 )
...
* Update TestService
* Update WebListener
* Update Controllers
* Update ExpTest
* Update MyApp
* Update Logic
* Update Logic
* Update MyApp
* Update Microsoft.Management.Infrastructure.CimCmdlets
* Update Microsoft.PowerShell.Commands.Diagnostics
* Update Microsoft.PowerShell.ScheduledJob
* Update Microsoft.WSMan.Management
* Update Microsoft.WSMan.Runtime
* Update ResGen
* Update TypeCatalogGen
* Update commands
* Update Eventing
* Update Reader
* Update utility
* Update ShowCommand
* Update trace
* Update WebCmdlet
* Update Common
* Update CoreCLR
* Update common
* Update format-object
* Update format-wide
* Update out-file
* Update out-printer
* Update out-string
* Update OutGridView
* Update LocalAccounts
* Update Commands
* Update security
* Update CoreCLR
* Update DscSupport
* Update engine
* Update help
* Update logging
* Update namespaces
* Update security
* Update utils
* Update config
* Update perfCounters
* Update tracing
* Update cmdletization
* Update other
* Update cim
* Update xml
* Update CoreCLR
* Update common
* Update DefaultFormatters
* Update out-console
* Update out-textInterface
* Update DisplayDatabase
* Update Utilities
* Update COM
* Update ComInterop
* Update CommandCompletion
* Update debugger
* Update ExperimentalFeature
* Update hostifaces
* Update interpreter
* Update lang
* Update Modules
* Update parser
* Update runtime
* Update client
* Update commands
* Update common
* Update fanin
* Update server
* Update WireDataFormat
* Update Binding
* Update Operations
* Update interface
* Update cmdletization
* Update cim
* Update management
* Update WindowsTaskbarJumpList
* Update msh
2018-12-24 11:20:06 +05:00
Dongbo Wang
a11810bf33
Improve powershell startup time ( #8341 )
...
Major changes are as follows:
- Avoid `SecuritySupport.IsProductBinary` and unnecessary AMSI/suspicious code scan at startup time
- Update `CompiledScriptBlockData.IsProductCode` to avoid unnecessary calls to `IsProductBinary`, which attempts to retrieve catalog signature of the target file.
- Update `PerformSecurityChecks` to skip AMSI and suspicious code scan for the `.psd1` file that contains a safe `HashtableAst` only.
- Use customized `ReadOnlyBag` instead of `ImmutableHashSet` so that we can avoid loading the `System.Collections.Immutable.dll` completely.
- Replace `SHA1` with `CRC32` when generating module analysis cache file name
- This remove the loading of `System.Security.Cryptography.Algorithms.dll` at startup
- Move `ConvertFrom-SddlString` to C# to remove the `Utility.psm1` file.
- Crossgen `Microsoft.ApplicationInsights.dll` and enable tiered compilation
- Even pwsh with crossgen assemblies spends a lot time in jitting at the startup, about `191.6ms` comparing with `24.7ms` for Windows PowerShell.
- Jitting `Microsoft.ApplicationInsights.dll` takes about `51.6ms`.
- By crossgen `Microsoft.ApplicationInsights.dll` and enable tiered compilation, the jitting time drops to about `98.9ms`.
2018-12-02 12:52:39 -08:00
zhenggu
358e8abefe
Fix Set-Service -Status Stopped
to stop services with dependencies ( #5525 )
2018-08-28 11:03:12 -07:00