私が作っているゲームのランチャーを作ろうとしています。このプログラムは、私の他のコンピューターでは問題なく動作します。最近、ソースを自分のコンピューターに転送しました。問題がありますが、アプリケーションのデバッグを試みたところ、このエラーが発生しました。
私は問題を理解しました。このコードはこちら
.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()