title: C# - I cannot reference HttpPostedFileBase
body: <p>I am using MVC .NET in a distributed environment with CSLA and I <strong>can</strong> reference HttpPostedFileBase from one of my web layers (eg Website.MVC), but I <strong>cannot</strong> reference HttpPostedFileBase from a separate layer (lets call it OtherLayer.Web).  </p>
  
  <p>Any idea on what I need to do to be able to call HttpPostedFileBase ?
  I am able to use HttpPostedFile in both layers - should I just use this instead?</p>
  
  <p>The assembly references are basically the same - in Website.MVC I have:</p>
  
  <pre><code>namespace Website.Mvc.Controllers
  {
    using System;
    using System.Collections;
    using System.Collections.Generic;
    using System.Web.Mvc;
    using System.Web;
    using System.IO;
    using PetOrganizer.Mvc.Helpers;
    using TrupanionPetInsurance.Web;
  </code></pre>
  
  <p>Whereas in my other layer i have:</p>
  
  <pre><code>namespace OtherLayer.Web
  {
    using System;
    using System.Collections;
    using System.Collections.Generic;
    using System.Collections.Specialized;
    using System.Data;
    using System.Data.SqlClient;
    using System.IO;
    using System.Net.Mail;
    using System.Text;
    using System.Text.RegularExpressions; 
    using System.Web;
    using System.Web.Mvc;
    using System.Web.Security;
    using System.Xml;
    using System.Xml.Serialization;
    using Csla;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using TruDat.BusinessLayer;
    using TruDat.BusinessLayer.Billing;
    using TruDat.BusinessLayer.Data;
    using TruDat.BusinessLayer.Utility;
    using TrupanionPetInsurance.Web.EmailTemplateParser;
    using TruDat.BusinessLayer.DataServices;
  </code></pre>