Proposal: remove requirement for CRT Redist if app is not using the CRT itself #2143
Labels
area-Deployment
Issues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged)
feature proposal
servicing-consider
Milestone
Describe the bug
The docs call out a requirement to explicitly include a CRT redistributable - either the VCLibs framework package or the VCRedist msi:
https://docs.microsoft.com/en-us/windows/apps/windows-app-sdk/deployment-architecture#additional-requirements
This requirement is solely due to implementation details of Windows App SDK binaries. For example, microsoft.ui.xaml.dll dynamically links to the CRT, requiring app installers to provision those binaries at runtime.
Ideally, only an app's use of the CRT should necessitate the CRT redistributable.
Steps to reproduce the bug
See related:
#2117
Expected behavior
A Windows App SDK app that does not use the CRT should run without the CRT redist present on a target machine.
Screenshots
No response
NuGet package version
No response
Packaging type
No response
Windows version
No response
IDE
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: