Debugging of visual studio assembly loading for template

Hi! Trying to create a multifile template, that uses a wizard to just calculate some names for replacement. However, when I try to use it, it errors out with an "Template attempted to load component assembly 'TangoGatewayTemplates.dll'. I am not getting what error it had. Tried launching visual studio with the log enabled, and it doesn't seem to show up in the log. Any tips on how to get more information about what went wrong? As is, I am not sure if it's that it's not finding the assembly, or if its having trouble loading it after it's found it.
10 Replies
Jose Rizal
Jose Rizal4d ago
it sounds like the template wizard is failing to load your assembly enable fusion/assembly binding logging or use fuslogvw.exe to get detailed load errors and confirm whether it's a path or dependency issue
SlightlyTango
SlightlyTangoOP4d ago
Ah, that's a blessing, thank you <3.
Unknown User
Unknown User4d ago
Message Not Public
Sign In & Join Server To View
SlightlyTango
SlightlyTangoOP4d ago
Actually, fuslogw doesn't show it even trying to load the assembly, at all. It shows it loading everything else, but not that.
SlightlyTango
SlightlyTangoOP4d ago
Like, I can tell that it's loading the template fresh and everything, But it's not showing up.
No description
SlightlyTango
SlightlyTangoOP4d ago
Hmm. It's.. not signing the vsix file nor the assembly, despite being configured to. The error was that [ProvideBindingPath] needed to be on the asyncpackage. Thanks random two page deep google search
Jose Rizal
Jose Rizal3d ago
dm
SlightlyTango
SlightlyTangoOP3d ago
dm?
Jose Rizal
Jose Rizal3d ago
yeah, I will explain about that enough
SlightlyTango
SlightlyTangoOP3d ago
@Jose Rizal Ah, having read about it a bit I think I understand now, it's just a bit sad that the tutorial in microsofts documentation isn't updated to include it. If you want to infodump, be my guest in dm's, I think my settings are open for contact by anyone? So how do you mark one of these threads as done?

Did you find this page helpful?