protected override void OnCopyFrom(ItemConfiguration configuration, bool isRename) { base.OnCopyFrom(configuration, isRename); var conf = (DotNetProjectConfiguration)configuration; AppendTargetFrameworkToOutputPath = conf.AppendTargetFrameworkToOutputPath; TargetFrameworkShortName = conf.TargetFrameworkShortName ?? "unknown"; assembly = conf.assembly; sourcePath = conf.sourcePath; bool notifyParentItem = ParentItem != null; if (ParentItem == null) { SetParentItem(conf.ParentItem); } CompilationParameters = conf.compilationParameters != null?conf.compilationParameters.Clone() : null; if (notifyParentItem) { ParentItem?.NotifyModified("CompilerParameters"); } SignAssembly = conf.SignAssembly; DelaySign = conf.DelaySign; AssemblyKeyFile = conf.AssemblyKeyFile; }
protected override void OnCopyFrom(ItemConfiguration configuration, bool isRename) { base.OnCopyFrom(configuration, isRename); DotNetProjectConfiguration conf = (DotNetProjectConfiguration)configuration; assembly = conf.assembly; sourcePath = conf.sourcePath; bool notifyParentItem = ParentItem != null; if (ParentItem == null) { SetParentItem(conf.ParentItem); } CompilationParameters = conf.compilationParameters != null?conf.compilationParameters.Clone() : null; if (notifyParentItem) { ParentItem?.NotifyModified("CompilerParameters"); } signAssembly = conf.signAssembly; delaySign = conf.delaySign; assemblyKeyFile = conf.assemblyKeyFile; }