boyjiwen

Results comments of boyjiwen

I also encountered this problem. Created a wpf program based on .net core3.0, which can run normally on this machine and other WIN10 machines, but it can't run under WIN7...

> @randyliang1 @LiangWeixin I can run it in win7 sp1 > > ![image](https://user-images.githubusercontent.com/16054566/49644124-87f45880-fa52-11e8-86ea-1d68794fc255.png) > > See [如何创建一个基于 .NET Core 3 的 WPF 项目 - walterlv](https://walterlv.com/post/create-new-wpf-on-dotnet-core-project.html) > > [将基于 .NET Framework...

@lindexi Your program seems to be a system loaded with a runtime. Whether vs2019 can put the dependent runtime into the application, not the system's runtime.

1. dotnet new wpf -o wpfapp 2. publish ![image](https://user-images.githubusercontent.com/16402158/49656110-71142d00-fa77-11e8-9d65-3f90de12cab3.png) 3. Tested in different systems (no .netcore runtime installed) WIN10: OK ![image](https://user-images.githubusercontent.com/16402158/49656163-95700980-fa77-11e8-933d-3d995b5815cf.png) WIN7 64 : ERROR ![image](https://user-images.githubusercontent.com/16402158/49656218-ba647c80-fa77-11e8-8f2b-da72fb44d688.png)

@rladuca After installing VCRuntime x86 and x64 (Microsoft Visual C++ Redistributable for Visual Studio 2017) on the WIN7 machine, the problem still exists. ![image](https://user-images.githubusercontent.com/16402158/49660033-8f325b00-fa80-11e8-9db7-27ddbeb33460.png) Please advise how can I find...

@rladuca @karelz After Windows 7 installs VS2019, WPF programs that could not be run before can now run normally. And confirm that the WPF program uses the DLL under the...

@rladuca @karelz Tested with 6 WIN7 machines, VC2017 Runtime can run on the machine. Before the test machine installed VC2017 can not run (downloaded from Microsoft officially), 1. Normal after...

@lindexi The .net framework45 installer will fail to install on some Win7 machines. Therefore, our program has two runs of .net35 and .net45. Under WIN7, the launcher will launch that...

@rladuca @lindexi Copy vcruntime140.dll to the released package, it can run normally on Win7 machine without VCRuntime installed.

@rladuca Today builds a WPF version with vcrtime, tested internally, with another problem found on several machines: The program can be run and the MessageBox is successfully called, but after...