-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
High
-
None
-
Affects Version/s: 3.0b7, 3.1.2b2
-
Component/s: General
-
None
-
Environment:
OS: windows 10 Pro 1803 x64
.NET: 4.7.2
-
Severity 1 - Critical
Cannot launch sourcetree application after installation. maybe something wrong with my environment, I hava try to change older version of sourcetree, but none of them work,
I found the log file and only see one kind of error:
// sourcetree.log ERROR [2019-04-02 12:40:30,900] [1] [Sourcetree.Composition.VSMef.Net471.CompositionExceptionHelper] [Log] - PartDiscoveryException: Microsoft.VisualStudio.Composition.PartDiscoveryException: Unable to load assembly "C:\Users\yindongchao\AppData\Local\SourceTree\app-3.1.2\SourceTree.exe" for scanning. ---> System.IO.FileLoadException: 未能加载文件或程序集“Sourcetree, Version=3.1.2.3027, Culture=neutral, PublicKeyToken=null”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040) 在 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) 在 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) 在 System.Reflection.Assembly.Load(AssemblyName assemblyRef) 在 Microsoft.VisualStudio.Composition.PartDiscovery.<>c__DisplayClass11_0.<CreatePartsAsync>b__0(String path) --- 内部异常堆栈跟踪的结尾 ---
The whole log file attached below.
help plz.