Either v3.5 or v4.0…it seems that there is either an x86 version or x64 version – is there a way to compile my c# code with the AnyCPU flag? I’d hate to have to peg my app to a certain architecture.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes. There is a way. I assume you want to do a “private deployment” for SQL CE.
In which case, you put x86 versions of the SQL CE assemblies into a subfolder of your deployment named
x86. You put the x64 assemblies into a subfolder of your deployment namedAMD64.I did this a while ago, but I believe the key links were here and here. I also think there was a key bit of a doco in the SQL CE Books Online on how to extract the x64 assemblies if you’re only using an x86 development machine.