I created EX NOVO a WinForms solution based on NET.Framework (4.6.2) and I immediately added the NuGet Microsoft.Toolkit.Uwp.Notifications solution to the empty project, with only Form1 generated by default and few lines of test code to generate a Windows popup message.
At this point I could see the .dll related to Microsoft.Toolkit.Uwp.Notifications in "Project/Properties / References", added to the other 10 .dlls installed by default opening the new project.
Then I compiled the debug ... error message: "Must use PackageReference!"
So:
![Name: toolkit.jpg
Views: 18
Size: 48.7 KB]()
Program works perfectly but that said, the question is: what am I to do with these 99 .dlls?
DO I HAVE to insert them one by one in the installer (I use InnoSetup)? ABSURD! :sick:
However if I remove them from the folder (ie I don't insert them in the installer) and I run directly the .exe... the project goes into error when the code calls the Windows popup! The user who installs a project of a few KB must finds in his installation folder 99 .dlls ????
At this point I could see the .dll related to Microsoft.Toolkit.Uwp.Notifications in "Project/Properties / References", added to the other 10 .dlls installed by default opening the new project.
Then I compiled the debug ... error message: "Must use PackageReference!"
So:
- I have migrated the Package.config to PackageReference (no problems)
- The reference to the .dll has disappeared from the references in the properties and is visible only in Solution Explorer, with a icon different from other references.
- I compiled the solution, this time with no problems
- I went to see the debug folder ... AND I FOUND 99 DLLs in the folder, "tied" to the NuGet solution, I think !!! :eek:
Program works perfectly but that said, the question is: what am I to do with these 99 .dlls?
DO I HAVE to insert them one by one in the installer (I use InnoSetup)? ABSURD! :sick:
However if I remove them from the folder (ie I don't insert them in the installer) and I run directly the .exe... the project goes into error when the code calls the Windows popup! The user who installs a project of a few KB must finds in his installation folder 99 .dlls ????