Reputation: 41
I have a C#(.NET Project) targetted to VS2008 and .net framework 2.0.When i Compile the project i am getting the above error.So,kindly give some suggestions on how to resolve this error.
Namespaces Used:
using System;
using System.Collections;
//using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows;
//using System.Windows.Controls;
using System.Windows.Controls.Control;
using System.Windows.Forms;
Regards, Ranjan VijayKumar.
Upvotes: 4
Views: 6145
Reputation: 5430
If you refer to MSDN you will notice System.Windows.Controls
is not supported by Microsoft .Net Framework 2.0.
Upvotes: 2