I have created a widows application with setup project. I compiled and build.Everything looks fine.
For changing the configuration file during installation am trying to add a new Installer file. when i add it by default i get the below code
[RunInstaller(true)]
public partial class Installer : Installer
{
public Installer()
{
InitializeComponent();
}
}
before modifying When i compile this Am gettin Circular base class dependency involving ‘windows_setup.Installer’ and ‘windows_setup.Installer’
windows setup is the name space i used for the application
After that i changed the class name to
public partial class MyInstaller : Installer
Now am getting Inconsistent accessibility: base class ‘windows_setup.Installer’ is less accessible than class ‘windows_setup.MyInstaller
Why am getting this and how to resolve this…?
Thanks
This is a
partialclass and you have two source files associated with the class. You must change the second source file to use the MyInstaller class name.