2
votes

**c:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(0,0): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

an any body tell me what is this message?

When I am deploying my ASP.net MVC application using TFS i am getting this error message?

3

3 Answers

4
votes

I suspect that this mean that you don't have MVC2 installed on the target machine and it's warning you that when the app is compiled there it will fail.

2
votes

Maybe you need to install MVC 2 on the computer you are deploying to.

0
votes

Set "Copy Local" to "true" on the System.Web.Mvc in the References of your project and deploy with System.Web.Mvc.dll in your bin folder.