Skip to content

Commit fa4c06b

Browse files
committed
Move common properties to Directory.Build.props
1 parent 8d4258e commit fa4c06b

File tree

10 files changed

+33
-194
lines changed

10 files changed

+33
-194
lines changed

Directory.Build.props

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<Project>
2+
<PropertyGroup>
3+
<TargetFrameworks>net462</TargetFrameworks>
4+
<Configurations>Debug;Release</Configurations>
5+
<Company>SIL International</Company>
6+
<Authors>SIL International</Authors>
7+
<Product>LfMerge</Product>
8+
<Copyright>Copyright © 2010-2021 SIL International</Copyright>
9+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
10+
<PackageProjectUrl>https://github.com/sillsdev/LfMerge</PackageProjectUrl>
11+
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
12+
<OutputPath>../../output/$(Configuration)</OutputPath>
13+
<PackageOutputPath>../../output</PackageOutputPath>
14+
<SignAssembly>true</SignAssembly>
15+
<AssemblyOriginatorKeyFile>../../LfMerge.snk</AssemblyOriginatorKeyFile>
16+
<IncludeSymbols>true</IncludeSymbols>
17+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
18+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
19+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
20+
<AppendToReleaseNotesProperty><![CDATA[
21+
See full changelog at https://github.com/sillsdev/LfMerge/blob/master/CHANGELOG.md]]></AppendToReleaseNotesProperty>
22+
<UseFullSemVerForNuGet>false</UseFullSemVerForNuGet>
23+
<ChangelogFile>../../CHANGELOG.md</ChangelogFile>
24+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
25+
<DefineConstants>TRACE;DEBUG;DBVERSION_7000072</DefineConstants>
26+
<IsPackable>false</IsPackable>
27+
</PropertyGroup>
28+
</Project>

LfMerge.TestApp/LfMerge.TestApp.csproj

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net462</TargetFrameworks>
5-
<OutputType>Exe</OutputType>
64
<RootNamespace>LfMerge.TestApp</RootNamespace>
7-
<Configurations>Debug;Release</Configurations>
85
<Description>LfMerge.TestApp</Description>
9-
<Company>SIL International</Company>
10-
<Authors>SIL International</Authors>
11-
<Product>LfMerge</Product>
12-
<Copyright>Copyright © 2010-2020 SIL International</Copyright>
13-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
14-
<PackageProjectUrl>https://github.com/sillsdev/LfMerge</PackageProjectUrl>
15-
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
6+
<OutputType>Exe</OutputType>
167
<OutputPath>../output/$(Configuration)</OutputPath>
178
<PackageOutputPath>../output</PackageOutputPath>
18-
<SignAssembly>true</SignAssembly>
199
<AssemblyOriginatorKeyFile>../LfMerge.snk</AssemblyOriginatorKeyFile>
20-
<IncludeSymbols>true</IncludeSymbols>
21-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
22-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
23-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
24-
<AppendToReleaseNotesProperty><![CDATA[
25-
See full changelog at https://github.com/sillsdev/LfMerge/blob/master/CHANGELOG.md]]>
26-
</AppendToReleaseNotesProperty>
27-
<UseFullSemVerForNuGet>false</UseFullSemVerForNuGet>
28-
<IsPackable>false</IsPackable>
29-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
30-
<DefineConstants>DEBUG</DefineConstants>
10+
<ChangelogFile>../CHANGELOG.md</ChangelogFile>
3111
</PropertyGroup>
3212

3313
<ItemGroup>

LfMerge.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1010
build\NuGet.targets = build\NuGet.targets
1111
README.md = README.md
1212
CHANGELOG.md = CHANGELOG.md
13+
Directory.Build.props = Directory.Build.props
1314
EndProjectSection
1415
EndProject
1516
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LfMerge", "src\LfMerge\LfMerge.csproj", "{0E79BC8D-9AE4-4B2C-ACFB-D8C1B2BC3D4F}"

src/FixFwData/FixFwData.csproj

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net462</TargetFrameworks>
5-
<OutputType>WinExe</OutputType>
64
<RootNamespace>FixFwData</RootNamespace>
7-
<Configurations>Debug;Release</Configurations>
85
<Description>FixFwData</Description>
9-
<Company>SIL International</Company>
10-
<Authors>SIL International</Authors>
11-
<Product>LfMerge</Product>
12-
<Copyright>Copyright © 2010-2020 SIL International</Copyright>
13-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
14-
<PackageProjectUrl>https://github.com/sillsdev/LfMerge</PackageProjectUrl>
15-
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
16-
<OutputPath>../../output/$(Configuration)</OutputPath>
17-
<PackageOutputPath>../../output</PackageOutputPath>
18-
<SignAssembly>true</SignAssembly>
19-
<AssemblyOriginatorKeyFile>../../LfMerge.snk</AssemblyOriginatorKeyFile>
20-
<IncludeSymbols>true</IncludeSymbols>
21-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
22-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
23-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
24-
<AppendToReleaseNotesProperty><![CDATA[
25-
See full changelog at https://github.com/sillsdev/LfMerge/blob/master/CHANGELOG.md]]>
26-
</AppendToReleaseNotesProperty>
27-
<UseFullSemVerForNuGet>false</UseFullSemVerForNuGet>
28-
<ChangelogFile>../../CHANGELOG.md</ChangelogFile>
6+
<OutputType>WinExe</OutputType>
297
<DefinePlatformConstants Condition="'$(OS)'!='Windows_NT'">LINUX</DefinePlatformConstants>
30-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
31-
<DefineConstants>DEBUG;TRACE;DBVERSION_7000072;</DefineConstants>
32-
<IsPackable>false</IsPackable>
338
</PropertyGroup>
349

3510
<ItemGroup>

src/LfMerge.Core.Tests/LfMerge.Core.Tests.csproj

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net462</TargetFrameworks>
54
<RootNamespace>LfMerge.Core.Tests</RootNamespace>
6-
<Configurations>Debug;Release</Configurations>
75
<Description>LfMerge.Core.Tests</Description>
8-
<Company>SIL International</Company>
9-
<Authors>SIL International</Authors>
10-
<Product>LfMerge</Product>
11-
<Copyright>Copyright © 2010-2020 SIL International</Copyright>
12-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
13-
<PackageProjectUrl>https://github.com/sillsdev/LfMerge</PackageProjectUrl>
14-
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
15-
<OutputPath>../../output/$(Configuration)</OutputPath>
16-
<PackageOutputPath>../../output</PackageOutputPath>
17-
<SignAssembly>true</SignAssembly>
18-
<AssemblyOriginatorKeyFile>../../LfMerge.snk</AssemblyOriginatorKeyFile>
19-
<IncludeSymbols>true</IncludeSymbols>
20-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
21-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
22-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
23-
<AppendToReleaseNotesProperty><![CDATA[
24-
See full changelog at https://github.com/sillsdev/LfMerge/blob/master/CHANGELOG.md]]>
25-
</AppendToReleaseNotesProperty>
26-
<UseFullSemVerForNuGet>false</UseFullSemVerForNuGet>
27-
<IsPackable>false</IsPackable>
28-
<DefineConstants>TRACE;DEBUG;DBVERSION_7000072</DefineConstants>
296
</PropertyGroup>
307

318
<ItemGroup>

src/LfMerge.Core/LfMerge.Core.csproj

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net462</TargetFrameworks>
54
<RootNamespace>LfMerge.Core</RootNamespace>
6-
<Configurations>Debug;Release</Configurations>
75
<Description>LfMerge.Core</Description>
8-
<Company>SIL International</Company>
9-
<Authors>SIL International</Authors>
10-
<Product>LfMerge</Product>
11-
<Copyright>Copyright © 2010-2020 SIL International</Copyright>
12-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
13-
<PackageProjectUrl>https://github.com/sillsdev/LfMerge</PackageProjectUrl>
14-
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
15-
<OutputPath>../../output/$(Configuration)</OutputPath>
16-
<PackageOutputPath>../../output</PackageOutputPath>
17-
<SignAssembly>true</SignAssembly>
18-
<AssemblyOriginatorKeyFile>../../LfMerge.snk</AssemblyOriginatorKeyFile>
19-
<IncludeSymbols>true</IncludeSymbols>
20-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
21-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
22-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
23-
<AppendToReleaseNotesProperty><![CDATA[
24-
See full changelog at https://github.com/sillsdev/LfMerge/blob/master/CHANGELOG.md]]>
25-
</AppendToReleaseNotesProperty>
26-
<UseFullSemVerForNuGet>false</UseFullSemVerForNuGet>
27-
<ChangelogFile>../../CHANGELOG.md</ChangelogFile>
28-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
29-
<DefineConstants>TRACE;DEBUG;DBVERSION_7000072</DefineConstants>
30-
<IsPackable>false</IsPackable>
316
</PropertyGroup>
327

338
<ItemGroup>

src/LfMerge.Tests/LfMerge.Tests.csproj

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net462</TargetFrameworks>
54
<RootNamespace>LfMerge.Tests</RootNamespace>
6-
<Configurations>Debug;Release</Configurations>
75
<Description>LfMerge.Tests</Description>
8-
<Company>SIL International</Company>
9-
<Authors>SIL International</Authors>
10-
<Product>LfMerge</Product>
11-
<Copyright>Copyright © 2010-2020 SIL International</Copyright>
12-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
13-
<PackageProjectUrl>https://github.com/sillsdev/LfMerge</PackageProjectUrl>
14-
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
15-
<OutputPath>../../output/$(Configuration)</OutputPath>
16-
<PackageOutputPath>../../output</PackageOutputPath>
17-
<SignAssembly>true</SignAssembly>
18-
<AssemblyOriginatorKeyFile>../../LfMerge.snk</AssemblyOriginatorKeyFile>
19-
<IncludeSymbols>true</IncludeSymbols>
20-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
21-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
22-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
23-
<AppendToReleaseNotesProperty><![CDATA[
24-
See full changelog at https://github.com/sillsdev/LfMerge/blob/master/CHANGELOG.md]]>
25-
</AppendToReleaseNotesProperty>
26-
<UseFullSemVerForNuGet>false</UseFullSemVerForNuGet>
27-
<IsPackable>false</IsPackable>
28-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
29-
<DefineConstants>TRACE;DEBUG;DBVERSION_7000072</DefineConstants>
306
</PropertyGroup>
317

328
<ItemGroup>

src/LfMerge/LfMerge.csproj

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net462</TargetFrameworks>
5-
<OutputType>Exe</OutputType>
64
<RootNamespace>LfMerge</RootNamespace>
7-
<Configurations>Debug;Release</Configurations>
85
<Description>LfMerge</Description>
9-
<Company>SIL International</Company>
10-
<Authors>SIL International</Authors>
11-
<Product>LfMerge</Product>
12-
<Copyright>Copyright © 2010-2020 SIL International</Copyright>
13-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
14-
<PackageProjectUrl>https://github.com/sillsdev/LfMerge</PackageProjectUrl>
15-
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
16-
<OutputPath>../../output/$(Configuration)</OutputPath>
17-
<PackageOutputPath>../../output</PackageOutputPath>
18-
<SignAssembly>true</SignAssembly>
19-
<AssemblyOriginatorKeyFile>../../LfMerge.snk</AssemblyOriginatorKeyFile>
20-
<IncludeSymbols>true</IncludeSymbols>
21-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
22-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
23-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
24-
<AppendToReleaseNotesProperty><![CDATA[
25-
See full changelog at https://github.com/sillsdev/LfMerge/blob/master/CHANGELOG.md]]>
26-
</AppendToReleaseNotesProperty>
27-
<UseFullSemVerForNuGet>false</UseFullSemVerForNuGet>
28-
<ChangelogFile>../../CHANGELOG.md</ChangelogFile>
6+
<OutputType>Exe</OutputType>
297
<DefinePlatformConstants Condition="'$(OS)'!='Windows_NT'">LINUX</DefinePlatformConstants>
30-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
31-
<DefineConstants>DEBUG;TRACE;$(DefinePlatformConstants)</DefineConstants>
32-
<IsPackable>false</IsPackable>
338
</PropertyGroup>
349

3510
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net462|AnyCPU'">

src/LfMergeAuxTool/LfMergeAuxTool.csproj

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net462</TargetFrameworks>
54
<RootNamespace>LfMergeAuxTool</RootNamespace>
6-
<Configurations>Debug;Release</Configurations>
75
<Description>LfMergeAuxTool</Description>
8-
<Company>SIL International</Company>
9-
<Authors>SIL International</Authors>
10-
<Product>LfMerge</Product>
11-
<Copyright>Copyright © 2010-2020 SIL International</Copyright>
12-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
13-
<PackageProjectUrl>https://github.com/sillsdev/LfMerge</PackageProjectUrl>
14-
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
15-
<OutputPath>../../output/$(Configuration)</OutputPath>
16-
<PackageOutputPath>../../output</PackageOutputPath>
17-
<SignAssembly>true</SignAssembly>
18-
<AssemblyOriginatorKeyFile>../../LfMerge.snk</AssemblyOriginatorKeyFile>
19-
<IncludeSymbols>true</IncludeSymbols>
20-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
21-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
22-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
23-
<AppendToReleaseNotesProperty><![CDATA[
24-
See full changelog at https://github.com/sillsdev/LfMerge/blob/master/CHANGELOG.md]]>
25-
</AppendToReleaseNotesProperty>
26-
<UseFullSemVerForNuGet>false</UseFullSemVerForNuGet>
27-
<IsPackable>false</IsPackable>
28-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
29-
<DefineConstants>TRACE;DEBUG;DBVERSION_7000072</DefineConstants>
306
<OutputType>Exe</OutputType>
317
</PropertyGroup>
328

src/LfMergeQueueManager/LfMergeQueueManager.csproj

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net462</TargetFrameworks>
54
<RootNamespace>LfMerge.QueueManager</RootNamespace>
6-
<Configurations>Debug;Release</Configurations>
75
<Description>LfMergeQueueManager</Description>
8-
<Company>SIL International</Company>
9-
<Authors>SIL International</Authors>
10-
<Product>LfMerge</Product>
11-
<Copyright>Copyright © 2010-2020 SIL International</Copyright>
12-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
13-
<PackageProjectUrl>https://github.com/sillsdev/LfMerge</PackageProjectUrl>
14-
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
15-
<OutputPath>../../output/$(Configuration)</OutputPath>
16-
<PackageOutputPath>../../output</PackageOutputPath>
17-
<SignAssembly>true</SignAssembly>
18-
<AssemblyOriginatorKeyFile>../../LfMerge.snk</AssemblyOriginatorKeyFile>
19-
<IncludeSymbols>true</IncludeSymbols>
20-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
21-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
22-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
23-
<AppendToReleaseNotesProperty><![CDATA[
24-
See full changelog at https://github.com/sillsdev/LfMerge/blob/master/CHANGELOG.md]]>
25-
</AppendToReleaseNotesProperty>
26-
<UseFullSemVerForNuGet>false</UseFullSemVerForNuGet>
27-
<IsPackable>false</IsPackable>
28-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
29-
<DefineConstants>TRACE;DEBUG;DBVERSION_7000072</DefineConstants>
306
<OutputType>Exe</OutputType>
317
</PropertyGroup>
328

0 commit comments

Comments
 (0)