Aditya Patwardhan
b836de8223
Bump .NET framework to 6.0.0-preview.1 ( #14719 )
2021-02-08 17:13:33 -08:00
xtqqczze
44a701fb51
Add StyleCop.Analyzers package ( #13963 )
...
* Add StyleCop.Analyzers with all rules disabled
* Downgrade to 1.2.0-beta.205
* Enable SA1518: Use line endings correctly at end of file
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1518.md
2020-11-18 23:13:09 +05:00
xtqqczze
ea4cf93749
Enforce code style in build ( #13957 )
...
* Enable EnforceCodeStyleInBuild
* Disable rules breaking build
2020-11-01 12:33:18 +05:00
xtqqczze
ebff40244a
Turn on /features:strict
for all projects ( #13383 )
2020-10-23 11:39:06 -07:00
Dongbo Wang
10237bdeb3
Update PowerShell to build against dotnet 5.0-RC.1 ( #13643 )
2020-09-23 14:04:01 -07:00
Ilya
e88e8bd297
Set C# language version to preview/9.0 ( #13090 )
2020-07-21 12:34:08 -07:00
Tyler James Leonhardt
8bea610865
Remove rcedit dependency, move daily ico dependency to props file ( #13123 )
2020-07-21 07:53:51 -07:00
Ilya
0f6fe9b046
Disable R2R for debug build ( #13144 )
2020-07-10 08:55:49 -07:00
xtqqczze
d98f131c5a
Remove phrase 'All rights reserved' from Microsoft copyright statements ( #12722 )
...
# PR Summary
<!-- Summarize your PR between here and the checklist. -->
## PR Context
follow-up #12190
## 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 )
- [ ] [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**
- [x] N/A or can only be tested interactively
- **OR**
- [ ] [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-20 12:02:38 +00:00
xtqqczze
ef1c0d7d51
Document why PackageVersion
is used in PowerShell.Common.props
( #12523 )
...
Co-Authored-By: Nick Guerrera <nicholg@microsoft.com>
2020-04-30 09:35:54 -07:00
Ilya
7c1cc868b2
Use new TargetFramwork
as net5.0
in packaging scripts ( #12503 )
2020-04-27 16:28:17 -07:00
Ilya
5cd89a407d
Turn on ReadyToRun
( #12361 )
...
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2020-04-22 12:13:48 -07:00
Steve Lee
495dea0783
Move to .NET 5 preview.1
( #12140 )
2020-03-19 11:27:13 -07:00
Aditya Patwardhan
74eaf1980f
Move to .NET Core 3.1 preview 1 ( #10798 )
2019-10-18 16:49:25 -07:00
Steve Lee
29e21470d9
Port PowerShell to .NET Core 3.0 ( #9597 )
2019-05-21 13:43:51 +08:00
Steve Lee
a96b4c0404
Update use of "PowerShell Core" to just "PowerShell" ( #9513 )
2019-05-10 15:34:27 -07:00
Travis Plunk
cee1e54e75
Add ability to cross compile ( #9374 )
...
`-CrossGen` won`t work, but this gives basic ability to build for another platform.
This also means you cannot really package for another platform.
2019-04-16 14:14:29 -07:00
Aditya Patwardhan
0418246682
Make CodeCoverage configuration build portable PDBs ( #9346 )
2019-04-13 19:00:30 -07:00
Travis Plunk
60ab54d737
Port DotNet fixes from 6.1.3 ( #8914 )
...
Addresses CVE-2019-0657
2019-02-19 10:45:40 -08:00
Travis Plunk
c4b2105a73
Merged PR 6648: Bump SDK and Runtime Versions
...
Bump SDK and Runtime Versions
- Also, fix alpine docker file
- Also, fix extra files being added to some Modules after these changes
2019-01-23 02:18:44 +00:00
Ilya
371d25a74b
Update to .NET Core 2.1.5 with SDK 2.1.403 ( #7936 )
2018-10-03 13:31:56 -07:00
Dongbo Wang
0f0c46dfe5
Update to .NET Core 2.1.4 with SDK 2.1.402 ( #7834 )
2018-09-21 13:25:03 -07:00
Ilya
c34d3ef332
Update to latest package references, runtime framework, and SDK ( #7646 )
...
* Move to .Net Core SDK 2.1.401 and runtime 2.1.3
* Update package references
2018-08-30 18:39:44 -07:00
Travis Plunk
b15709f444
update to latest package references, runtime framework, and SDK ( #7272 )
...
* update to latest package references
* update runtime framework
* update sdk
* automatically read NuGet package dependency info from csproj, where version info is fully qualified
* update file.wxs
2018-07-13 09:00:35 +05:00
Ilya
839ecb866f
Move to dotnet core 2.1.1 ( #7161 )
2018-06-28 23:10:10 -07:00
Travis Plunk
472b5f7bd1
Enable full symbols for windows ( #6853 )
...
The main purpose of this was to enable full symbols for windows release build.
Also makes explicit where we are optimizing and where we are not optimizing due to https://github.com/dotnet/corefx/issues/29700
2018-05-14 15:01:44 -07:00
Ilya
84344cbb32
Update PowerShell to build with .NET Core SDK 2.1.300-rc1-008662 ( #6718 )
...
* Build Update
- Change `TargetFramework` to `netcoreapp2.1` and removed unnecessary `RuntimeFrameworkVersion` from `PowerShell.Common.props`
- Update dotnet SDK to 2.1.300-rc1-008662
- Update `TypeGen` target in `Build.psm1` to work with 2.1
- Rename macOS runtime to `osx-x64` as the old build logic expects 10.12 and breaks running on 10.13 system.
- Remove `PackageReference` to `System.Memory` as it's part of dotnetcore 2.1
- Update search for `crossgen` executable to find the matching version
* Test Update
- Update test tools `WebListener` to latest `asp.net core`
- Marked `AuthHeader Redirect` tests as `Pending` due to change in CoreFX
2018-05-02 16:58:39 -07:00
Ilya
31085d5737
Use C# latest language in proj files ( #6559 )
...
Address #6547
We begin using C# 7.2 features (Span) but .Net Core doesn't seem use "Latest" as default for a language.
So we explicitly set the value.
2018-04-05 17:39:20 -07:00
Travis Plunk
a099786cdc
Update to DotNet 2.0.6 ( #6403 )
...
Update to DotNet 2.0.6
- this addresses [Microsoft Security Advisory CVE-2018-0875: Hash Collision can cause Denial of Service](https://github.com/PowerShell/Announcements/issues/4 )
- This is a port of d607f207b9
to 6.1
2018-03-15 14:54:00 -07:00
Ilya
89bdb1796c
Update PowerShell to build with .NET Core 2.0.5 ( #5903 )
2018-01-16 17:36:37 -08:00
Dongbo Wang
d966f59a11
Update PowerShell to build with .NET Core runtime 2.0.4 ( #5677 )
2017-12-12 13:53:22 -08:00
Travis Plunk
5d8999e8b5
Add HighEntropyVA to building pwsh ( #5455 )
...
Specify that the images (pwsh.dll in particular) support high-entropy 64-bit address space layout randomization (ASLR).
2017-11-15 10:12:03 -08:00
Dongbo Wang
decdd1a828
Update powershell to use 2.0.4-servicing dotnet core runtime ( #5295 )
2017-11-02 14:12:19 -07:00
Ilya
6e77537181
Get 'PSVersion' and 'GitCommitId' from the 'ProductVersion' attribute of assembly ( #4863 )
2017-09-28 09:27:43 -07:00
Ilya
e588a18c76
Refactor MSBuild project files to get PowerShell version from git tag ( #4182 )
...
Extract information about the release tag, number of commits since the tag and the hash of the latest commit within a MSBuild target, and bake that information into version properties of the assemblies appropriately.
2017-09-06 15:20:25 -07:00
Dongbo Wang
b3e7fd374f
Move to the official .NET Core 2.0 ( #4603 )
...
* Migrate to official .NET Core 2.0
* [Feature] Remove chmod code as the issue has been fixed in dotnet
2017-08-16 17:32:46 -07:00
Dongbo Wang
3e35fb9918
Move powershell to 2.0.0-preview3-25426-01
using the .NET CLI 2.0.0-preview2-006502
( #4144 )
2017-06-30 13:07:14 -07:00
Ilya
a8e3d8968f
Refactor MSBuild project files by adding the common property file 'PowerShell.Common.props' ( #4106 )
...
`AssemblyVersion` and `FileVersion` are now inferred from the `Version` property, which is inferred by `VersionPrefix`. So now both `AssemblyVersion` and `FileVersion` are 6.0.0.0 for each of PowerShell assemblies, and the `ProductVersion` and `InformationalVersion` are 6.0.0.
2017-06-29 10:25:49 -07:00