Sunday, January 9, 2011

The global template information is out of date

If on one beautiful day, you open a project in your Visual Studio, add a New Item and see this.
(No template information found. See the application log in Event Viewer for more details. To open Event Viewer, click Start, click Control Panel, double-click Administrative Tools, and then double-click Event Viewer)


You are thinking of uninstalling Visual Studio. Don't do it. Try this first:
- Open Event Viewer and find the line like picture. It says that "The global template information is out of date. Regenerate the templates by running 'devenv.exe /installvstemplates' or reinstalling the application."

- Close Visual Studio. Open a Visual Studio Command Prompt with administrator right and run this command "devenv.exe /installvstemplates" without quotes.
- Open Visual Studio and check if the error is solved. If it is not solved, maybe thinking of reinstalling Visual Studio is a good idea. : )

No comments:

Post a Comment

Configuring CSP for Dynamics 365 Event Registration Forms with hCaptcha on Power Pages

When embedding Dynamics 365 event registration forms that use hCaptcha on Power Pages , you need to configure the Content Sec...