Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have developed C# application 3.5 dot net frame work.Now I want to add wpf file(UMnu.xaml) and
add this file as starting up my application.
But the below method don't support this file
[STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new UMnu());           // this wont work
        }

Any help thanks in Advance
Masud
Posted

1 solution

Create a brand new WPF app and look at the libraries that it imports. You need those, to support WPF.
 
Share this answer
 
Comments
Mahmudunnabi 9-Aug-10 1:34am    
I have already checked all reference that belong to fresh wpf project and include it in my app.But unfortunately it wasn't worked.Please any Idea.Masud

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900