Commit Graph
63 Commits
Author SHA1 Message Date
Dongbo Wang 073f4d61bd Build, package, and create VPack for the PowerShell-LTS store package within the same msixbundle-vpack pipeline (#150) (#27209) 2026-04-08 13:28:20 -07:00
xtqqczze 2af5ad14a3 Update LangVersion to preview (#26214) 2026-02-19 07:39:42 -08:00
Aditya Patwardhan 212c5f97e3 Update to .NET 11 SDK and update dependencies (#26783) 2026-02-18 16:35:10 -08:00
Dongbo Wang b0507ca4cf Fix build to only enable ready-to-run for the Release configuration (#26290) 2025-10-23 11:21:01 -07:00
Aditya Patwardhan 51a21999de Fix R2R for fxdependent packaging (#26131) 2025-10-01 19:39:25 +00:00
111a8e4b61 Specify .NET Search by Build Type (#25837)
Co-authored-by: Travis Plunk (HE/HIM) <tplunk@ntdev.microsoft.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-08-21 10:20:17 -05:00
Aditya Patwardhan eef334de1b Bump .NET to 10 preview.1 (#25154) 2025-03-19 15:48:08 -07:00
Dongbo Wang e051748e9d Make the AssemblyVersion not change for servicing releases (#24667) 2025-01-08 11:47:30 -08:00
xtqqczze c24e8e4402 Set LangVersion compiler option to 13.0 (#24619) 2024-11-26 21:25:50 +05:00
Steve Lee 97e32829bb Add file description to pwsh.exe (#21352) 2024-03-26 21:54:05 +05:00
Aditya Patwardhan a145f47787 Bump to .NET 9 Preview 1 (#21229) 2024-02-16 03:15:11 +00:00
Patrick Meinecke cc05fdead2 Remove the property disabling optimization (#19701) 2023-06-05 16:45:11 -07:00
Aditya Patwardhan 2d15e0c5b6 Update to .NET 8 preview 1 build (#19194) 2023-02-22 16:12:16 -08:00
Ilya dd3a6a10d4 Use source generator for PSVersionInfo to improve startup time (#15603) 2022-10-11 11:50:16 -07:00
Aditya Patwardhan b90a1e65a3 Remove unnecessary native dependencies from the package (#18213) 2022-10-04 16:17:45 -07:00
Travis Plunk d9d6b7f8de Move ApiScan to compliance build (#18191) 2022-09-30 14:59:01 -07:00
Dongbo Wang f56c4ea9ef Re-enable building with Ready-to-Run (#18105) 2022-09-15 16:17:23 -07:00
Dongbo Wang 78757fa7fd Update the comment about why R2R is disabled (#17850) 2022-08-04 11:26:34 -07:00
Aditya Patwardhan 77caf718cd Update projects and scripts to use .NET 7 preview 1 pre-release builds (#16856)
* Update script to consume .NET 7 builds

* Update target framework

* Add dotnet metadata override value

* Update dependencies

* Update analyzer

* Conditionally add output argument

* Update files.wxs

* Fix tests

* Update Microsoft.PowerShell.Native to 7.3.0-preview.1

* Disable psget tests

* Update to latest build for .NET 7 preview 1

* Disable ready to run

* Update version of `Microsoft.AspNetCore.Mvc.NewtonsoftJson` package

* Update cgmanifest and startup test
2022-02-16 09:56:41 -08:00
Dongbo Wang f2d5ae74ad Clean up crossgen related build scripts also generate native symbols for R2R images (#16297)
* Clean up crossgen related build scripts

* Fix ci.psm1

* Clean up '-CrossGen' use in a few other files
2021-10-27 11:42:37 -07:00
Aditya Patwardhan 2ebac33a78 Update Language Version to 10 and fix related issues (#15886) 2021-08-09 12:21:14 -07:00
Aditya Patwardhan 31a4528302 Update to .NET 6 Preview 6 and use crossgen2 (#15763) 2021-07-19 16:06:39 -07:00
Travis Plunk 046dec4d7c Make sure GA revision increases from RC and Preview releases (#15558) 2021-06-15 13:44:08 -07:00
Aditya Patwardhan 7ead137407 Update to .NET Preview 6 SDK (#15452) 2021-05-25 19:24:28 -07:00
Travis Plunk 7acf70e023 Allow patching of preview releases (#15074) 2021-03-23 11:03:05 -07:00
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
xtqqczzeandNick Guerrera 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
IlyaandTravis Plunk 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