I am working on some C# projects with Visual Studio 2005, and I am trying to change the platform target from x86 to Any CPU. I already went through all the dependencies that I know about and made sure that they were also built for Any CPU using the corflags tool.
When I change the platform target in Visual Studio 2005 it seems like it saves the change, but then when I build the project it still uses x86 anyway. The next time I open the project the platform target has been reset to x86.
This only happens for a couple of the projects in the solution, does this mean that there are other 32-bit dependencies somewhere?
I can manually run the C# compiler on the command line with /platform:anycpu
and I don't get an error, but I'm not sure that is the right thing to do and I'd like to be able to build within Visual Studio.
What can I do to solve this problem?