vb.net – 如何在64位应用程序和VB2008 Express上启用编辑和继续?

当我试图这样做,我得到以下错误

Changes to 64-bit applications are not allowed.

@Wilka:该选项不可用,直到我选择工具>选项>项目和解决方案>常规并选中“显示高级构建配置”。虽然我从你的MSDN链接中发现了这个提示。所以如果你编辑你的评论,我可以使它成为接受的答案…

谢谢大家!

请看我对这个问题的第一个意见,它不存在…不知何故…我可以选择目标框架虽然(2.0,3.0和3.5),而不是我看到任何使用这个特定的问题…

它不一定是一个64位程序,实际上,我更喜欢它是32位的反正,因为它更像一个实用程序,它应该在32位系统上工作。

此外,我运行Vista在64位。也许这与它有关系吗?

@Rob Cooper:现在我想起来,我从来没有机会在创建解决方案/项目/应用程序时选择64位或32位应用程序…
根据你的链接“64位调试(X64)”是可能的MS VB2008 express版本。

哦btw,我发现了以下:

If you are debugging a 64-bit application and want to use Edit and Continue,you must change the target platform and compile the application as a 32-bit application. You can change this setting by opening the Project Properties and going to the Compile page. On that page,click Advanced Compile Options and change the Target cpu setting to x86 in the Advanced Compiler Settings dialog Box. 07000

但我没有看到目标cpu设置…

你可以尝试:

In Visual Basic 2008 Express Edition:
Build menu > Configuration Manager…

Change Active solution platform: to
“…”,choose “x86”,save the new
platform.

Now the “x86” option is available in
the Compile settings.

您可能需要先启用“显示高级构建配置”,在工具>选项>
项目和解决方案>一般

(从this post在MSDN论坛)

相关文章

Format[$] ( expr [ , fmt ] ) format 返回变体型 format$ 强...
VB6或者ASP 格式化时间为 MM/dd/yyyy 格式,竟然没有好的办...
在项目中添加如下代码:新建窗口来显示异常信息。 Namespace...
转了这一篇文章,原来一直想用C#做k3的插件开发,vb没有C#用...
Sub 分列() ‘以空格为分隔符,连续空格只算1个。对所选...
  窗体代码 1 Private Sub Text1_OLEDragDrop(Data As Dat...