static ProjectPropertyGroupElement CreatePropertyGroup(ProjectRootElement root,
string targetFrameworkVersion,
string condition, string platform_condition,
string configuration, string platform, bool unsafeMode,
string assemblyName)
{
ProjectPropertyGroupElement group = root.AddPropertyGroup();
var config = group.AddProperty("Configuration", configuration);
config.Condition = condition;
var platform_ = group.AddProperty("Platform", platform);
platform_.Condition = platform_condition;
group.AddProperty("SchemaVersion", "2.0");
group.AddProperty("OutputType", "Library");
group.AddProperty("TargetFrameworkVersion", targetFrameworkVersion);
group.AddProperty("FileAlignment", "512");
group.AddProperty("AssemblyName", assemblyName);
return group;
}
static ProjectPropertyGroupElement CreatePropertyGroupChoice(ProjectRootElement root,