win forms solutions deployment issue - access violation error
I have developed an solutions that has a few projects inside, if I build the solutions if works success in debug and in release mode, I have created installation a setup project, the installation goes smooth but the program throws an exception when it tries to talk with a com dll. in debug mode I had the same issue till I added in post-build event:
call "$(DevEnvDir)..\tools\vsvars32.bat"
editbin.exe /NXCOMPAT:NO $(TargetPath)  

also: if i take the main exe file from debug directory and replace it with the file from the setup target: ("..\Program Files\my program\program.exe") the program works fine.

BTW: all builds are set to x86.

any ideas how to solve this issue??

thanks, sam.
win forms solutions deployment issue - access violation error
===

I have developed an solutions that has a few projects inside, if I build the solutions if works success in debug and in release mode, I have created installation a setup project, the installation goes smooth but the program throws an exception when it tries to talk with a com dll. in debug mode I had the same issue till I added in post-build event:
call "$(DevEnvDir)..\tools\vsvars32.bat"
editbin.exe /NXCOMPAT:NO $(TargetPath)  

also: if i take the main exe file from debug directory and replace it with the file from the setup target: ("..\Program Files\my program\program.exe") the program works fine.

BTW: all builds are set to x86.

any ideas how to solve this issue??

thanks, sam.