title: Custom AuthorizeAttribute not called
body: <p>There are a lot of similar questions out there but this has me stumped.</p>
  
  <p>If I used [Authorize] I get prompted for a username and password but if I  use [InternalAuthorizeV2] I don't</p>
  
  <p>I have a custom AuthorizeAttribute that for the moment does not do any anything special (I'm limiting things that could be wrong).</p>
  
  <pre><code>[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
      public class InternalAuthorizeV2Attribute: AuthorizeAttribute
      {}
  </code></pre>
  
  <p>and a Action in my Controller </p>
  
  <pre><code>   [InternalAuthorizeV2(Roles = "MobileApps_Parkingggg")]
           public ActionResult Index()
           {
               var model = new VmParking();
               return View(model);
           }
  </code></pre>
  
  <p>The login is handled in a different app  but they have identical web config lines</p>
  
  <pre><code>   &lt;machineKey compatibilityMode="Framework20SP2" validationKey="editedOut" decryptionKey="editedOut" validation="SHA1" decryption="AES"/&gt;
        &lt;authentication mode="Forms"&gt;
            &lt;forms name="emLogin" loginUrl="/Login/Index" timeout="540" protection="All" path="/"  enableCrossAppRedirects="true"  cookieless="UseCookies" /&gt;
        &lt;/authentication&gt;
      &lt;sessionState timeout="540" /&gt;
  </code></pre>
  
  <p>I know that if I login by going to a page with [Authorize] then back to my trouble page I can see the username but it doesn't seem to be calling my customer attribute.</p>
  
  <p><strong>New information:</strong>
  My attribute is in a shared DLL as it's used by many apps. It seems that if I copy the cs file to the web project it works. No idea why, still looking for hints or tips.</p>