how to incorporate c# files in vb.net asp.net project

how to incorporate c# files in vb.net asp.net project


Answer this question

how to incorporate c# files in vb.net asp.net project

  • Pr0fess0rX

    im not sure entirely. AFAIK you may not be able to add them as an existing item since the project type is different. you may need to create a new blank project of C# and add it into your solution, then add files in there which are .cs files, then access them from your VB project.



  • Boldie

    Make subdirectories (in this example VB and CS) in your \App_Code folder and add the following to your web.config

    <compilation>
    <codeSubDirectories>
    <add directoryName="VB"></add>
    <add directoryName="CS"></add>
    </codeSubDirectories>
    </compilation>


  • how to incorporate c# files in vb.net asp.net project