怎麼會這樣 System.IO.FileNotFoundException: 找不到檔案 "C:UsersAdministratorDesktop可用2ReleaseGPXPath.GPX"。 檔案名稱: "C:UsersAdministratorDesktop可用2ReleaseGPXPath.GPX" 於 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 於 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 於 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 於 System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) 於 System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost) 於 System.IO.File.ReadAllText(String path) 於 PoGo.PokeMobBot.Logic.Tasks.FarmPokestopsGpxTask.GetGpxTracks(ISession session) 於 C:UsersGilSourceReposCatchem-PoGoPoGo.PokeMobBot.LogicTasksFarmPokestopsGPXTask.cs: 行 185 於 PoGo.PokeMobBot.Logic.Tasks.FarmPokestopsGpxTask.<Execute>d__1.MoveNext() 於 C:UsersGilSourceReposCatchem-PoGoPoGo.PokeMobBot.LogicTasksFarmPokestopsGPXTask.cs: 行 0 --- 先前擲回例外狀況之位置中的堆疊追蹤結尾 --- 於 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 於 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 於 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) 於 PoGo.PokeMobBot.Logic.State.FarmState.<Execute>d__0.MoveNext() 於 C:UsersGilSourceReposCatchem-PoGoPoGo.PokeMobBot.LogicStateFarmState.cs: 行 54 --- 先前擲回例外狀況之位置中的堆疊追蹤結尾 --- 於 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) 於 PoGo.PokeMobBot.Logic.State.StateMachine.<Start>d__3.MoveNext() 於 C:UsersGilSourceReposCatchem-PoGoPoGo.PokeMobBot.LogicStateStateMachine.cs: 行 38 |
歡迎光臨 Android 台灣中文網 (https://apk.tw/) | Powered by Discuz! X3.1 |