Home > Net >  Two projects together, share a DLL
Two projects together, share a DLL

Time:03-24

Main. Exe and update. Exe two projects, or used in a folder, but both reference the same a DLL, how to do?
Reproduction main. Exe DLL, update. Exe cannot start, reproduction update. Exe DLL, main. Exe cannot start, consult the great god what to do?

CodePudding user response:

Not in theory, such as all your software also public system32, gac DLL, didn't also said can't use,

Of course I have seen this update. Exe is familiar, think of you said another post to update,
1. The problem of the large probability is not can't use, but your update to update the update to use the DLL
2. The small probability because DLL version, such as newtonjson this constantly changing DLL (Microsoft removed after netcore newstonjosn because he updated too often, conflicts every library reference version), that you either need to upgrade to project the same version, or specified in the runtime using a specific version

CodePudding user response:

Newtonjson this library in the early years with 1, 2 weeks several versions of the rhythm, often you end a project wood, newtonjson is the major version from 8.9 l to 14. Xx, (and a lot of third party libraries also refer to their version of the newtonjson) as a result, each sub-project in eventually merge conflicts when prompted

CodePudding user response:

Should be no problem, you try in the main, the DLL generated exe copy to update. The exe program introduced calls again, and then put a folder all three perform try again

CodePudding user response:

Ah, that thing, stable for 2 years, crazy output again

reference
13.0.1 0 12 hours line
13.0.1 - beta 2 7933 11 days line
13.0.1 - walk 55584 2 have a line
105396289 2019/11/9 12.0.3


Two half month, 3 months, 3 times

CodePudding user response:

Main. Exe main program and the update. Exe to update the program. Refer to the Oracle ManagedDataAccess. DLL to connect to the Oracle database,
Compiled, Oracle. Are there in two Release ManagedDataAccess. DLL,
Run all alone, when I put the update. Exe files are copied to the main. The exe file, after the update. Exe tip can't find the Oracle. ManagedDataAccess. DLL,
When I get the update. Exe in Oracle. ManagedDataAccess. DLL copied to main. The exe inside cover, after the update. Exe can, main. Exe again out of the question,
So consult the great god how to solve!

CodePudding user response:

reference 3rd floor big watermelon cut a piece of a kilo of reply:
should be no problem, you try in the main, the DLL generated exe copy to update. The exe program introduced calls again, and then put a folder all three perform try again
  •  Tags:  
  • C#
  • Related