<p>I have a website with a mix of ASP (classic) and ASP.NET pages.</p>

<p>For some reason Visual Studio (specifically 2008 Pro) keeps trying to compile the ASP classic pages.</p>

<p><strong><em>How do I prevent it from trying to compile the .asp pages?</em></strong></p>

<p>Reason: I'm getting a ton of errors on a specific .asp file that includes a Class. I believe it's trying to compile it as a Visual Basic class instead of seeing it as a vBScript class. It should be skipping over .asp files anyway, correct?</p>

<p>Here is the error:</p>

<blockquote>
  <p>Property Get/Let/Set are no longer
  supported; use the new Property
  declaration syntax.</p>
</blockquote>

What is in the @Page directive on those classic ASP pages? Have you tried inserting
```
<% @Page language="vbscript" %>
```
Maybe this does it already?