Sunday, July 8, 2018

A question about WPF application for windows.

I'm creating a simple wpf application for windows, and today I noticed that when I generate the app, there are a lot of dlls generated along with it. This is not my first wpf project and my other projects don't have that much dlls. They are:

  • System.Net.Http.dll
  • System.Net.Sockets.dll
  • System.Security.Cryptography.Algorithms.dll
  • System.Security.SecureString.dll
  • System.Data.Common.dll
  • System.Xml.XPath.XDocument.dll

The solution contains a .net standard 2.0 library, a .net core console app, and a windows wpf app. the standard 2.0 library has json and fody nuget package, the others don't have nuget package at all.

I also checked my code, there are no such namespaces refered, and in reference list of my projects, these entries do not exist.

What's going on? is it because .net standard 2.0? And I can confirm that if I delete these files, the software works fine.

Usually it doesn't bother me. But I'm considering release this app to public, and I don't want those unrelated dlls included, it will have misunderstanding.

A question about WPF application for windows. Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team