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

Created on 27 Dec 2018  路  8Comments  路  Source: dotnet/wpf

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.

Most helpful comment

It's better to remove the KB dependence!

All 8 comments

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

I have the same problem

It's better to remove the KB dependence!

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

@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).

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

Duplicate of #37

Was this page helpful?
0 / 5 - 0 ratings