Domanda

I have an ASP.Net MVC3 Project which references System.Web.Helpers v2.0 and System.Web.WebPages v2.0 These both come with MVC4 and is part of razor2. However, my colleague doesn't have MVC4 installed, and doesn't have VS2012 installed, just vs2010 like myself. And his project compiles without the reference issue. Visual Studio 2010 SP1 installed: Version 10.0.40219.1. SP1Rel

I recently installed Windows 8 on a new PC but our project requires vs2010 and can't run on vs2012.
This project was working fine on another PC which had vs2012 installed. The new PC has: C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0 but not: C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v2.0

but my colleague has the latter folder and the v2.0 assemblies - without MVC4, and without vs2012 installed. How is this possible?

È stato utile?

Soluzione 2

How is this possible? -- After a lot of hit and miss, I found out that my colleague has Microsoft WebMatrix. This product when installed happens to implement razor v2 and installs the mentioned assemblies in the directory: C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v2.0

Altri suggerimenti

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top