Error referencing System.Web.Mvc from csc in Visual Studio 2010 RTM

Posted by ripper234 on Stack Overflow See other posts from Stack Overflow or by ripper234
Published on 2010-04-16T14:51:09Z Indexed on 2010/04/16 14:53 UTC
Read the original article Hit count: 729

csc /target:library /reference:System.dll,System.Web.dll,System.Web.Mvc.dll Foo.cs

Microsoft (R) Visual C# 2010 Compiler version 4.0.30319.1 Copyright (C) Microsoft Corporation. All rights reserved.

error CS0006: Metadata file 'System.Web.Mvc.dll' could not be found

(Note - it does exist in the GAC!)

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about visual-studio-2010