Where is my C# file in my Visual Studio 2013 project?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bluenose
    New Member
    • Apr 2012
    • 56

    Where is my C# file in my Visual Studio 2013 project?

    Hello

    Where do I find my C# file in my Visual Studio project, please?

    I have Solution Explorer open and can see my Register.aspx and Register.aspx.v b file.

    If I need to type in some C# code to add to my Web page project, where would I do that?

    Thank you.
  • yarbrough40
    Contributor
    • Jun 2009
    • 320

    #2
    if this is a website (as opposed to a web application) you can create a folder called App_Code in the top level directory. Your C# code will compile alongside your vb code.

    Comment

    • Bluenose
      New Member
      • Apr 2012
      • 56

      #3
      Thank you, Yarborough, for your reply.

      In Solution Explorer, I already have a App_Code folder with vb files in it.

      It would be best if I just started a whole new C# project, wouldn't it?

      Thanks

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        You can add the C# code/project to your solution to keep it all in one project.

        -Frinny

        Comment

        • Bluenose
          New Member
          • Apr 2012
          • 56

          #5
          I think that's best. It's tidier. I just have to learn it first :)

          Comment

          Working...