dotnet / dotnet/wpf

WPF and CLR Net Core as part of C++ and with all DLL for Net Core. How to?

Open
#2,848 16 comments 1 reaction 0 assignees View on GitHub
Question
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

I created test project where is used WPF Core as DLL with CLR (C++/CLI) Core DLL in console C++ application. It runs ok until I tested it in second pc. I realized, that I need installed VC Runtime and NET Core "runtime" on second PC.
As I searched on documentation, NET Core can be deployed as self-contained throught publish button. Problem is NET Core doesn't have that option and WPF Core as ClassLibrary doesn't produce anything except some nupkg. It is strange because I don't select option to publish it as nupkg.

Question is, can be C++ application which use WPF DLL and CLR Core DLL as self-contained? If yes, how? I mean, user doesn't need install any NET Core to run my app. I hope it is possible, because this is main advantage (NET Core) I think.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.