0

我正在尝试为我正在制作的游戏制作启动器。该程序在我的另一台计算机上运行良好。我最近将源转移到我的电脑上。不过我遇到了问题,我尝试调试应用程序并收到此错误。

我弄清楚了这个问题。这段代码在这里

.GetVersionInfo("C:\Users\eriger777\Desktop\test\bin\Launcher.exe")

试图执行一个不存在的文件:3。

An error occurred creating the form. 

这是导致错误的代码。

          <Global.System.Diagnostics.DebuggerStepThroughAttribute()>  _
    Protected Overrides Sub OnCreateMainForm()
        Me.MainForm = Global.Launcher.frmMain
    End Sub
End Class

堆栈跟踪

 at Launcher.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
   at Launcher.My.MyProject.MyForms.get_frmMain()
   at Launcher.My.MyApplication.OnCreateMainForm() in C:\Users\Gryphon\Downloads\Launcher\Launcher Source Main\Launcher Source\My Project\Application.Designer.vb:line 35
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
   at Launcher.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
4

1 回答 1

0

我弄清楚了这个问题。这段代码在这里

.GetVersionInfo("C:\Users\eriger777\Desktop\test\bin\Launcher.exe") 试图执行一个不存在的文件:3。

于 2012-09-28T15:00:27.660 回答