尝试运行项目时出错。该地址对此上下文无效

时间:2014-11-07 14:25:37

标签: c# .net visual-studio-2010 visual-studio visual-studio-2012

我在VS 2013中有64x控制台应用程序。当我尝试在调试模式下运行x64应用程序时,我收到了一条消息:

Error while trying to run project: Unable to start program [PathToMyApplication].
The address is not valid for this context.

对于32x应用程序,它很糟糕。重新安装VS 2013没有帮助。我该怎么办?

2 个答案:

答案 0 :(得分:2)

启动项目时,我的错误消息类似:

“尝试运行项目时出错:无法启动程序'C:\ Project \ StrictAny \ PrensentationLayer \ bin \ PPEREM.exe'

地址对此上下文无效“

我通过将[Solution Explorer => Solution Properties => Active config => Debug | AnyCUP]切换为“Debug | x86”来解决问题

然后应用程序继续启动。

希望这有助于任何人。

答案 1 :(得分:0)

问题出在嗅探器软件" SearchInformAgent"。

相关问题