_moare
❔ Deploy app to IIS
does anyone how i can make this deploy script for a .net application more reliable? When i run this script i often get a "Access to the path 'xxx' is denied" on the remove-item step, cause IIS still uses it. what would be the cleanest way to set it offline? Stopping the appPool would work, problem is i can't set a custom error page for that case.
2 replies
Use dll from project reference
I have a class library which adds a few helper functions to a nuget package. This nuget package requires the System.Windows.Forms.dll.
My main project references the class library and my class library references the nuget package.
When i add the DLL to the main project and reference it from there everything works as expected. But when i add it to my class library, it cant be found when running.
Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Das System kann die angegebene Datei nicht finden.
Is there a way to make this work?
Project: .net core 67 replies