Home > Net >  .net core computer from c # compiler environment, in the other computer can not run!
.net core computer from c # compiler environment, in the other computer can not run!

Time:02-23

.net core 3.10 written Form APP, compiled in vs 2019 environment is normal, in 2019 under the environment of the computer running compiled program runs is long, but the copy of the application to the other computer can't run (other computers windowsdesktop - runtime - 3.1.10 installed), what reason be excuse me?

Attached to the Windows application error log:

A:
Log name: Application
Source: the.net Runtime
Date: 2021/2/22 13:59:35
Event ID: 1026
Task categories: no
Error levels:
Key words: classical
Filled by any user:
Computer: WIN - 061 evihkd86
Description:
Application: SatMiner. Exe
CoreCLR Version: 4.700.20.51601
The.net Core Version: 3.1.10
Description: The process was terminated due to an unhandled exception.
Exception Info: System. IO. FileLoadException: Could not load file or assembly 'System.Drawing.Com mon, Version=4.0.2.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The located The assembly 's manifest definition does not match The reference to an assembly. (0 x80131040)
The File name: 'System.Drawing.Com mon, Version=4.0.2.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
The at xj193hskaldi2ngl..

.
(Object
The Object []
)
The at SatMiner. The Program. ()



Event Xml:
2 0 0 x80000000000000 & lt;/Keywords> The File name: 'System.Drawing.Com mon, Version=4.0.2.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
The at xj193hskaldi2ngl..

.
(Object
The Object []
)
The at SatMiner. The Program. ()




2:
Log name: Application
Source: Application Error
Date: 2021/2/22 13:59:35
Event ID: 1000
Task categories: (100)
Error levels:
Key words: classical
Filled by any user:
Computer: WIN - 061 evihkd86
Description:
Error application name: SatMiner. Exe version: 1.0.0.0, timestamp: 0 x600792e3
Error module name: KERNELBASE. DLL version: 10.0.17763.1728, timestamp: 0 xc97af40a
Exception code: 0 xe0434352
Error offset: 0 x0000000000039689
Error process ID: 0 xac8
Error application startup time: 0 x01d708dfe4b768c1
Error application path: D: \ netcoreapp3.1 \ SatMiner exe
Error module path: C: \ Windows \ System32 \ KERNELBASE DLL
The report ID: b0796bcf - febf - 457 - d - a396-993966530510
Wrong package name:
Wrong package relative application ID:
Event Xml:


2
100 & lt;/Task>
0 x80000000000000 & lt;/Keywords>
2178 & lt;/EventRecordID>
Application
WIN - 061 evihkd86 & lt;/Computer>


SatMiner. Exe
1.0.0.0 & lt;/Data>
600792 e3 & lt;/Data>
KERNELBASE. Dll
10.0.17763.1728 & lt;/Data>
C97af40a & lt;/Data>
E0434352 & lt;/Data>
0000000000039689 & lt;/Data>
Ac8 & lt;/Data>
01 d708dfe4b768c1 & lt;/Data>
D: \ netcoreapp3.1 \ SatMiner exe
C: \ Windows \ System32 \ KERNELBASE dll
B0796bcf - febf - 457 - d - a396-993966530510 & lt;/Data>





CodePudding user response:

Your program with the.net framework 4.7

CodePudding user response:

Another found that compile environment in System.Drawing.Com mon points to the C: \ Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\3.1.0\ref\netcoreapp3.1\System.Drawing.Com mon DLL version 4.700.19.56404
And can not run only C: \ Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\3.1.10\System.Drawing.Com mon DLL benban 4.700.20.51901
Have anything to do with this?

null
  •  Tags:  
  • C#
  • Related