<#@ template language="C#" #> <#@ assembly name="System.Core" #> <#@ import namespace="System.Linq" #> true <# if (this.Project.TargetFrameworks.Count() == 1) { #> <#=this.Project.TargetFrameworks.Single() #> <# } else { #> <#= string.Join(";", this.Project.TargetFrameworks) #> <# } #> $(DefineConstants);<#= string.Join(";", this.Project.DefineConstants) #> <# if (this.Project.TargetFrameworks.Contains("netstandard2.0")) { #> $(DefineConstants);NETSTANDARD20;AWS_ASYNC_ENUMERABLES_API <# } if (this.Project.TargetFrameworks.Contains("netcoreapp3.1")) { #> $(DefineConstants);AWS_ASYNC_ENUMERABLES_API <# } #> portable true <#=this.Project.AssemblyName#> <#=this.Project.AssemblyName#> false false false false false false false false <# if (!string.IsNullOrEmpty(this.Project.FrameworkPathOverride)) { #> <#=this.Project.FrameworkPathOverride #> <# } if (this.Project.TargetFrameworks.Contains("net35")) { #> false <# } if (!string.IsNullOrEmpty(this.Project.SupressWarnings)) { #> <#=this.Project.SupressWarnings #> <# } if (!string.IsNullOrEmpty(this.Project.OutputPathOverride)) { #> false <#=this.Project.OutputPathOverride #> <# } #> <# if (this.Project.TargetFrameworks.Contains("netstandard2.0")) { #> 8.0 <# } #> <# if (!this.Project.AssemblyName.Contains("UnitTests")) { #> <#=this.Project.FxcopAnalyzerRuleSetFilePath#> <#=this.Project.FxcopAnalyzerRuleSetFilePathForBuild#> <# } if (this.Project.SignBinaries) { #> <# if(this.Project.AssemblyName == "AWSSDK.UnitTests.Net35" || this.Project.AssemblyName == "AWSSDK.UnitTests.Net45") { #> ../../awssdk.dll.snk <# } #> <# else { #> ../../../awssdk.dll.snk <# } #> $(AWSKeyFile) <# } if(this.Project.CustomRoslynAnalyzersDllDirectory != null) { #> <# } if(this.Project.IndividualFileIncludes != null) { #> <# foreach (var compileIncludeEntry in this.Project.IndividualFileIncludes) { #> <# } #> <# } if (this.Project.CompileRemoveList != null) { #> <# foreach (var compileRemoveEntry in this.Project.CompileRemoveList) { if (compileRemoveEntry == "bin" || compileRemoveEntry == "obj") { #> <# continue; } #> <# } #> <# } #> <# if (this.Project.ProjectReferences != null) { #> <# foreach (var projectReference in this.Project.ProjectReferences) { #> <# } #> <# } #> <# if (this.Project.PackageReferences != null) { #> <# foreach(var package in this.Project.PackageReferences.Where(p => p.IsAnalyzer)) { if(package.HasPrivateAssets) { #> <#=package.PrivateAssets#> <# } else { #> <# } } #> <# foreach(var package in this.Project.PackageReferences.Where(p => !p.IsAnalyzer)) { if(package.HasPrivateAssets) { #> <#=package.PrivateAssets#> <# } else { #> <# } } #> <# } if (this.Project.ReferenceDependencies != null) { #> <# foreach (var reference in this.Project.ReferenceDependencies) { if (string.IsNullOrEmpty(reference.HintPath)) { #> <# } else { #> <#=reference.HintPath #> <# } } #> <# } if (this.Project.EmbeddedResources != null) { #> <# foreach (var resource in this.Project.EmbeddedResources) { #> <# } #> <# } if (this.Project.Services != null) { #> <# foreach (var service in this.Project.Services) { #> <# } #> <# } #> <#+ public Project Project { get; set; } public ServiceConfiguration ServiceConfiguration { get; set; } #>