MVC2 Annotations dll not found by VS2008 compiler, how do I make it look in the right place?
Posted
by Paul Connolly
on Stack Overflow
See other posts from Stack Overflow
or by Paul Connolly
Published on 2010-04-16T10:04:18Z
Indexed on
2010/04/16
10:13 UTC
Read the original article
Hit count: 448
mvc2
|dataannotations
I have VS2008 SP1 running with .NET 3.5 SP1
I have MVC2 running (with MVC1 uninstalled)
All works ok except when I call the System.Components.DatAnnotations.dll, then the compiler complains of not being able to find it.
Message is:
Could not load file or assembly 'System.ComponentModel.DataAnnotations, Version=99.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I tried repairing and reinstalling SP1 of both VS and .Net framework. I also tried referencing the assembly by browsing to it in the Reference assemblies in Programs directory.
I have tried out most of the Google search result forum results but to no avail, I think it may be something simple which I have over looked.
Any ideas?
© Stack Overflow or respective owner