c# - Is it okay to reference a binary assembly instead of a DLL -


i've inherited legacy application 2 solutions. 1 solution windows forms(ui) application , other windows service.

the windows service solution references user interface exe, implementation found existing in application.

when running windows service receive following error:

...posting service main loop failed not load file or assembly 'xxx.xxx.xxx.xxx, version=1.0.0.0, culture=neutral, publickeytoken=abcc533bcb766348' or 1 of dependencies. attempt made load program incorrect format

i tasked upgrading solution .net version 3.5 .net version 4.5, did successfully, yet reference causing me issues.

can educate me on effects of referencing .exe binary c#. cannot change solution being referenced class library has user interface built using .net c# windows forms tools, it's output type 'windows application'

any , assistance tremendously appreciated. thanks

referencing exe assembly or dll assembly not make difference in .net, both assemblies , .net can handle them no problem.

the problem in case seems incompatibility in platform build , running on: 32 vs. 64 bits. possible project built 64 bits , trying run in on 32-bits system.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -