Custom action, Cannot create custom action because there is no key file in the project output group

When I try to create an installation project, I get this error message when I try to create an installation class.

It is not possible to create a custom action because the project output group does not have a key file.

What's wrong, my custom action

I have a custom action that does some manipulation after I have my own action as follows.

public class InstallerHelper:Installer { public override void Install(System.Collections.IDictionary stateSaver) { base.Install(stateSaver); Console.WriteLine("Hello World"); Console.ReadLine(); } } 
+4
source share
1 answer

As part of the installation project, you need to identify the key file in the Project Output group that you referred to.

To fix the problem, right-click the corresponding project that you added to the installer, expand KeyOutput node and click in the (Files) field and click ...

If there is nothing there, you should probably remove this output from your installer.

0
source

Source: https://habr.com/ru/post/1385546/


All Articles