Creating a .NET Core 3 (Preview) WPF Application

preview_player
Показать описание
UPDATE: This video no longer applies to .NET Core 3 development. Visual Studio 2019 now ships with .NET Core 3 project templates.

Learn how to create a new WPF Application using the new .NET Core 3 Preview platform.

Update: As of SDK build 9754 the Project markup has changed. Please visit this link for updated code

Follow me on Twitter
Рекомендации по теме
Комментарии
Автор

Updating WPF to .Net Core: Delete all the .NET Framework mess like a boss ... I like :D

beautifulheartsoothingreci
Автор

Sweet dream of millions is coming... Thanks!

yqlwqyl
Автор

Hey so I have a WPF app of mine but it's .NET Framework 4.7.2 - is there a page or whatever that could 'list' what I could get out of changing to .net core?

remiX_ZA
Автор

Awesome, can this run on macOS and Linux?

helshabini
Автор

Hi Brian what is the point of .Net core for Windows application. It still wont run on Mac or Linux right

rahulmathew
Автор

Why would anyone build a dotnet core WPF app? I'm asking honestly... Why would I bother moving from .NET framework?

geodanila
Автор

On .NET I could run up a single WPF .exe app. Core WPF apps compile to three files an .exe, a 7KB .dll and a 1KB JSON. This is additional complexity.

At what point will a programmer decide to edit the JSON without changing the source code for the .exe? Rarely I suspect.

Why is there separate .dll? If I do not know what it does, without doing research, I am not going to replace it.

It is like the app was needlessly dismembered.

leapingblackcat
Автор

Why not just take the dotnet cli? It creates a complete project for you with the new csproj format and targeting .NET Core 3.0

christian
Автор

I need to create wpf app .net core application, but when i want to create this one, i can see WPF App (.NET Core), I see only WPF App (.NET Framework). Will this video solve this problem? (1. Download .net core from github; 2. Make changes in Visual Studio as shown in the video). Right?

ИгорьЛитвинов-ом
Автор

if we have library project that added to main project or nuget library, how we must add it on csproject? also with this method can we run app on linux or mac?

mahdihosseini
Автор

Will WPF in .NET Core 3 have full set of features as WPF from the full .NET Framework?

milost
Автор

IS This ==> NET Core 3 WPF Application <== Will Work in Multi-platforms Such Mac-OS and Linux ?

ammarbamhdi
Автор

so how do I know what to put in PropertyGroup and what to put in ItemGroup?

Caldaron
Автор

As long as WPF/UWP is not truly crossplatform... I will stick with Electron/webb apps or whatever works. Sad tho, because I love XAML.

SilenceStabber
Автор

Following your vid reload csproj fails with "Project file incomplete:Expected imports missing" Is there a fix?

larsforsberg
Автор

Do you have any tools for convert sln?

jackliu
Автор

This doesn't work and neither does the new markup. I keep getting this error.
error : Project file is incomplete. Expected imports are missing.
It will run if I use Visual Studio Code, but not the version of Visual Studio 2017 that you and Microsoft are telling us it will work on. I've downloaded and installed the runtime and the SDK. I updated Visual Studio 2017 and selected to use .NET Core sdk previews in the options menu. This is looking like a waste of time for Visual Studio. Please respond with a solution.

stevestorniolo
Автор

why WPF or winForm items are not available on .Net Core Menu while Microsoft says they published .Net Core 3 for WPF and Winform projects?

tornet
Автор

I installed .NET Core 3 Runtime and SDK Preview 9 today to make a WPF application. However, when I try to create it, I get the following error: "To create this project type, go to Tools | Options | Environment | Preview Features and check "Use previews of the .NET Core SDK" (similar to Cannot create a WPF .NET core application)

Te only problem is that I have this feature enabled, and I restarted the computer as it suggests, but I still get the same error message.
I have Visual Studio 2019 installed with SDK 3.0.100-preview9 and Runtime 3.0.0-preview9, running on Windows 10.
Someone could help me? Thanks a lot!

dunghobbit