Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not load file or assembly Microsoft.VisualStudio.ProjectSystem.Managed #177

Open
m1lhaus opened this issue Apr 3, 2024 · 34 comments
Labels

Comments

@m1lhaus
Copy link

m1lhaus commented Apr 3, 2024

Hello,

I am not able to load plugin v3.0. In ActivityLog.xml I see this

<description>SetSite failed for package [CmdArgsPackage]Source: &apos;SmartCmdArgs17&apos; Description: Could not load file or assembly &apos;Microsoft.VisualStudio.ProjectSystem.Managed, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;System.IO.FileNotFoundException: Could not load file or assembly &apos;Microsoft.VisualStudio.ProjectSystem.Managed, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;File name: &apos;Microsoft.VisualStudio.ProjectSystem.Managed, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&apos;&#x000D;&#x000A; at SmartCmdArgs.Services.VisualStudioHelperService.AddProjectState(IVsHierarchyWrapper pHierarchy)&#x000D;&#x000A; at SmartCmdArgs.Services.VisualStudioHelperService.&lt;InitializeAsync&gt;d__55.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A; at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A; at SmartCmdArgs.CmdArgsPackage.&lt;InitializeAsyncServices&gt;d__25.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A; at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A; at SmartCmdArgs.CmdArgsPackage.&lt;InitializeAsync&gt;d__23.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A; at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A; at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A; at Microsoft.VisualStudio.Shell.AsyncPackage.&lt;&gt;c__DisplayClass21_0.&lt;&lt;Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize&gt;b__1&gt;d.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A; at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A; at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)&#x000D;&#x000A; at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)&#x000D;&#x000A;&#x000D;&#x000A;WRN: Assembly binding logging is turned OFF.&#x000D;&#x000A;To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.&#x000D;&#x000A;Note: There is some performance penalty associated with assembly bind failure logging.&#x000D;&#x000A;To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].&#x000D;&#x000A;</description>

I also tried to disable all my other plugins. Noting changed. Error occurs with both slightly older VS2022 17.8.x and also with the latest 17.9.5. I also tried pre-release version v3.0.1 suggested in other tickets. Unfortunately I ended up with different error:

<description>CreateInstance failed for package [CmdArgsPackage]Source: &apos;mscorlib&apos; Description: Exception has been thrown by the target of an invocation.&#x000D;&#x000A;System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; System.Runtime.InteropServices.COMException: GetDialogPage must be called on the UI thread.&#x000D;&#x000A; at Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread(String callerMemberName)&#x000D;&#x000A; at SmartCmdArgs.CmdArgsPackage.GetDialogPage[Page]()&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)&#x000D;&#x000A; at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)&#x000D;&#x000A; at SmartCmdArgs.CmdArgsPackage..ctor()&#x000D;&#x000A; --- End of inner exception stack trace ---&#x000D;&#x000A; at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp; canBeCached, RuntimeMethodHandleInternal&amp; ctor, Boolean&amp; bNeedSecurityCheck)&#x000D;&#x000A; at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark&amp; stackMark)&#x000D;&#x000A; at System.Activator.CreateInstance(Type type, Boolean nonPublic)&#x000D;&#x000A; at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark&amp; stackMark)&#x000D;&#x000A; at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&#x000D;&#x000A; at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)&#x000D;&#x000A; at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)System.Runtime.InteropServices.COMException (0x8001010E): GetDialogPage must be called on the UI thread.&#x000D;&#x000A; at Microsoft.VisualStudio.Shell.ThreadHelper.ThrowIfNotOnUIThread(String callerMemberName)&#x000D;&#x000A; at SmartCmdArgs.CmdArgsPackage.GetDialogPage[Page]()&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type serviceType)&#x000D;&#x000A; at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)&#x000D;&#x000A; at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)&#x000D;&#x000A; at SmartCmdArgs.CmdArgsPackage..ctor()</description>

For now downgrading to v2.6 solves the issue for me. Am I missing some .NET dependency? I have pure C++ setup of Visual Studio.

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

Hi, unfortunately I cant reproduce this issue but I tried another fix in v3.0.2. Could you try it and report back if the issue persists?

@kim2048
Copy link

kim2048 commented Apr 3, 2024

Hi, I tested with 3.02 on 17.9.5, got the same error as @m1lhaus <description>SetSite failed for package...

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

Hi, thanks for the reply, could you please provide the full error? I need the call stack to see the cause of this error, because a lot of things can cause a "SetSite failed" error.

@kim2048
Copy link

kim2048 commented Apr 3, 2024

Sure

  <entry>
    <record>1300</record>
    <time>2024/04/03 10:06:19.021</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [CmdArgsPackage]Source: &apos;SmartCmdArgs17&apos; Description: Could not load file or assembly &apos;Microsoft.VisualStudio.ProjectSystem.Managed, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;System.IO.FileNotFoundException: Could not load file or assembly &apos;Microsoft.VisualStudio.ProjectSystem.Managed, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;File name: &apos;Microsoft.VisualStudio.ProjectSystem.Managed, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&apos;&#x000D;&#x000A;   at SmartCmdArgs.Services.VisualStudioHelperService.AddProjectState(IVsHierarchyWrapper pHierarchy)&#x000D;&#x000A;   at SmartCmdArgs.Services.VisualStudioHelperService.&lt;InitializeAsync&gt;d__55.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A;   at SmartCmdArgs.CmdArgsPackage.&lt;InitializeAsyncServices&gt;d__25.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at SmartCmdArgs.CmdArgsPackage.&lt;InitializeAsync&gt;d__23.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.AsyncPackage.&lt;&gt;c__DisplayClass21_0.&lt;&lt;Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize&gt;b__1&gt;d.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)&#x000D;&#x000A;&#x000D;&#x000A;WRN: Assembly binding logging is turned OFF.&#x000D;&#x000A;To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.&#x000D;&#x000A;Note: There is some performance penalty associated with assembly bind failure logging.&#x000D;&#x000A;To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].&#x000D;&#x000A;</description>
    <guid>{131B0C0A-5DD0-4680-B261-86AB5387B86E}</guid>
    <hr>0x80070002</hr>
    <errorinfo></errorinfo>
  </entry>

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

Hi, this is odd and I am a bit clueless at this point.
One option we have is to enable fusion logging (as described here) and see what it says.
The relevant log file is "C:\FusionLog\Default\devenv.exe\Microsoft.VisualStudio.ProjectSystem.Managed, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.HTM" I think.
For me it says that it loads the assembly from "c:\program files\microsoft visual studio\2022\community\common7\ide\extensions\microsoft\managedprojectsystem\Microsoft.VisualStudio.ProjectSystem.Managed.dll". Does this file exist for you?

It is very frustrating that I can't reproduce this issue myself. If I find the time, I will setup a virtual machine and try some pure CPP setup of VisualStudio this evening.

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

It would also be awesome if you could compare the old v2.6 with v3.0.2, because both need this dependency and it would be interesting how it is loaded if the older extension is used.

@kim2048
Copy link

kim2048 commented Apr 3, 2024

Hi, I will try the fusion after lunch.

The file does only exist in this folder on my machine: %USERPROFILE%\AppData\Local\Microsoft\VisualStudio\17.0_4a195583\Extensions\idkwsctv.jdg\Microsoft.VisualStudio.ProjectSystem.Managed.dll

@kim2048
Copy link

kim2048 commented Apr 3, 2024

Fusion log of the 3.0.2

<meta http-equiv="Content-Type" content="charset=unicode-1-1-utf-8"><!-- saved from url=(0015)assemblybinder: --><html><pre>
*** Assembly Binder Log Entry  (03.04.2024 @ 13:18:03) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable  C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.ProjectSystem.Managed, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
 (Fully-specified)
LOG: Appbase = file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = devenv.exe
Calling assembly : SmartCmdArgs17, Version=2.6.0.1, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Users\kim\AppData\Local\Microsoft\VisualStudio\17.0_4a195583\devenv.exe.config
LOG: Using host configuration file: 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Redirect found in application configuration file: 2.0.1.0 redirected to 17.9.0.0.
LOG: Post-policy reference: Microsoft.VisualStudio.ProjectSystem.Managed, Version=17.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/USERS/KIM/APPDATA/LOCAL/MICROSOFT/VISUALSTUDIO/17.0_4A195583/EXTENSIONS/IDKWSCTV.JDG/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Assembly download was successful. Attempting setup of file: C:\USERS\KIM\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\17.0_4A195583\EXTENSIONS\IDKWSCTV.JDG\Microsoft.VisualStudio.ProjectSystem.Managed.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: Microsoft.VisualStudio.ProjectSystem.Managed, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
WRN: Comparing the assembly name resulted in the mismatch: Major Version
ERR: The assembly reference did not match the assembly definition found.
ERR: Run-from-source setup phase failed with hr = 0x80131040.
LOG: Attempting download of new URL file:///C:/USERS/KIM/APPDATA/LOCAL/MICROSOFT/VISUALSTUDIO/17.0_4A195583/EXTENSIONS/IDKWSCTV.JDG/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/USERS/KIM/APPDATA/LOCAL/MICROSOFT/VISUALSTUDIO/17.0_4A195583/EXTENSIONS/IDKWSCTV.JDG/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/USERS/KIM/APPDATA/LOCAL/MICROSOFT/VISUALSTUDIO/17.0_4A195583/EXTENSIONS/IDKWSCTV.JDG/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: All probing URLs attempted and failed.

</pre></html>

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

Thanks for the quick response.
Which extension is installed at "C:\USERS\KIM\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\17.0_4A195583\EXTENSIONS\IDKWSCTV.JDG" ?

@kim2048
Copy link

kim2048 commented Apr 3, 2024

I cannot work without your extension ;)

manifest.json:

{"id":"SmartCmdArgs17.6edd462d-d4d6-40b9-a7b4-451a6ce6c527","version":"3.0.2","type":"Vsix","vsixId":"SmartCmdArgs17.6edd462d-d4d6-40b9-a7b4-451a6ce6c527","extensionDir":"[installdir]\\Common7\\IDE\\Extensions\\1uqmtldb.eug","files":[{"fileName":"/extension.vsixmanifest","sha256":null},{"fileName":"/SmartCmdArgs17.dll","sha256":null},{"fileName":"/Microsoft.Bcl.AsyncInterfaces.dll","sha256":null},{"fileName":"/System.Threading.Tasks.Extensions.dll","sha256":null},{"fileName":"/Microsoft.Extensions.DependencyInjection.dll","sha256":null},{"fileName":"/Microsoft.Extensions.DependencyInjection.Abstractions.dll","sha256":null},{"fileName":"/Microsoft.VisualStudio.ProjectSystem.Managed.dll","sha256":null},{"fileName":"/System.Numerics.Vectors.dll","sha256":null},{"fileName":"/SmartCmdArgs17.pkgdef","sha256":null},{"fileName":"/SmartCmdArgs17.imagemanifest","sha256":null},{"fileName":"/Resources/BigIcon.png","sha256":null},{"fileName":"/Resources/vsix_preview_image.png","sha256":null}],"installSizes":{"targetDrive":1173765},"dependencies":{"Microsoft.VisualStudio.Component.CoreEditor":"[17.0,18.0)"}}

@kim2048
Copy link

kim2048 commented Apr 3, 2024

grafik

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

can you try the old version (v2.6.0) of the extension?

@kim2048
Copy link

kim2048 commented Apr 3, 2024

2.6.0 loads fine, the fusion 2.0.1.0 log wasn't touched:

grafik

Any other log you want to see?

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

SmartCmdArgs-vs2022-v3.0.2.1.vsix.zip
can you try this version? (Had to zip it because github does not like vsix files)

@kim2048
Copy link

kim2048 commented Apr 3, 2024

Doesn't work.

  <entry>
    <record>1296</record>
    <time>2024/04/03 12:10:59.755</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [CmdArgsPackage]Source: &apos;SmartCmdArgs17&apos; Description: Could not load file or assembly &apos;Microsoft.VisualStudio.ProjectSystem.Managed, Version=17.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;System.IO.FileNotFoundException: Could not load file or assembly &apos;Microsoft.VisualStudio.ProjectSystem.Managed, Version=17.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;File name: &apos;Microsoft.VisualStudio.ProjectSystem.Managed, Version=17.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&apos;&#x000D;&#x000A;   at SmartCmdArgs.Services.VisualStudioHelperService.AddProjectState(IVsHierarchyWrapper pHierarchy)&#x000D;&#x000A;   at SmartCmdArgs.Services.VisualStudioHelperService.&lt;InitializeAsync&gt;d__55.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A;   at SmartCmdArgs.CmdArgsPackage.&lt;InitializeAsyncServices&gt;d__25.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at SmartCmdArgs.CmdArgsPackage.&lt;InitializeAsync&gt;d__23.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A;   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.AsyncPackage.&lt;&gt;c__DisplayClass21_0.&lt;&lt;Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize&gt;b__1&gt;d.MoveNext()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)&#x000D;&#x000A;   at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)&#x000D;&#x000A;&#x000D;&#x000A;Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll&#x000D;&#x000A;Running under executable  C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe&#x000D;&#x000A;--- A detailed error log follows. &#x000A;&#x000D;&#x000A;=== Pre-bind state information ===&#x000D;&#x000A;LOG: DisplayName = Microsoft.VisualStudio.ProjectSystem.Managed, Version=17.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#x000A; (Fully-specified)&#x000D;&#x000A;LOG: Appbase = file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/&#x000D;&#x000A;LOG: Initial PrivatePath = NULL&#x000D;&#x000A;Calling assembly : SmartCmdArgs17, Version=2.6.0.1, Culture=neutral, PublicKeyToken=null.&#x000D;&#x000A;===&#x000D;&#x000A;LOG: This bind starts in LoadFrom load context.&#x000D;&#x000A;WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().&#x000D;&#x000A;LOG: Using application configuration file: C:\Users\kgrawert\AppData\Local\Microsoft\VisualStudio\17.0_4a195583\devenv.exe.config&#x000D;&#x000A;LOG: Using host configuration file: &#x000D;&#x000A;LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.&#x000D;&#x000A;LOG: Redirect found in application configuration file: 17.5.0.0 redirected to 17.9.0.0.&#x000D;&#x000A;LOG: Post-policy reference: Microsoft.VisualStudio.ProjectSystem.Managed, Version=17.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/USERS/KGRAWERT/APPDATA/LOCAL/MICROSOFT/VISUALSTUDIO/17.0_4A195583/EXTENSIONS/U3KAKANX.CIT/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;WRN: Comparing the assembly name resulted in the mismatch: Minor Version&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/USERS/KGRAWERT/APPDATA/LOCAL/MICROSOFT/VISUALSTUDIO/17.0_4A195583/EXTENSIONS/U3KAKANX.CIT/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/USERS/KGRAWERT/APPDATA/LOCAL/MICROSOFT/VISUALSTUDIO/17.0_4A195583/EXTENSIONS/U3KAKANX.CIT/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/USERS/KGRAWERT/APPDATA/LOCAL/MICROSOFT/VISUALSTUDIO/17.0_4A195583/EXTENSIONS/U3KAKANX.CIT/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.&#x000D;&#x000A;</description>
    <guid>{131B0C0A-5DD0-4680-B261-86AB5387B86E}</guid>
    <hr>0x80070002</hr>
    <errorinfo></errorinfo>
  </entry>

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

2.6.0 loads fine, the fusion 2.0.1.0 log wasn't touched:

grafik

Any other log you want to see?

Can you show me the log for 17.9.0.0 because there is a redirect in the log file of 2.0.1.0 to 17.9.0.0.
And can you check which was from our assembly? (Calling assembly : SmartCmdArgs17)

@kim2048
Copy link

kim2048 commented Apr 3, 2024

I started VS again and 17.5.0.0 was the only touched file:

<meta http-equiv="Content-Type" content="charset=unicode-1-1-utf-8"><!-- saved from url=(0015)assemblybinder: --><html><pre>
*** Assembly Binder Log Entry  (03.04.2024 @ 14:22:56) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable  C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.ProjectSystem.Managed, Version=17.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
 (Fully-specified)
LOG: Appbase = file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = devenv.exe
Calling assembly : SmartCmdArgs17, Version=2.6.0.1, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Users\kim\AppData\Local\Microsoft\VisualStudio\17.0_4a195583\devenv.exe.config
LOG: Using host configuration file: 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Redirect found in application configuration file: 17.5.0.0 redirected to 17.9.0.0.
LOG: Post-policy reference: Microsoft.VisualStudio.ProjectSystem.Managed, Version=17.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///c:/users/kim/appdata/local/microsoft/visualstudio/17.0_4a195583/extensions/u3kakanx.cit/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Assembly download was successful. Attempting setup of file: c:\users\kim\appdata\local\microsoft\visualstudio\17.0_4a195583\extensions\u3kakanx.cit\Microsoft.VisualStudio.ProjectSystem.Managed.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: Microsoft.VisualStudio.ProjectSystem.Managed, Version=17.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
WRN: Comparing the assembly name resulted in the mismatch: Minor Version
ERR: The assembly reference did not match the assembly definition found.
ERR: Run-from-source setup phase failed with hr = 0x80131040.
LOG: Attempting download of new URL file:///c:/users/kim/appdata/local/microsoft/visualstudio/17.0_4a195583/extensions/u3kakanx.cit/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///c:/users/kim/appdata/local/microsoft/visualstudio/17.0_4a195583/extensions/u3kakanx.cit/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///c:/users/kim/appdata/local/microsoft/visualstudio/17.0_4a195583/extensions/u3kakanx.cit/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: All probing URLs attempted and failed.

</pre></html><meta http-equiv="Content-Type" content="charset=unicode-1-1-utf-8"><!-- saved from url=(0015)assemblybinder: --><html><pre>
*** Assembly Binder Log Entry  (03.04.2024 @ 14:22:56) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
Running under executable  C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe
--- A detailed error log follows. 

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.VisualStudio.ProjectSystem.Managed, Version=17.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
 (Fully-specified)
LOG: Appbase = file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = devenv.exe
Calling assembly : SmartCmdArgs17, Version=2.6.0.1, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: Using application configuration file: C:\Users\kim\AppData\Local\Microsoft\VisualStudio\17.0_4a195583\devenv.exe.config
LOG: Using host configuration file: 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Redirect found in application configuration file: 17.5.0.0 redirected to 17.9.0.0.
LOG: Post-policy reference: Microsoft.VisualStudio.ProjectSystem.Managed, Version=17.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/PrivateAssemblies/DataCollectors/x64/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///c:/users/kim/appdata/local/microsoft/visualstudio/17.0_4a195583/extensions/u3kakanx.cit/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Assembly download was successful. Attempting setup of file: c:\users\kim\appdata\local\microsoft\visualstudio\17.0_4a195583\extensions\u3kakanx.cit\Microsoft.VisualStudio.ProjectSystem.Managed.dll
LOG: Entering run-from-source setup phase.
LOG: Assembly Name is: Microsoft.VisualStudio.ProjectSystem.Managed, Version=17.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
WRN: Comparing the assembly name resulted in the mismatch: Minor Version
ERR: The assembly reference did not match the assembly definition found.
ERR: Run-from-source setup phase failed with hr = 0x80131040.
LOG: Attempting download of new URL file:///c:/users/kim/appdata/local/microsoft/visualstudio/17.0_4a195583/extensions/u3kakanx.cit/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.DLL.
LOG: Attempting download of new URL file:///c:/users/kim/appdata/local/microsoft/visualstudio/17.0_4a195583/extensions/u3kakanx.cit/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: Attempting download of new URL file:///c:/users/kim/appdata/local/microsoft/visualstudio/17.0_4a195583/extensions/u3kakanx.cit/Microsoft.VisualStudio.ProjectSystem.Managed/Microsoft.VisualStudio.ProjectSystem.Managed.EXE.
LOG: All probing URLs attempted and failed.

</pre></html>

@kim2048
Copy link

kim2048 commented Apr 3, 2024

Here are the 3 files:

fusion.zip

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

SmartCmdArgs-vs2022-v3.0.2.2.vsix.zip
You can try this kind of hacky version if you want, but I have to pause this for now and take a detailed look at it on the weekend.

@kim2048
Copy link

kim2048 commented Apr 3, 2024

Ok, last try... and it works :)

I will use it the next days and notify you if something does not work. Thanks a lot!

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

Great to hear, but I wont make this a official release I think. The amount of dependency version warnings I got when compiling was kind of scary 😅.
It would be great to have a way to contact you if I need someone to test some better solution, do you have a E-Mail I could use or something else?

@mburetorp
Copy link

You should consider rolling back this release, VS auto-updated this plugin which blocked some programmers in the company I work for. The solution was to rollback to 2.6 manually.

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

Ok I will do that. It is kind of annoying that VisualStudio auto updates a version that is tagged as "preview".

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

I really could use this feature right now: microsoft/vsmarketplace#875

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

I uploaded a "new" version v3.1 which is the same as v2.6.

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

@kim2048 could you please do me a favor and check the "C:\Users\kim\AppData\Local\Microsoft\VisualStudio\17.0_4a195583\devenv.exe.config" file? The version redirects are read from there. Somewhere in that file there should be a section that looks something like this:

<dependentAssembly>
	<assemblyIdentity name="Microsoft.VisualStudio.ProjectSystem.Managed" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
	<bindingRedirect oldVersion="0.0.0.0-17.8.0.0" newVersion="17.8.0.0"/>
	<codeBase version="17.8.0.0" href="c:\program files\microsoft visual studio\2022\community\common7\ide\extensions\microsoft\managedprojectsystem\Microsoft.VisualStudio.ProjectSystem.Managed.dll"/>
</dependentAssembly>

The <codeBase> tag points to the location where the new version should be found. Where does this point to on your machine? Is there a file?

@kim2048
Copy link

kim2048 commented Apr 3, 2024

Hi, there is no <codeBase> tag, neither a Microsoft.VisualStudio.ProjectSystem.Managed.dll entry.

<dependentAssembly>
	<assemblyIdentity name="Microsoft.VisualStudio.ProjectSystem.Managed" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
	<bindingRedirect oldVersion="0.0.0.0-17.9.0.0" newVersion="17.9.0.0"/>
</dependentAssembly>

@mackie89
Copy link

mackie89 commented Apr 3, 2024

I was also receiving something very similar to this in VS2019 when it auto updated to 3.0, rolling back to 2.6 fixed it. I can go back to 3.0 at some point if you need logs etc. My panel was showing, expect it was failing to load, and the panel itself was showing exception info. I'm also a C++ only setup.

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

Ok, I could reproduce the issue in a VM and figured out a solution (which was surprisingly simple, as it often is).
Could you try v3.0.3 and report back if the issue is gone for you too or if it's just me. 😄

@mackie89
Copy link

mackie89 commented Apr 3, 2024

No that sadly made it worse, VS opened, the loading the solution and projects pop up appeared, finished, closed, but then VS just "hung" with the spinning mouse icon. My layout didn't load in I was just waiting in an empty VS with no panels / layout. It didn't make VS unresponsive just stayed in the solution initialization phase of VS startup. I opened VS without the solution, disabled the plugin, and then was able to get in to the solution (without my cmd arg panel anymore). I reenabled the plugin, was able to open the solution (still without the panel), as soon as I went into View > Other Windows, VS completely locked up.

@Irame
Copy link
Collaborator

Irame commented Apr 3, 2024

Ok, that sounds like a different problem. Can you check the ActivityLog.xml? You might have to enable logging first.

@kim2048
Copy link

kim2048 commented Apr 3, 2024

v3.0.3 is working on my machine \o/

@mackie89
Copy link

mackie89 commented Apr 4, 2024

Sure, would you like me to get logs for the original issue or the VS hanging (assuming it saves the logs when it gets stuck).

@Irame
Copy link
Collaborator

Irame commented Apr 4, 2024

@mackie89 I suspect the original problem was the same as the one Kim had. (Trying to load Microsoft.VisualStudio.ProjectSystem.Managed 17.9.0.0, which it can't find.)

So checking the logs for the new issue would be great but if you have time to do both, I would also appreciate that.

It would be great if you could create a new Issue for the "hang problem" with the info you gathered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants