1

I haven't used Visual Studio ('17) for a while, but recently I've attempted to create an ASP.NET application and received the following error in the form of a dialog. I've also noticed that the option: ASP.NET Web Application has been replaced.

Error: this template attempted to load component assembly 'Microsoft.VisualStudio.Web.Project, Version[equalstosign]2.3.0.0, Culture[equalstosign]neutral, PublicKeyToken[equalstosign]b03f5f7f11d50a30a'.For more information on this problem and how to enable this template, please see documentation on customizing project templates.

4
  • What have you tried so far ? How does it react to anything you did ? Like re-opening etc... ? Did you reboot ? Did you uninstall packages that Visual Studios might need ? Have you tried reinstalling or repairing your install ? If you feel lost about how to describe your problem, look at how-to-ask Commented Mar 15, 2018 at 16:07
  • There are already some similar questions : stackoverflow.com/questions/20386758/… && stackoverflow.com/questions/30656261/… Commented Mar 15, 2018 at 16:07
  • @Antry, yes I have tried to experiment with various .net framework versions i.e. switching from version 4.5.2 to 4.5.1. Commented Mar 15, 2018 at 16:20
  • @SydneyKhanye Changing the .net framework won't do anything anyways, it's just the target for your project, but from what I understand you can't even access it. I'd give JimmyFL's solution a go as well as everything I proposed, I'd be surprised if 1 of these procedures didn't fix you problem. Commented Mar 15, 2018 at 16:23

1 Answer 1

1

A workaround for this is to edit C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\devenv.exe.config and add to the section:

<dependentAssembly>
  <assemblyIdentity name="Microsoft.VisualStudio.Universal.TemplateWizards" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
  <bindingRedirect oldVersion="14.0.0.0" newVersion="15.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
  <assemblyIdentity name="Microsoft.VisualStudio.WinRT.TemplateWizards" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
  <bindingRedirect oldVersion="14.0.0.0" newVersion="15.0.0.0"/>
</dependentAssembly>
Sign up to request clarification or add additional context in comments.

2 Comments

Thanks mate, apparently it was caused by a node extension I had installed earlier on.
Thanks for updating me. Glad you resolved the problem =)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.