public void ConfigureAll(Configuration conf, Target target) { conf.ProjectPath = RootPath; conf.ProjectFileName = "[project.Name].[target.DevEnv]"; conf.Output = Configuration.OutputType.DotNetClassLibrary; DebugProjectGenerator.AddSharpmakePackage(conf); conf.ReferencesByPath.AddRange(DebugProjectGenerator.DebugProjects[GetType()].References); foreach (var projectReference in DebugProjectGenerator.DebugProjects[GetType()].ProjectReferences) { conf.AddPrivateDependency(target, projectReference); } // set up custom configuration only to setup project if (string.CompareOrdinal(conf.ProjectPath.ToLower(), RootPath.ToLower()) == 0) { conf.SetupProjectOptions(); } }
public void ConfigureAll(Configuration conf, Target target) { conf.ProjectPath = RootPath; conf.ProjectFileName = "[project.Name].[target.DevEnv]"; conf.Output = Configuration.OutputType.DotNetClassLibrary; DebugProjectGenerator.AddSharpmakePackage(conf); conf.Options.Add(Options.CSharp.LanguageVersion.CSharp5); conf.ReferencesByPath.AddRange(_projectInfo.References); foreach (var projectReference in _projectInfo.ProjectReferences) { conf.AddPrivateDependency(target, projectReference); } // set up custom configuration only to setup project if (string.CompareOrdinal(conf.ProjectPath.ToLower(), RootPath.ToLower()) == 0 && _projectInfo.IsSetupProject) { conf.SetupProjectOptions(_projectInfo.StartArguments); } }