Using visual studio code for WPF c# app development?

Boom Ba 166 Reputation points
2022-10-06T11:08:34.417+00:00

Can I use visual studio code to create and develop c# based WPF windows applications ?

If so, what else do I need to install alongside visual studio code and how?

Developer technologies | Windows Presentation Foundation
Developer technologies | XAML
Developer technologies | XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Juan C. Alvarez 6 Reputation points
    2022-12-27T16:41:52.033+00:00

    If I'm not mistaken there is a way using PowerShell Pro Tools, as documented here: https://blog.ironmansoftware.com/wpf-vs-code-powershell/

    Note that the extension requires a license (although it has a 14 days trial period)

    1 person found this answer helpful.
    0 comments No comments

  2. Karen Payne MVP 35,596 Reputation points Volunteer Moderator
    2022-10-06T11:28:05.84+00:00

    You can create WPF in VS Code but there is no preview for XAMAL., install the plugin for C# support. To create WPF projects use dotnet CLI new command


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.