Hi TC!
16.02.2019 13:18, gozaltech пишет:
> Обновилась программа Youtube Player до версии 0.2
При ззапуске выдает:
Ошибка диалог Возникла непредвиденная ошибка: Could not load file or
assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Не удается
найти указанный файл.. Нажмите Да для отправки сообщения об этой ошибке
и продолжить работы, или Нет для выхода из приложения. Также вы можете
отправить содержимое файла "Error.log" из окна "Сообщить об ошибке"
При нажатии кнопки да, или нет, приложение закрывается и появляется файл
error.log со следующим содержимым:
2019-02-16 16:24:15.329 +02:00 [ERR] System.IO.FileNotFoundException:
Could not load file or assembly 'System.Net.Http, Version=4.2.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. Не удается найти указанный файл.
File name: 'System.Net.Http, Version=4.2.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'
at YoutubePlayer.HttpRequest.GetRequest(Dictionary`2 data)
at YoutubePlayer.Program.<Main>d__1.MoveNext()
End of stack trace from previous location where exception was thrown at
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at YoutubePlayer.Program.<Main>(String[] args)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].
2019-02-16 16:33:42.289 +02:00 [ERR] System.IO.FileNotFoundException:
Could not load file or assembly 'System.Net.Http, Version=4.2.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. Не удается найти указанный файл.
File name: 'System.Net.Http, Version=4.2.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a'
at YoutubePlayer.HttpRequest.GetRequest(Dictionary`2 data)
at YoutubePlayer.Program.<HandleExceptionsAsync>d__4.MoveNext()
End of stack trace from previous location where exception was thrown at
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at
YoutubePlayer.Program.<CurrentDomain_UnhandledExceptionAsync>d__3.MoveNext()
End of stack trace from previous location where exception was thrown at
System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_1(Object
state)
at
System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object
state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx)
at
System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].
windows 7 32 bit