title: asp.net web application with c# & vb.net both in codebehind
body: <p>We currently have a asp.net website with some modules developed in VB.Net &amp; some in C# (not just classes but also individual aspx pages and code behind). We figured we wanted to move to web application model as we need to implement CI with TFS.</p>
  
  <p>The problem :</p>
  
  <p>When we create a C# web application, copy the files from website &amp; say convert to web application it gives <code>Could not Parse errors</code> (probably because files are vb.net files)</p>
  
  <p>When we create a VB.NET web application, copy the files &amp; say convert to web application it converts only vb.net pages &amp; on publishing throws error on all c# pages saying <code>Could not load type</code></p>
  
  <p>The asp.net website would work properly with multiple codebehind language support.</p>
  
  <p>Help would be highly appreciated!</p>