Skip to content

Commit

Permalink
Updated appveyor.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
ravibpatel committed Jan 4, 2024
1 parent 90d0e90 commit 4c884ed
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 47 deletions.
90 changes: 44 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,28 @@ You just need to install NuGet package to merge all your project dependencies. I
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- ILRepack -->
<Target Name="ILRepacker" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">

<ItemGroup>
<InputAssemblies Include="$(OutputPath)\ExampleAssemblyToMerge1.dll" />
<InputAssemblies Include="$(OutputPath)\ExampleAssemblyToMerge2.dll" />
<InputAssemblies Include="$(OutputPath)\ExampleAssemblyToMerge3.dll" />
</ItemGroup>

<ItemGroup>
<!-- Must be a fully qualified name -->
<DoNotInternalizeAssemblies Include="ExampleAssemblyToMerge3" />
</ItemGroup>

<ILRepack
Parallel="true"
Internalize="true"
InternalizeExclude="@(DoNotInternalizeAssemblies)"
InputAssemblies="@(InputAssemblies)"
TargetKind="Dll"
OutputFile="$(OutputPath)\$(AssemblyName).dll"
/>

<ItemGroup>
<InputAssemblies Include="$(OutputPath)\ExampleAssemblyToMerge1.dll" />
<InputAssemblies Include="$(OutputPath)\ExampleAssemblyToMerge2.dll" />
<InputAssemblies Include="$(OutputPath)\ExampleAssemblyToMerge3.dll" />
</ItemGroup>

<ItemGroup>
<!-- Must be a fully qualified name -->
<DoNotInternalizeAssemblies Include="ExampleAssemblyToMerge3" />
</ItemGroup>

<ILRepack
Parallel="true"
Internalize="true"
InternalizeExclude="@(DoNotInternalizeAssemblies)"
InputAssemblies="@(InputAssemblies)"
TargetKind="Dll"
OutputFile="$(OutputPath)\$(AssemblyName).dll"
/>
</Target>
<!-- /ILRepack -->
</Project>
<!-- /ILRepack -->
```

## Configuration
Expand Down Expand Up @@ -96,159 +94,159 @@ If you are using default targets file then you may notice that it clears Output
Description
</th>
</tr>
<tr>
<tr>
<td>
KeyFile
</td>
<td>
Specifies a KeyFile to sign the output assembly.
</td>
</tr>
<tr>
<tr>
<td>
KeyContainer
</td>
<td>
Specifies a KeyContainer to use.
</td>
</tr>
<tr>
<tr>
<td>
LogFile
</td>
<td>
Specifies a logfile to output log information.
</td>
</tr>
<tr>
<tr>
<td>
Union
</td>
<td>
Merges types with identical names into one.
</td>
</tr>
<tr>
<tr>
<td>
DebugInfo
</td>
<td>
Enable/disable symbol file generation.
</td>
</tr>
<tr>
<tr>
<td>
AttributeFile
</td>
<td>
Take assembly attributes from the given assembly file.
</td>
</tr>
<tr>
<tr>
<td>
CopyAttributes
</td>
<td>
Copy assembly attributes.
</td>
</tr>
<tr>
<tr>
<td>
AllowMultiple
</td>
<td>
Allows multiple attributes (if type allows).
</td>
</tr>
<tr>
<tr>
<td>
TargetKind
</td>
<td>
Target assembly kind (Exe|Dll|WinExe|SameAsPrimaryAssembly).
</td>
</tr>
<tr>
<tr>
<td>
TargetPlatformVersion
</td>
<td>
Target platform (v1, v1.1, v2, v4 supported).
</td>
</tr>
<tr>
<tr>
<td>
TargetPlatformDirectory
</td>
<td>
Path of Directory where target platform is located.
</td>
</tr>
<tr>
<tr>
<td>
XmlDocumentation
</td>
<td>
Merge assembly xml documentation.
</td>
</tr>
<tr>
<tr>
<td>
LibraryPath
</td>
<td>
List of paths to use as "include directories" when attempting to merge assemblies.
</td>
</tr>
<tr>
<tr>
<td>
Internalize
</td>
<td>
Set all types but the ones from the first assembly 'internal'.
</td>
</tr>
<tr>
<tr>
<td>
RenameInternalized
</td>
<td>
Rename all internalized types (to be used when Internalize is enabled).
</td>
</tr>
<tr>
<tr>
<td>
InternalizeExclude
</td>
<td>
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.
</td>
</tr>
<tr>
<tr>
<td>
OutputFile
</td>
<td>
Output name for merged assembly.
</td>
</tr>
<tr>
<tr>
<td>
InputAssemblies
</td>
<td>
List of assemblies that will be merged.
</td>
</tr>
<tr>
<tr>
<td>
DelaySign
</td>
<td>
Set the keyfile, but don't sign the assembly.
</td>
</tr>
<tr>
<tr>
<td>
AllowDuplicateResources
</td>
Expand All @@ -264,23 +262,23 @@ If you are using default targets file then you may notice that it clears Output
Allows the specified namespaces for being duplicated in to input assemblies. Multiple namespaces are delimited by ",".
</td>
</tr>
<tr>
<tr>
<td>
ZeroPeKind
</td>
<td>
Allows assemblies with Zero PeKind (but obviously only IL will get merged).
</td>
</tr>
<tr>
<tr>
<td>
Parallel
</td>
<td>
Use as many CPUs as possible to merge the assemblies.
</td>
</tr>
<tr>
<tr>
<td>
Verbose
</td>
Expand All @@ -296,7 +294,7 @@ If you are using default targets file then you may notice that it clears Output
Does not add the embedded resource 'ILRepack.List' with all merged assembly names.
</td>
</tr>
<tr>
<tr>
<td>
Wildcards
</td>
Expand Down
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ before_build:
- 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%

artifacts:
- path: ILRepack.Lib.MSBuild.Task\bin\Release\net462\ILRepack.Lib.MSBuild.Task.%my_version%.nupkg
- path: ILRepack.Lib.MSBuild.Task\bin\Release\net472\ILRepack.Lib.MSBuild.Task.%my_version%.nupkg
name: ILRepack.Lib.MSBuild.Task.%my_version%.nupkg

deploy:
- provider: NuGet
Expand Down

0 comments on commit 4c884ed

Please sign in to comment.