Can I use XAML Designer in a CMake-controlled project?

79 Views Asked by At

I have a CMake project which I've opened in Visual Studio 2022 Professional as a directory, using a CMakePresets.txt to make some build presets.

I have a dotnet new wpf project added to this CMake project with include_external_msproject(....csproj TYPE "FAE04EC0-301F-11D3-BF4B-00C04F79EFBC").

I want to be able to design the .xaml files using the WYSIWYG XAML Designer tool in Visual Studio, but don't have that option in this directory view (which is mandated for the CMakePresets integration).

Is this possible?

Workaround for now is to configure CMake, and then open the .sln with Visual Studio. I can then find the project in the list and use the designer. It's just clunky to have to re-open the same project a different way.

0

There are 0 best solutions below