Skip to content

Commit 4c884ed

Browse files
committed
Updated appveyor.yml.
1 parent 90d0e90 commit 4c884ed

File tree

2 files changed

+46
-47
lines changed

2 files changed

+46
-47
lines changed

README.md

Lines changed: 44 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,28 @@ You just need to install NuGet package to merge all your project dependencies. I
2121
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2222
<!-- ILRepack -->
2323
<Target Name="ILRepacker" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
24-
25-
<ItemGroup>
26-
<InputAssemblies Include="$(OutputPath)\ExampleAssemblyToMerge1.dll" />
27-
<InputAssemblies Include="$(OutputPath)\ExampleAssemblyToMerge2.dll" />
28-
<InputAssemblies Include="$(OutputPath)\ExampleAssemblyToMerge3.dll" />
29-
</ItemGroup>
30-
31-
<ItemGroup>
32-
<!-- Must be a fully qualified name -->
33-
<DoNotInternalizeAssemblies Include="ExampleAssemblyToMerge3" />
34-
</ItemGroup>
35-
36-
<ILRepack
37-
Parallel="true"
38-
Internalize="true"
39-
InternalizeExclude="@(DoNotInternalizeAssemblies)"
40-
InputAssemblies="@(InputAssemblies)"
41-
TargetKind="Dll"
42-
OutputFile="$(OutputPath)\$(AssemblyName).dll"
43-
/>
44-
24+
<ItemGroup>
25+
<InputAssemblies Include="$(OutputPath)\ExampleAssemblyToMerge1.dll" />
26+
<InputAssemblies Include="$(OutputPath)\ExampleAssemblyToMerge2.dll" />
27+
<InputAssemblies Include="$(OutputPath)\ExampleAssemblyToMerge3.dll" />
28+
</ItemGroup>
29+
30+
<ItemGroup>
31+
<!-- Must be a fully qualified name -->
32+
<DoNotInternalizeAssemblies Include="ExampleAssemblyToMerge3" />
33+
</ItemGroup>
34+
35+
<ILRepack
36+
Parallel="true"
37+
Internalize="true"
38+
InternalizeExclude="@(DoNotInternalizeAssemblies)"
39+
InputAssemblies="@(InputAssemblies)"
40+
TargetKind="Dll"
41+
OutputFile="$(OutputPath)\$(AssemblyName).dll"
42+
/>
4543
</Target>
44+
<!-- /ILRepack -->
4645
</Project>
47-
<!-- /ILRepack -->
4846
```
4947

5048
## Configuration
@@ -96,159 +94,159 @@ If you are using default targets file then you may notice that it clears Output
9694
Description
9795
</th>
9896
</tr>
99-
<tr>
97+
<tr>
10098
<td>
10199
KeyFile
102100
</td>
103101
<td>
104102
Specifies a KeyFile to sign the output assembly.
105103
</td>
106104
</tr>
107-
<tr>
105+
<tr>
108106
<td>
109107
KeyContainer
110108
</td>
111109
<td>
112110
Specifies a KeyContainer to use.
113111
</td>
114112
</tr>
115-
<tr>
113+
<tr>
116114
<td>
117115
LogFile
118116
</td>
119117
<td>
120118
Specifies a logfile to output log information.
121119
</td>
122120
</tr>
123-
<tr>
121+
<tr>
124122
<td>
125123
Union
126124
</td>
127125
<td>
128126
Merges types with identical names into one.
129127
</td>
130128
</tr>
131-
<tr>
129+
<tr>
132130
<td>
133131
DebugInfo
134132
</td>
135133
<td>
136134
Enable/disable symbol file generation.
137135
</td>
138136
</tr>
139-
<tr>
137+
<tr>
140138
<td>
141139
AttributeFile
142140
</td>
143141
<td>
144142
Take assembly attributes from the given assembly file.
145143
</td>
146144
</tr>
147-
<tr>
145+
<tr>
148146
<td>
149147
CopyAttributes
150148
</td>
151149
<td>
152150
Copy assembly attributes.
153151
</td>
154152
</tr>
155-
<tr>
153+
<tr>
156154
<td>
157155
AllowMultiple
158156
</td>
159157
<td>
160158
Allows multiple attributes (if type allows).
161159
</td>
162160
</tr>
163-
<tr>
161+
<tr>
164162
<td>
165163
TargetKind
166164
</td>
167165
<td>
168166
Target assembly kind (Exe|Dll|WinExe|SameAsPrimaryAssembly).
169167
</td>
170168
</tr>
171-
<tr>
169+
<tr>
172170
<td>
173171
TargetPlatformVersion
174172
</td>
175173
<td>
176174
Target platform (v1, v1.1, v2, v4 supported).
177175
</td>
178176
</tr>
179-
<tr>
177+
<tr>
180178
<td>
181179
TargetPlatformDirectory
182180
</td>
183181
<td>
184182
Path of Directory where target platform is located.
185183
</td>
186184
</tr>
187-
<tr>
185+
<tr>
188186
<td>
189187
XmlDocumentation
190188
</td>
191189
<td>
192190
Merge assembly xml documentation.
193191
</td>
194192
</tr>
195-
<tr>
193+
<tr>
196194
<td>
197195
LibraryPath
198196
</td>
199197
<td>
200198
List of paths to use as "include directories" when attempting to merge assemblies.
201199
</td>
202200
</tr>
203-
<tr>
201+
<tr>
204202
<td>
205203
Internalize
206204
</td>
207205
<td>
208206
Set all types but the ones from the first assembly 'internal'.
209207
</td>
210208
</tr>
211-
<tr>
209+
<tr>
212210
<td>
213211
RenameInternalized
214212
</td>
215213
<td>
216214
Rename all internalized types (to be used when Internalize is enabled).
217215
</td>
218216
</tr>
219-
<tr>
217+
<tr>
220218
<td>
221219
InternalizeExclude
222220
</td>
223221
<td>
224222
If Internalize is set to true, any which match these regular expressions will not be internalized. If internalize is false, then this property is ignored.
225223
</td>
226224
</tr>
227-
<tr>
225+
<tr>
228226
<td>
229227
OutputFile
230228
</td>
231229
<td>
232230
Output name for merged assembly.
233231
</td>
234232
</tr>
235-
<tr>
233+
<tr>
236234
<td>
237235
InputAssemblies
238236
</td>
239237
<td>
240238
List of assemblies that will be merged.
241239
</td>
242240
</tr>
243-
<tr>
241+
<tr>
244242
<td>
245243
DelaySign
246244
</td>
247245
<td>
248246
Set the keyfile, but don't sign the assembly.
249247
</td>
250248
</tr>
251-
<tr>
249+
<tr>
252250
<td>
253251
AllowDuplicateResources
254252
</td>
@@ -264,23 +262,23 @@ If you are using default targets file then you may notice that it clears Output
264262
Allows the specified namespaces for being duplicated in to input assemblies. Multiple namespaces are delimited by ",".
265263
</td>
266264
</tr>
267-
<tr>
265+
<tr>
268266
<td>
269267
ZeroPeKind
270268
</td>
271269
<td>
272270
Allows assemblies with Zero PeKind (but obviously only IL will get merged).
273271
</td>
274272
</tr>
275-
<tr>
273+
<tr>
276274
<td>
277275
Parallel
278276
</td>
279277
<td>
280278
Use as many CPUs as possible to merge the assemblies.
281279
</td>
282280
</tr>
283-
<tr>
281+
<tr>
284282
<td>
285283
Verbose
286284
</td>
@@ -296,7 +294,7 @@ If you are using default targets file then you may notice that it clears Output
296294
Does not add the embedded resource 'ILRepack.List' with all merged assembly names.
297295
</td>
298296
</tr>
299-
<tr>
297+
<tr>
300298
<td>
301299
Wildcards
302300
</td>

appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ before_build:
1616
- secure-file\tools\secure-file -decrypt "c:\projects\ILRepack.Lib.MSBuild.Task\ILRepack.Lib.MSBuild.Task\ILRepack.Lib.MSBuild.Task.snk.enc" -secret %my_secret%
1717

1818
artifacts:
19-
- path: ILRepack.Lib.MSBuild.Task\bin\Release\net462\ILRepack.Lib.MSBuild.Task.%my_version%.nupkg
19+
- path: ILRepack.Lib.MSBuild.Task\bin\Release\net472\ILRepack.Lib.MSBuild.Task.%my_version%.nupkg
20+
name: ILRepack.Lib.MSBuild.Task.%my_version%.nupkg
2021

2122
deploy:
2223
- provider: NuGet

0 commit comments

Comments
 (0)