Skip to content

Update Appx manifest with new cap and fix statically linking to vcruntime - #1242

Merged
Steve Lee (SteveL-MSFT) merged 6 commits into
PowerShell:mainfrom
SteveL-MSFT:bot-fixes
Nov 10, 2025
Merged

Steve Lee (SteveL-MSFT) merged 6 commits into
PowerShell:mainfrom
SteveL-MSFT:bot-fixes

Conversation

@SteveL-MSFT

@SteveL-MSFT Steve Lee (SteveL-MSFT) commented Nov 7, 2025 •

Copy link
Copy Markdown
Member

PR Summary

Fixes some issues:

  • use hybrid-crt for Windows build
  • grammar fixes
  • remove redundant check for az
  • add new cap in Appx manifest
  • move RUSTFLAGS in build to cargo.toml
  • remove unnecessary static_vcruntime crate

Context

Fix #1243
Fix #1244

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR includes code cleanup and configuration improvements across build scripts, CI/CD pipelines, and project templates.

  • Simplifies Azure CLI authentication logic by removing redundant command existence checks
  • Fixes URL formatting issue in Azure DevOps pipeline
  • Corrects spelling error in issue template
  • Updates Cargo configuration for Windows MSVC targets with explicit CRT linking flags

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
build.ps1 Removes redundant nested Azure CLI command check, streamlining authentication flow
.pipelines/DSC-Official.yml Fixes malformed Azure DevOps organization URL (removes double slash)
.github/ISSUE_TEMPLATE/Feature_Request.yml Corrects duplicate word in placeholder text
.cargo/config.toml Expands rustflags configuration with explicit Windows CRT library linking arguments

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .cargo/config.toml Resolved
Comment thread .cargo/config.toml Resolved
@SteveL-MSFT Steve Lee (SteveL-MSFT) changed the title Misc fixes Update Appx manifest with new cap and fix statically linking to vcruntime Nov 7, 2025
Comment thread build.ps1
}

$env:RUSTC_LOG=$null
$env:RUSTFLAGS='-Dwarnings'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, you still have one of these in build.helpers.psm1 as well. Line 753-754

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BUILD:   Performing setup steps::Configuring Rust environment
VERBOSE: Caching current rust environment variables...
VERBOSE: No Rust environment variables defined
VERBOSE: Setting RUSTFLAGS to '-Dwarnings'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's perfect. Not a DLL dependency out of place.

@SteveL-MSFT
Steve Lee (SteveL-MSFT) added this pull request to the merge queue Nov 10, 2025
Merged via the queue into PowerShell:main with commit 614a7f1 Nov 10, 2025
19 checks passed
@SteveL-MSFT
Steve Lee (SteveL-MSFT) deleted the bot-fixes branch November 10, 2025 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DSC depends on vcruntime140.dll but does not declare it DSC MSIX cannot be installed without internet/store access

4 participants