我正在尝试为我正在制作的游戏制作一个发射器。该程序在我的其他计算机上运行得非常好。我最近将源传输到了我的电脑。我遇到了问题,我尝试调试应用程序,但是我收到了这个错误。
我想出了这个问题。这段代码就在这里
.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()
答案 0 :(得分:0)
我想出了这个问题。这段代码就在这里
.GetVersionInfo( “C:\用户\ eriger777 \桌面\测试\ BIN \的Launcher.exe”) 试图执行一个不存在的文件:3。