This repository has been archived by the owner on Jul 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ops.artefacts.props
177 lines (153 loc) · 6.39 KB
/
ops.artefacts.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<?xml version="1.0" encoding="utf-8"?>
<Project
DefaultTargets="Run"
ToolsVersion="14.0"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
**** BOOTSTRAP - BUILD TASKS ****
-->
<!--
The collection of all Visual Studio projects that contain MsBuild tasks for nBuildKit. These will be
compiled and placed in a bootstrap directory so that the nBuildKit build can use them.
-->
<ItemGroup Condition=" '$(ShouldLoadMsBuildTasksProjectsToBuild)' == 'true' ">
<!--
<MsBuildTasksProjectsToBuild
Condition=" '$(DirSrc)' != '' "
Include="$(DirSrc)\MyTasks.Tasks.csproj">
<Configuration>$(ProductionConfiguration)</Configuration>
<Platform>$(Platform)</Platform>
<Targets>Rebuild</Targets>
<Properties>
OutputPath=$(DirBuildBootstrap);
ShouldRunAnalyzers=false;
ShouldPerformCodeAnalysis=false;
</Properties>
</MsBuildTasksProjectsToBuild>
-->
</ItemGroup>
<!--
**** BOOTSTRAP - GENERATE TARGETS ****
-->
<!--
The collection that contains all the assembly files that contain custom MsBuild Task definitions.
-->
<ItemGroup Condition=" '$(ShouldLoadExtensionAssemblies)' == 'true' ">
<!--
<ExtensionAssemblies
Condition=" '$(DirBuildBootstrap)' != '' "
Include="$(DirBuildBootstrap)\*.Tasks.dll">
<ExistsProperty>MyPropertyName</ExistsProperty>
</ExtensionAssemblies>
-->
</ItemGroup>
<!--
**** PREPARE - RELEASE NOTES ****
-->
<PropertyGroup>
<!-- The full path to the file that is used to store the issue IDs for the current branch -->
<!-- <FileIssueIds Condition=" '$(FileIssueIds)' == '' ">$(DirBuildTemp)\issue_ids.json</FileIssueIds> -->
<!-- The full path to the text file that is used to store the release notes for the current release during the build. -->
<FileReleaseNotes>$(DirBuildLogs)\releasenotes.txt</FileReleaseNotes>
</PropertyGroup>
<!--
**** PACK - ILMERGE ****
-->
<!--
The item group defining which assemblies should be IL merged.
-->
<ItemGroup Condition=" '$(ShouldLoadAssembliesToMerge)' == 'true' ">
<!--
<AssembliesToMerge Include="">
<AssembliesToExclude></AssembliesToExclude>
<AssembliesToInclude></AssembliesToInclude>
<Destination></Destination>
<KeyFile></KeyFile>
<Version></Version>
</AssembliesToMerge>
-->
</ItemGroup>
<!--
**** PACK - NUGET ****
-->
<!--
The item group defining the location and contents of the NuGet packages that are generated during the build.
The IncludedDependencies and the ExcludedDependencies are lists of packages.config files that
should be included (or excluded) in the list of dependencies. Each entry is separated by a semi-colon(;).
If there is a 'packages.config' file in the same directory as the nuspec file then it is assumed that
all references in the 'packages.config' file should be added as dependencies.
All file paths allow build templates, e.g. $(DirSrc)\${ProductName}\myproject.nuspec.
-->
<ItemGroup Condition=" '$(ShouldLoadNuGetPackageSpecs)' == 'true' ">
<NuGetPackageSpecs
Condition=" '$(DirSrc)' != '' "
Include="$(DirSrc)\**\*.nuspec">
<ShouldBuildSymbols>false</ShouldBuildSymbols>
<IncludedDependencies>
</IncludedDependencies>
<ExcludedDependencies>
</ExcludedDependencies>
</NuGetPackageSpecs>
</ItemGroup>
<!--
**** PACK - ZIP ARCHIVE ****
-->
<!--
The item group defining the location and contents of the archive files that are generated during the build
All file paths allow build templates, e.g. $(DirBuildDeploy)\myarchive-${VersionSemantic}.zip.
-->
<ItemGroup Condition=" '$(ShouldLoadArchivePackageSpecs)' == 'true' ">
<ArchivePackageSpecs
Condition=" '$(ShouldCreateHyperVImage)' == 'true' "
Include="$(DirSrcPacker)\hyperv.zipspec" />
</ItemGroup>
<!--
**** PACK - ISO ****
-->
<!--
The item group defining the location and contents of the ISO files that are generated during the build
All file paths allow build templates, e.g. $(DirBuildDeploy)\myarchive-${VersionSemantic}.zip.
-->
<ItemGroup Condition=" '$(ShouldLoadIsoPackageSpecs)' == 'true' ">
<!--
<IsoPackageSpecs
Condition=" '$(DirWorkspace)' != '' "
Exclude="$(DirBuild)\**\*.isospec"
Include="$(DirWorkspace)\**\*.isospec" />
-->
</ItemGroup>
<!--
**** PACK - PACKER ****
-->
<!--
The item group defining the location and contents of the Packer files that are used during the build
to generate the Packer images.
All file paths allow build templates, e.g. $(DirBuildDeploy)\myarchive-${VersionSemantic}.zip.
-->
<ItemGroup Condition=" '$(ShouldLoadPackerImagesToBuild)' == 'true' ">
<PackerImagesToBuild
Condition=" '$(IsBuild)' == 'true' AND '$(ShouldCreateAzureImage)' == 'true' "
Include="$(DirBuildTempBuildPacker)\azure.json">
<Variables>
$(DirBuildTempBuildPacker)\azure_variables.json
</Variables>
</PackerImagesToBuild>
<PackerImagesToBuild
Condition=" '$(IsBuild)' == 'true' AND '$(ShouldCreateHyperVImage)' == 'true' "
Include="$(DirBuildTempBuildPacker)\hyperv.json">
<Variables>
$(DirBuildTempBuildPacker)\hyperv_variables.json
</Variables>
</PackerImagesToBuild>
</ItemGroup>
<!--
*****************************************
* *
* TOOLS-OPS SPECIFIC SETTINGS *
* *
*****************************************
-->
<PropertyGroup>
<OpsConfigurationVersion>1.0</OpsConfigurationVersion>
</PropertyGroup>
</Project>