I created a very simple PSSnapin but when I go to run IntallUtil against the assembly I get the following:
No public installers with the RunInstallerAttribute.Yes attribute could be found in the C:\Tools\PowerShellCommands\SetServerDataSource\bin\Debug\SetServerDataSource.dll assembly. Remove InstallState file because there are no installers.
However, I definitely have an installer (inherited from CustomPSSnapIn) with [RunInstaller(true)]:
[RunInstaller(true)]
public class SetServerDataSourcePSSnapIn : CustomPSSnapIn
{
///
}
Any ideas?