Add Net Framework class library project to solution that contains your .Net 6 main project.
Your main project does not need to reference that class library.
Custom actions can be referenced by adding the installer class to that class library.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I want to delete a particular folder when an application is uninstalled.
1.I have developed the WPF app in VS2022 with .net 6
2.Also added a "Setup" project to create the installer => The installer works fine
3.Now I want to add the "Uninstall" custom action to the setup project.
4.Now I need to add an "Installer Class" to my main project, but in VS2022 there is no such template as an "installer class".
5.Is there any alternative for it ?
6.Please help me out here to do the same ?
Add Net Framework class library project to solution that contains your .Net 6 main project.
Your main project does not need to reference that class library.
Custom actions can be referenced by adding the installer class to that class library.