Blending in Visual Studio 2015 - No Design

I am attached to creating an application in Visual Studio 2015 in C #, and I want to create a user interface using Blend. But this only shows me the code in MainPage.xaml, not the graphic view. What should I do? Here is what it looks like

enter image description here

+7
visual-studio-2015 blend
source share
4 answers

You must change the target version of the assembly application 10240. The default value is 10586, and the constructor does not load.

+6
source share

Follow these steps:

  • Close the editor on the page.
  • Right-click on the HTML page that will be edited in Solution Explorer.
  • Choose Open With .
  • Find the HTML (Web Forms) Editor entry and click on it.
  • (Optional) Click Set as Default .
  • Click OK .
  • Double-click the page to open it, and at the bottom of the IDE you will see Design , Split and Source .
  • Click Design .
+2
source share

Sorry for the late answer and potential solution, but I find it good to write down the solution I found. I ran into this problem (with VB project). The problem was caused when I put the label on the form and then I got some strange error ... I told VS (Community 2015) to ignore the error, because I was going to delete the element anyway ... but in the process, VS decided to completely split the Form1.vb file (it was muffled) and SAVE it when I never talked about it, to do this ...

The solution was to manually edit the Form1.vb file and restore what should have been there, which in my case was simple:

Public Class Form1 End Class

After making this change manually, I was able to open the project again, and the Design View was again available (by right-clicking). Again, I’m not sure why VS decided to save her working program after she caught some kind of error (what is the LAST that you would like to do when you get the error message!), But I assume that it simply means that I need to be more careful and make backups when I program to get around this crazy behavior.

0
source share

Switch between Design, Code and Split modes by pressing F11 According to https://msdn.microsoft.com/en-us/library/jj170161.aspx

If this does not work, try Shift-f7 or right-click the file in the solution explorer and select View Designer

-one
source share

All Articles