Visual Studio 2012 designer error

余生长醉 提交于 2019-12-04 18:34:00

Same error occurred on my system.
Even I
1. Restarted machine several times
2. Uninstalled and Reinstalled VS 2012

But still I got the same error even in New project.

Since I had no other option left, I reinstalled Windows 8 after formatting my system.
Not sure whether it was the best thing to do, but it worked for me.

Hope it helps :)

You don't need to reinstal your windows you can just restore it and it will solve your problems. I used to have same problems and I solve it with system restore.

Solution

Hi,

I faced the same issue caused by the developer license renewal process. You Dont need to reinstall your windows or even visual studio. This is what fixed my problem.

  1. Just goto PC Settings
  2. Create a new User (windows user)
  3. Logon to the new user account you made.
  4. Start visual studio and open the solution you were working on.

try this before you go for reinstalling your windows.

This following website might help your problem although the problem was on an older visual studio but I doubt it would fix the issue: here

OR,try to put this inside the xaml file:

<ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <!-- 
                Styles that define common aspects of the platform look and feel
                Required by Visual Studio project and item templates
             -->
            <ResourceDictionary Source="Common/StandardStyles.xaml"/>
        </ResourceDictionary.MergedDictionaries>
        <Style x:Key="BigGreenTextStyle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="Green"/>
            <Setter Property="FontSize" Value="36"/>
            <Setter Property="FontFamily" Value="{StaticResource ContentControlThemeFontFamily}"/>
            <Setter Property="TextTrimming" Value="WordEllipsis"/>
            <Setter Property="TextWrapping" Value="Wrap"/>
            <Setter Property="Typography.StylisticSet20" Value="True"/>
            <Setter Property="Typography.DiscretionaryLigatures" Value="True"/>
            <Setter Property="Typography.CaseSensitiveForms" Value="True"/>
        </Style>
        <x:String x:Key="AppName">HelloWorld</x:String>
    </ResourceDictionary>

how to resolve a problem of designer error..

1st ... set the path of temp tmp values as

"C:\Windows.old\Users\Default\AppData\Local\Temp"

2nd goto windows features ..

and make perform this step which is in image ==.. step 2 here

3rd goto visual studio location and left click the icon.

and make perform this step as well==. step 3 here

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!