且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找不到运行该应用程序的运行时版本

更新时间:2023-10-18 23:12:58

您的应用程序是否偶然使用.Net 3.0? .Net 3可以在VS2005上运行.
Is your application using .Net 3.0 by any chance? .Net 3 can run on VS2005.


我会尝试几件事

1.创建一个仅带有一个按钮的应用程序,单击该按钮时会显示一个消息框

尝试运行

如果可行,那么您很有可能会尝试引用尚未转移的某种类型的库,然后我将开始使用try catch块在各节中调试代码.

如果该块捕获到错误,则将其缩小.

2.在项目中,您可以通过进入项目属性来确定要使用的框架,然后在发布"选项卡上单击先决条件,它将使用其显示框架版本.

3.
I would try a couple of things

1. Create an app with just a button on that displays a message box on when clicked

try running that

if that works then you are more than likely trying to reference a library of some sort that you haven''t transfered across and I would then start to debug your code in sections using try catch blocks.

if the block catches an error then narrow it down.

2. in the project you can determine what framework you are using by going into the project properties and then on the publish tab click on prerequisites and it will show you the famework version its using

3. Google results