MahApps / MahApps.Metro

A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
https://mahapps.com
MIT License
9.28k stars 2.45k forks source link

Missing System.Management #3719

Closed JorundMartinsen closed 4 years ago

JorundMartinsen commented 4 years ago

Describe the bug When using Metrowindow in a dotnet core 3.1 wpf project, I get an IO exception:

System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.'

To Reproduce

  1. Create a new WPF .net core 3.1 project
  2. Install MahApps
  3. Change MainWindow to a MetroWindow.
  4. Run project

Expected behavior Normal execution

Environment(please complete the following information):

** Additionally *** ControlzEx has removed the dependency in v4.0.0.

punker76 commented 4 years ago

@JorundMartinsen v1.6.5 does not support .NET Core 3.0 or 3.1. If you need this then use the latest alpha version (but keep in mind, there are a lot of breaking changes inside).