You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's impossible to set any predefined name in custom project template based on wixproj file, because of this code in WixProjectNode:
This code does not check whether the OutputName project property is already being set, for example with some MSBuild parameter, like $SomeParameter$
but it's said that it initializes the project properties only if they are empty but there is no actual check if property is empty.
Thanks for such a great project! It can be even more amazing!
/// <summary>
/// Initialize common project properties with default value if they are empty.
/// </summary>
/// <remarks>
/// The following common project properties are set to default values: OutputName.
/// </remarks>
protected override void InitializeProjectProperties()
{
string projectName = Path.GetFileNameWithoutExtension(this.FileName);
this.SetProjectProperty(WixProjectFileConstants.OutputName, projectName);
}
Originally opened by lakmus85
The text was updated successfully, but these errors were encountered:
It's impossible to set any predefined name in custom project template based on wixproj file, because of this code in WixProjectNode:$SomeParameter$
This code does not check whether the OutputName project property is already being set, for example with some MSBuild parameter, like
but it's said that it initializes the project properties only if they are empty but there is no actual check if property is empty.
Thanks for such a great project! It can be even more amazing!
The text was updated successfully, but these errors were encountered: