Monday, October 5, 2009

How to make .NET Compatiable to both 32 bit and 64 bit platforms

Following steps can be followed on 32 bit and 64 bit platforms to create code compatiable for multiple environments

For 32 bit Compatibility:

1.Click Build and open Configuration Manager


2.Select Active Solution Platform drop down list

3.Select x86 if it is in the list and skip to step 5, if not Select

4.In the New Solution Platform dialog, select x86 and press OK

5.Verify the selected platform for all of your projects is x86

6.Click Close.
 
For 64 bit Compatibility:

1.Click Build and open Configuration Manager


2.Select Active Solution Platform drop down list

3.Select x64 if it is in the list and skip to step 5, if not Select

4.In the New Solution Platform dialog, select x64 and press OK

5.Verify the selected platform for all of your projects is x64

6.Click Close.

No comments:

Post a Comment