XAML designer doesn't work in my visual studio 2019 [duplicate] - xaml

This question already has answers here:
xaml designer or previewer is not showing
(2 answers)
Closed 1 year ago.
why XAML designer isn't available in my visual studio 2019 enterprise?
every thing in options is right and hot reload is active but I couldn't access to XAML designer.
in Xamarin android and WPF every thing is ok but in Xamarin forms not!

from the docs
The XAML Previewer has been deprecated in Visual Studio 2019 version
16.8 and Visual Studio for Mac version 8.8, and replaced by the XAML Hot Reload feature in Visual Studio 2019 version 16.9 and Visual
Studio for Mac version 8.9. Learn more about XAML Hot Reload in the
documentation.

Related

VB Razor (*.VBHTML) IntelliSense isn't working with Visual Studio 2022

In Visual Studio 2019 *.vbhtml files were working fine in my computer. After upgrading to Visual Studio 2022, C# IntelliSense and highlighting are still working, but in VB IntelliSense and highlighting fully disappear.
Also, any attempt at adding VB templates (Microsoft.VisualStudio.Web.CodeGeneration.Design) became forbidden.
Is there a way to bypass these restrictions and unblock VB in Razor Pages with some tuning of Visual Studio or with some extension for Visual Studio or with some 3rd party product?
Razor Pages are no longer supported in VB.NET after MVC5. As noted, editing and compilation (without IntelliSense) did work under Visual Studio 2019, but that functionality has been removed in Visual Studio 2022.
A working alternative for MVC and Razor Page projects in VB.NET under .NET Core 6 is Vazor, which can be found here.
My final solution you can see there https://github.com/Alex-1557/SplitViewAndCodeInAsp.Net.Core.Project/tree/main
Yes, have I lost opportunity to use VB in View and VBHTML, but I receive opportunity to split ASP.NET Core project to 2 full different projects.
For connect static files to root I have rebuilded this extension https://marketplace.visualstudio.com/items?itemName=CeciliaWiren-CeciliaSHARP.FolderToSolutionFolder
for Visual Studio 2022 - https://marketplace.visualstudio.com/items?itemName=alexev14.AddFolderToSolutionForVS2022

No XAML Hot Reload for WinUI projects in either VS2019 or VS2022

I've tried with both Visual Studio 2019 (16.11.5) and Visual Studio 2022 (17.0.0 P5), but am unable to get XAML Hot Reload working for WinUI projects (both UWP and Desktop types).
WPF project's are unaffected and XAML Hot Reload continues to work.
Can anyone offer any suggestions?
I'm running Windows 10 20H2 and have the extension Windows App SDK (Experimental) 1.0.0.50489432 installed, with Hot Reload enabled across all frameworks:

Unknown type 'AppBarButton' in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'

enter image description here
Unknown type 'AppBarButton' in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'
I cannot reproduce the error with Visual Studio 2015 and Visual Studio 2017 by UWP app. I guess you are using Visual Studio 2012 and developing Windows 8 app.
If in that case, you may need to use Visual Studio 2013 or higher and developing a windows 8.1 app or higher. It seems like AppBarButton is not supported in windows phone 8. More details please reference this thread.
By the way, you may need to detail your question about what you want to ask. Details please see how to ask.

Universal Windows App Visual Studio 2015 Community no designer, no controls in toolbox, no properties

I am using Visual Studio Community 2015 to create Universal Windows App.
I am facing following problems-
1. No designer view.
2. No controls in toolbox.
3. Property window don't show any properties of control.
4. No phone emulators are shown after installing EmulatorSetup.exe
Visual Studio Installed Components are as follows
Microsoft Visual Studio Community 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01055
Installed Version: Community
Visual Basic 2015 00322-20000-00000-AA136
Visual C# 2015 00322-20000-00000-AA136
Visual C++ 2015 00322-20000-00000-AA136
Application Insights Tools for Visual Studio Package 4.2.60128.3
ASP.NET and Web Tools 2015.1 (Beta8) 14.1.11106.0
ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0
ASP.NET Web Frameworks and Tools 2013 5.2.30624.0
Common Azure Tools 1.5
JetBrains ReSharper Ultimate 10.0.2 Build 104.0.20151218.120627
JSLint.NET for Visual Studio 2.2.0
Microsoft Azure Mobile Services Tools 1.4
NuGet Package Manager 3.3.0
PreEmptive Analytics Visualizer 1.2
SQL Server Data Tools 14.0.50616.0
TypeScript 1.7.6.0
Visual Studio Tools for Universal Windows Apps 14.0.24720.00
Web Essentials 2015.1 1.0.209
I have had the same problem and the only way I have got the designer to work is (and this should work if build 10240 is acceptable for your development):
Open your project
Go under "Project" to "Properties"
Select "Application" on the left and change BOTH the target version and the min version to "Windows 10 (10.0; Build 10240)
Once you do that the XAML designer will start working again. I've had to do this on 4 different workstations and it's worked everytime.
As to why build 10568 doesn't work? Got me, agile development, will be fixed in a patch? :p
I had the same problem and could not change BOTH versions to Build 10240 as the Application listbox only showed 10586 in Properties/Application. I thought I could arrange that by editing the .csproj file, which is XML after all, but any change there makes all files in the Solution Explorer immediately unavailable. Then I noticed (running Winver.exe) that my W10 still shows build 10240 despite regularly (but not automatically) running Windows updates. Despite multiple solutions tried, this didn't change. I finally used the MediaCreation Tool to download a new Windows 10 on a USB stick and reinstalled Windows 10, preserving apps and data. And now I am really on 10586 ...and the Design mode shows again when I open my project.
I hope this helps a few!
If you are looking for the SSIS toolbox, click SSIS tab, then SSIS Toolbox.

Visual Studio Express 2015 for windows 10 does't have visual basic form template

I can't find that, is there a problem? Please I can't find it not even in the C# or C++ or javascript, please HELP!
Visual Studio Express 2015 for Windows targets the Universal Windows Platform, not WinForms. For WinForms you'll need Visual Studio Express 2015 for Desktop or Visual Studio 2015 Community Edition.
If you meet it's licensing requirements I'd recommend the Community Edition.
See: https://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx