assembly-references

Visual Studio 2008 and 2010 behave differently when referencing assemblies in the file system??

I am seeing a strange phenomenon in Visual Studio 2010. My project setup is this (I inherited this - can't change it any time soon, unfortunately :-(): a Winforms app that uses Crystal Reports X (v10) as its reporting engine; full CR X Developer Edition is installed on my dev box several Webforms apps that use Crystal Reports XI (v11)...

Referencing VBA assembly in c#

Guys, How do I reference VBA assembly in C# application from Visual Studio 2010? I can not find it in "Add Reference" dialog box. This is the reason why I need it: Error 1 The type 'VBA.Collection' is defined in an assembly that is not referenced. You must add a reference to assembly 'VBA, Version=6.0.0.0, Culture=neutral, Public...

Why is System.Web.Mvc not listead in Add References?

Using C#, Visual Studio 2010. There is a namespace called System.Web.Mvc documented on MSDN. The documentation for all the types in that namespace says that they are in System.Web.Mvc.dll. However, when I go to Add Reference, “.NET” tab, this assembly is missing from the list. Why? ...

File upload issue MVC - assembly reference

I'm trying to put together a page whereby a user can upload a file, and it goes to a database. I'm following a tutorial, and my controller method so far looks like this: public ActionResult Index() { ViewData["Message"] = "File Upload"; foreach (string upload in Request.Files) { if (!Request.Files[upload].HasFile()...