forked from tfsaggregator/tfsaggregator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
60 lines (57 loc) · 2.91 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<Project>
<PropertyGroup>
<RestoreLockedMode
Condition="'$(RestoreLockedMode)' == ''
and ('$(TF_BUILD)' != ''
or '$(CONTINUOUS_INTEGRATION)' != '')"
>
true
</RestoreLockedMode>
<DevelopmentTfsVersion>2022.1</DevelopmentTfsVersion>
<TfsVersion Condition="'$(TfsVersion)' == ''">$(DevelopmentTfsVersion)</TfsVersion>
<AssemblyVersion Condition="'$(MajorMinorPatch)' != ''">$(MajorMinorPatch)</AssemblyVersion>
<AssemblyFileVersion Condition="'$(MajorMinorPatch)' != ''">$(MajorMinorPatch)</AssemblyFileVersion>
<AssemblyVersion Condition="'$(AssemblyVersion)' == ''">0.0.0.1</AssemblyVersion>
<AssemblyFileVersion Condition="'$(AssemblyFileVersion)' == ''">0.0.0.1</AssemblyFileVersion>
<Company>TFS Aggregator Team</Company>
<Product>TFS Aggregator</Product>
<Copyright>Copyright (c) TFS Aggregator Team 2015-2023</Copyright>
<!-- use custom configuration attribute -->
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<NuGetLockFilePath>packages.$(TfsVersion).lock.json</NuGetLockFilePath>
<RunAnalyzersDuringBuild>false</RunAnalyzersDuringBuild>
<RunCodeAnalysis>false</RunCodeAnalysis>
</PropertyGroup>
<ItemGroup>
<KnownTfsVersion Include="2013" />
<KnownTfsVersion Include="2015" />
<KnownTfsVersion Include="2015.1" />
<KnownTfsVersion Include="2015.2" />
<KnownTfsVersion Include="2017" />
<KnownTfsVersion Include="2017.2" />
<KnownTfsVersion Include="2018" />
<KnownTfsVersion Include="2019" />
<KnownTfsVersion Include="2019.1" />
<KnownTfsVersion Include="2020" />
<KnownTfsVersion Include="2022" />
<KnownTfsVersion Include="2022.1" />
<AssemblyAttribute Include="System.Reflection.AssemblyConfigurationAttribute">
<_Parameter1>$(Configuration) [TFS $(TfsVersion)]</_Parameter1>
</AssemblyAttribute>
<KnownTfsVersion Update="@(KnownTfsVersion)">
<Name>$([System.String]::Copy('%(Identity)').Replace('.','u'))</Name>
</KnownTfsVersion>
</ItemGroup>
<PropertyGroup>
<!-- ensure that restore output and intermediate compilation output don't cause conflicts or incremental build issues -->
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
<OutputPath>bin\$(Configuration)\</OutputPath>
<RestoreOutputPath>$(IntermediateOutputPath)</RestoreOutputPath>
<MSBuildProjectExtensionsPath>$(RestoreOutputPath)</MSBuildProjectExtensionsPath>
<ProjectAssetsFile>$(RestoreOutputPath)\project.assets.json</ProjectAssetsFile>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<!-- default items shall also exlude folder above base (int.) output paths -->
<DefaultItemExcludes>$(DefaultItemExcludes);obj/**;bin/**</DefaultItemExcludes>
</PropertyGroup>
</Project>