wpf icon indicating copy to clipboard operation
wpf copied to clipboard

Default WPF project self-contained application cannot run on a pure windows 7 SP1

Open SilentHill opened this issue 7 years ago • 8 comments

Default WPF project self-contained application cannot run on a pure windows 7 SP1

Hi all, I am a WPF app developer and I'm trying to deploy the net core 3.0 wpf app to Windows 7 but it failed.

Reproduction Steps

  1. Install .NET Core v3.0.0-preview-27122-01
  2. use the command line "dotnet new wpf -o C:\test_wpf" to create an WPF project.
  3. use the command line "dotnet publish -c Release --self-contained" to publish.
  4. copy the published folder to a new installed pure Windows 7 machine.
  5. Install KB2533623 / KB2999226 follow the doc https://docs.microsoft.com/en-us/dotnet/core/windows-prerequisites?tabs=netcore2x
  6. Run the application and nothing happened. the exe start and then it ends after a few seconds.

SilentHill avatar Dec 27 '18 05:12 SilentHill

Yes, I also encountered this shit! Please fix this big problem!

ithinkso117 avatar Dec 27 '18 06:12 ithinkso117

I have the same problem

JasonLiuLab avatar Dec 27 '18 06:12 JasonLiuLab

It's better to remove the KB dependence!

ithinkso117 avatar Dec 27 '18 06:12 ithinkso117

yeah,this is a good issue,please pay attention and fix it.

xhanb avatar Dec 27 '18 06:12 xhanb

Possible dupe of https://github.com/dotnet/wpf/issues/107

ghost avatar Dec 27 '18 10:12 ghost

@italopessoa please review our Code of Conduct. We expect everyone to be professional and respectful. WPF is only in early previews. Bugs are expected at this stage. We welcome feedback and encourage community members to upvote top issues to help us prioritize (as few already did here).

karelz avatar Dec 27 '18 20:12 karelz

@stdcppdev Copy vcruntime140.dll to the released package #107

boyjiwen avatar Dec 29 '18 16:12 boyjiwen

Duplicate of #37

stevenbrix avatar Apr 04 '19 15:04 stevenbrix