Reputation: 101
I have 64x console application in VS 2013. When I've tried to run x64 application in debug mode, I've got a message:
Error while trying to run project: Unable to start program [PathToMyApplication].
The address is not valid for this context.
For 32x application it worsk fine. Reinstall VS 2013 did't help. What can I do?
Upvotes: 1
Views: 1471
Reputation: 106
My error message is similar when starting the project:
"Error while trying to run project: Unable to start program 'C:\Project\StrictAny\PrensentationLayer\bin\PPEREM.exe'
The address is not valid for this context "
I solved the problem by switching [Solution Explorer=>Solution Properties=>Active config=>Debug|AnyCUP] to "Debug|x86"
Then the application proceeds in starting.
hope this helps anyone.
Upvotes: 2