Naveen's Weblog

Bridge to future

.Net Problem in 64 Bit OS

Posted by codingsense on February 6, 2009

Problem :

We may get a problem with .Net exe in 64 Bit OS, it runs properly in 32 Bit OS but will not open or throw some exception when opened in 64 bit OS.

Solution :

The target platform for the project has to be set to x86 and built.

The settings can be found at Right click on project in solution explorer -> Porperties -> build -> Platform Target -> Select x86

Build the exe and check, it would work fine.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: