none
How to change Code-Behind default to C# from VB in WPF solution? RRS feed

  • Question

  • Hello,
     
    I've just installed beta 2 of VS2008, and created my first solution. Window1.xaml came up with a code behind of Window1.xaml.vb. I'd like to use C# exclusively for the project. How can I configure VS so that it uses C#? How can I change the existing project to default to C#?
    Wednesday, September 19, 2007 1:55 PM

Answers

  • You have this option when first creating the project

     

    File > New > Project ,,,

     

    then under Project types: select

     Other Languages > Visual C# > Windows

     

    then select WPF Application

    Wednesday, September 19, 2007 5:41 PM