1
Vote

PropertyGrid not visible in vs2012 Xaml designer

description

I created a new wpf project and added the references and xaml tag. The xaml designer gives the following message:
FileNotFoundException: Could not load file or assembly 'System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes' or one of its dependencies. The system cannot find the file specified.
When I compile the project it works just fine. Also the PropertyTools samples work normally and the grid is visible in the xaml designer.
Maeby this is related to the fact that I'm not using mvvm.

comments

BlackDogSpark wrote Aug 1, 2014 at 9:45 AM

The problem went away when I cloned the source and added PropertyTools.Wpf_NET40 and PropertyTools_PCL project to my solution.

objo wrote Aug 6, 2014 at 10:27 AM

Do you have the latest VS updates installed? I think this is a bug in VS XAML designer and not in the PCL library.