Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, December 25, 2013 1:22 AM
I have written an order entry system with over 30 executables. It was developed on a 32bit PC (C3 .NET 4.0) with now some of the users are running it on 64bit machines. When developing, I did not pay attention to platform target. Most of the projects ended up with a platform of ‘Any CPU’.
Well, one of the third-party software products which is running fine on 32bit PC, is getting an unhandled error when loading. The third-party vendor says that I needed to use the platform of ‘x86’.
When I go to the properties of the solution and click on configuration, I can change the platform to x86 at the top of the page but when I attempt to change the platform of the projects that are configure to ‘Any CPU’, I cannot change it to ‘x86’ because ‘Any CPU’ is the only choice in the dropdown.
Bob Flaherty
All replies (5)
Monday, December 30, 2013 2:08 AM ✅Answered
Hi,
I can change the solution to x86 but not have the choice (not in the dropdown) for the individual projects (and there are more than 30).
I can’t get this issue on my side. When I create a new platform: x86 for a solution and change the solution platform to ‘x86’, the platform of those projects within the solution will become ‘x86’ automatically and the ‘x86’ platform option will be shown in the drop down list for the individual projects. Whether you have ‘x86’ option in the Platform target drop down list in project Properties->Build tab?
I suggest resetting VS settings through Tools->Import and Export settings->Reset all settings->… and then change the platform to check whether it can succeed.
If no help, you can try to repair your VS.
Because you don’t an option under the drop down list for the individual projects, as I suggested in my previous reply, you can create a new ‘x86’ option first, used it for the project platform to check the result.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Wednesday, December 25, 2013 5:53 AM
Hi,
You can try to create a new ‘x86’ option following:
Right click "Your Solution" -> "Configuration Manager" -> Click the drop down in “Platform” column ->"<New...>" -> "Type or select the new platform: x86" [ -> "Copy settings from: AnyCPU" -> "Create new project platforms"]
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
Wednesday, December 25, 2013 6:11 AM
How is the 3rd party vendors software used in the project. Is it using dll library calls or are you adding the code as a Reference? If you are defining the library calls as unmanaged dll make sure you use the option CDecl. Also make sure the integers are int32 and not just int.
jdweng
Friday, December 27, 2013 2:55 PM
Thank you for your response. I guess I was not clear. The issue is at the project level and not the solution level. I can change the solution to x86 but not have the choice (not in the dropdown) for the individual projects (and there are more than 30).
Please understand that this is years worth of work and I do not want to just start making changing that if not done correctly could really make a mess of things.
If I had to guess what the proper step would be it is to make the suggested change stated above at the project level. If that is true and though I appreciate the short-hand direction include above, I would really help my psychic to get a detail step-by-step set of instructions. I have a problem following directions properly (which explains why I am no longer married).
Bob Flaherty
Thursday, January 2, 2014 9:10 AM
Hi,
What about your issue now? Whether my suggestions can help you?
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.