简体   繁体   中英

C# UWP Designer blank - no frame is showing up

my C# UWP project works... but the designer sometimes is broken. If I do something I save my project and later... the designer shows nothing.. is all blank. I cannot move something from the toolbox into the designer. If I close VS and load the project into Blend, still not there. What kind of dark magic is this? If I create a new project, move all source code to it - it works - until I restart etc.

The designer is unfortunately quite buggy and it is being fully reworked for upcoming releases of Visual Studio.

I would suggest trying to open the project in Blend and checking if the designer works there.

Also - to see the preview, it is sometimes necessary to rebuild the solution so that the designer has the assemblies ready for use.

Important thing to note is that you have to set the x86 target platform to actually see the designer, it does not work properly when the target is set to ARM or x64.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM