The Web project blablabla requires missing web components to run with Visual Studio. ASP.NET Web pages with Razor syntax

missing web pages with razor syntax

Ever encountered this strange popup in VS2010 after several hours of happily working with MVC? And now VS thinks, that something is wrong with your Razor components?

Well the thing might be, that you just updated from SVN and your web.config file was modified in a bad way, say like this :

  <connectionStrings>
<<<<<<< .mine
    <add name="blablaConnectionStringFullSQL" connectionString="some-connection-string" providerName="System.Data.SqlClient" />
    <add name="blablaConnectionStringFullSQLalt" connectionString="some-connection-string" providerName="System.Data.SqlClient" />
=======
    <add name="blablaConnectionStringFullSQLalt" connectionString="some-connection-string" providerName="System.Data.SqlClient" />
    <add name="blablaConnectionStringFullSQL" connectionString="some-connection-string" providerName="System.Data.SqlClient" />
>>>>>>> .r199
  </connectionStrings>

Well at least, this was my case, so as a first shot, take a look at files that conflicted after update.

Hope this helped a bit.

One thought on “The Web project blablabla requires missing web components to run with Visual Studio. ASP.NET Web pages with Razor syntax

Leave a Reply

Your email address will not be published. Required fields are marked *