Resolved: An error occurred trying to load the page. Could not load file or assembly ‘Microsoft.VSDesigner, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.

I come across the following error while working on the .NET C# project. When I try to open the project properties window I got the following error

An error occurred trying to load the page. Could not load file or assembly ‘Microsoft.VSDesigner, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.

I was using the visual studio 2022 community edition. When I investigate the issue, it seems to happen in all VS versions.

Solution

The main cause is your VS installation is corrupt. In order to quickly fix this error, you need to

  • Reinstall VS again.
  • Repair your VS installation using Visual Studio Installer.

You can find VS Installer in the Start menu in Windows, search for “installer”, and then select Visual Studio Installer from the results.

About the author

Naveed Ul-Haq

I am a UK-based Technical Architect, Founder & Technology Evangelist. I'm Optimizely MVP & Optimizely SME on Content Cloud and Commerce Cloud. I love working on .NET-based CMS, eCommerce solutions, .NET Core, DevOps, and Cloud computing. I'm also a Certified Optimizely Content Cloud Developer, Certified Optimizely Commerce Cloud developer, Optimizely B2B Commerce developer and Microsoft Certified Professional in Azure application development. I spend my free time with my family and reading books. You can contact me at hello@naveedulhaq.com

View all posts

Leave a Reply

Your email address will not be published.