Cообщество разработчиков на платформе Microsoft > Форумы > Visual Studio WPF Designer > Cannot edit WPF application in design view in Visual C# 2008 Express - all tools greyed out
Задайте вопросЗадайте вопрос
 

ОтвеченоCannot edit WPF application in design view in Visual C# 2008 Express - all tools greyed out

  • 2 июля 2009 г. 22:10k0065126 Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     
    I have installed Visual C# 2008 Express on my Vista and Win7 RC1 computers.  It appears to work correctly on Vista.

    If I create a WPF Application, or load one supplied with the book 'Microsoft Visual C# 2008 Step by Step' I have a problem on Win7.

    There is no way I can add a control to the form because the tools in the toolbox are all greyed out.  I have ensured that I am clicking the title bar of the form and the Properties window shows System.Windows.Window.  If I edit the Title property that is reflected in what is displayed in the form, and I am able to edit the XAML window below the Form Designer to add controls but the tools are still greyed out.

    I did try a repair install but nothing changed, even when I used Compatablity Mode.  I have also tried uninstalling C# and all other Visual Studio components which installed at the same time and then re-installing C# but that did not solve the problem.  Also I have noticed that the Recent Projects list is still populated with the same programs which were there before I did the uninstall, suggesting that the uninstall was incomplete.

    When I did the re-install using vcssetup.exe I used compatability mode (Vista SP20), and have tried running C# in compatability mode as well.  Neither of this helped.

    Can anyone suggest what the problem is please, and how to overcome it, as I have run out of ideas.

    Viv

Ответы

Все ответы