0

我有一个正在使用的旧版 .NET 2.0 Windows 窗体应用程序。它在 XP 中运行良好,但在 Windows 7 中,如果启用了 aero 主题,则应用程序会启动,但在您单击菜单栏中的“文件”时会崩溃。该应用程序在使用 Windows 基本主题时运行良好。如果我在快捷方式的属性中选择“禁用桌面组合”项,它也可以正常运行。

我已经在 Visual Studio 中运行了代码,所有异常都打开了,但一无所获。常规的 Windows 事件日志也无济于事。

4

1 回答 1

0

Please check the following items an give it another try:

  1. Check for 32 or 64 bit OS, both in IDE and your OS.
  2. Keep the .config file with the .exe file
  3. try to repair .net 2
于 2011-06-14T22:33:01.020 回答