I've a created a custom project type and was able to customise the target platform for my project type. Following is the code block:
public override int GetPlatformNames(uint celt, string[] names, uint[] actual)
{
if (names != null)
{
names[0] = "My platform";
}
if (actual != null)
actual[0] = 1;
return VSConstants.S_OK;
}
This is working fine and the platform is reflected in configuration manager as expected. However, there is an option to add a new platform or edit the platform for the project in the Configuration manager. Can I disable this addition and editing option?