initial commit
This commit is contained in:
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2013-2016 Alexander Nosenko
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
Vendored
BIN
Binary file not shown.
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!-- try to import project-specific settings; also use fixed name that was injected into project by NuGet -->
|
||||
<PropertyGroup>
|
||||
<!-- at this point only MSBuild* property are available -->
|
||||
<MSBuildIlMerge1>$(MSBuildProjectDirectory)\$(MSBuildProjectName).ILMerge.props</MSBuildIlMerge1>
|
||||
<MSBuildIlMerge2>$(MSBuildProjectDirectory)\ILMerge.props</MSBuildIlMerge2>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildIlMerge1)" Condition="Exists($(MSBuildIlMerge1))"/>
|
||||
<Import Project="$(MSBuildIlMerge2)" Condition="Exists($(MSBuildIlMerge2))"/>
|
||||
</Project>
|
||||
Vendored
+116
@@ -0,0 +1,116 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<!-- give project-specific settings reasonable defaults -->
|
||||
<ILMergePackagesPath Condition=" $(ILMergePackagePath) == '' ">$(SolutionDir)packages</ILMergePackagesPath>
|
||||
<ILMergeOrderFile Condition=" $(ILMergeOrderFile) == '' ">$(MSBuildProjectDirectory)\ILMergeOrder.txt</ILMergeOrderFile>
|
||||
<ILMergeKeyFile Condition=" $(ILMergeKeyFile) == '' ">$(AssemblyOriginatorKeyFile)</ILMergeKeyFile>
|
||||
<ILMergeAssemblyVersion Condition=" $(ILMergeAssemblyVersion) == '' "></ILMergeAssemblyVersion>
|
||||
|
||||
<ILMergeAllowDuplicateType Condition=" $(ILMergeAllowDuplicateType) == '' "></ILMergeAllowDuplicateType>
|
||||
<ILMergeAllowMultipleAssemblyLevelAttributes Condition=" $(ILMergeAllowMultipleAssemblyLevelAttributes) == '' ">false</ILMergeAllowMultipleAssemblyLevelAttributes>
|
||||
<ILMergeAllowZeroPeKind Condition=" $(ILMergeAllowZeroPeKind) == '' ">false</ILMergeAllowZeroPeKind>
|
||||
<ILMergeCopyAttributes Condition=" $(ILMergeCopyAttributes) == '' ">false</ILMergeCopyAttributes>
|
||||
<ILMergeDebugInfo Condition=" $(ILMergeDebugInfo) == '' ">true</ILMergeDebugInfo>
|
||||
<ILMergeDelaySign Condition=" $(ILMergeDelaySign) == '' ">false</ILMergeDelaySign>
|
||||
<ILMergeFileAlignment Condition=" $(ILMergeFileAlignment) == '' ">512</ILMergeFileAlignment>
|
||||
<ILMergeInternalize Condition=" $(ILMergeInternalize) == '' ">false</ILMergeInternalize>
|
||||
<ILMergeInternalizeExcludeFile Condition=" $(ILMergeInternalizeExcludeFile) == '' "></ILMergeInternalizeExcludeFile>
|
||||
<ILMergeXmlDocumentation Condition=" $(ILMergeXmlDocumentation) == '' ">false</ILMergeXmlDocumentation>
|
||||
<ILMergePublicKeyTokens Condition=" $(ILMergePublicKeyTokens) == '' ">true</ILMergePublicKeyTokens>
|
||||
<ILMergeShouldLog Condition=" $(ILMergeShouldLog) == '' ">true</ILMergeShouldLog>
|
||||
<!--<ILMergeTargetKind Condition=" $(ILMergeTargetKind) == '' "></ILMergeTargetKind>-->
|
||||
<ILMergeUnionMerge Condition=" $(ILMergeUnionMerge) == '' ">false</ILMergeUnionMerge>
|
||||
<ILTargetPlatform Condition=" $(ILTargetPlatform) == '' ">40</ILTargetPlatform>
|
||||
<!--<ILMergeVersion Condition=" $(ILMergeVersion) == '' "></ILMergeVersion>-->
|
||||
|
||||
<ILMergeToolsPath Condition=" $(ILMergeToolsPath) == '' ">$(MSBuildThisFileDirectory)..\tools\</ILMergeToolsPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- decide what goes into output after compile-->
|
||||
<Target Name="SaveILMergeData" AfterTargets="CoreCompile">
|
||||
<Message Text="Transitive merge" Importance="high" Condition="$(ILMergeTransitive) == 'true'" />
|
||||
|
||||
<!-- all copy local assemblies referenced from this project that go to the executable except the main one-->
|
||||
<CreateItem Include="@(ReferencePath)" Condition=" '%(CopyLocal)' == 'true' ">
|
||||
<Output TaskParameter="Include" ItemName="MergedAssemblies"/>
|
||||
</CreateItem>
|
||||
|
||||
<!-- all copy local dependency assemblies-->
|
||||
<CreateItem Include="@(ReferenceDependencyPaths)" Condition=" '%(CopyLocal)' == 'true' ">
|
||||
<Output TaskParameter="Include" ItemName="MergedDependencies"/>
|
||||
</CreateItem>
|
||||
|
||||
<!-- all assemblies that doesn't so we use their directories as library path -->
|
||||
<CreateItem Include="@(ReferencePath)" Condition=" '%(CopyLocal)' == 'false' ">
|
||||
<Output TaskParameter="Include" ItemName="UnmergedAssemblies"/>
|
||||
</CreateItem>
|
||||
|
||||
<!-- all content items marked as copy always or newest -->
|
||||
<CreateItem Include="@(Content)" Condition=" '%(Content.CopyToOutputDirectory)' == 'Always' OR '%(Content.CopyToOutputDirectory)' == 'PreserveNewest' ">
|
||||
<Output TaskParameter="Include" ItemName="LocalContentFiles"/>
|
||||
</CreateItem>
|
||||
|
||||
<!-- add the main assembly as the first one -->
|
||||
<PropertyGroup Condition=" $(ILMergeTransitive) == 'true' ">
|
||||
<MergedAssemblies>@(IntermediateAssembly->'%(FullPath)');@(MergedAssemblies->'%(FullPath)');@(MergedDependencies->'%(FullPath)')</MergedAssemblies>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" $(ILMergeTransitive) == 'false' OR $(ILMergeTransitive) == '' ">
|
||||
<MergedAssemblies>@(IntermediateAssembly->'%(FullPath)');@(MergedAssemblies->'%(FullPath)')</MergedAssemblies>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- Ideally we should copy all not-copy-local assemblies that are not in the ILMergeLibraryPath to -->
|
||||
<!-- a temp directory and add it to the start search path, but we keep it simple here -->
|
||||
<UnmergedAssemblies>@(UnmergedAssemblies->'%(FullPath)')</UnmergedAssemblies>
|
||||
<MergeOutputFile>$(TargetPath)</MergeOutputFile>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
|
||||
<!-- do not copy copy-local assemblies, they will be merged -->
|
||||
<Target Name="_CopyFilesMarkedCopyLocal" />
|
||||
|
||||
<!-- override standard target our own merge-and-copy-content -->
|
||||
<Target Name="CopyFilesToOutputDirectory">
|
||||
<Message Text="Merge PDBs: $(ILMergeDebugInfo)" Importance="high" />
|
||||
<Message Text="Merged assemblies: $(MergedAssemblies)" Importance="high" />
|
||||
<Message Text="Not merged assemblies: $(UnmergedAssemblies)" Importance="normal" />
|
||||
<Message Text="Merged Output in: $(MergeOutputFile)" Importance="normal" />
|
||||
<Message Text="Key file: $(ILMergeKeyFile)" Importance="normal" />
|
||||
<Message Text="Libraries in: $(ILMergeLibraryPath)" Importance="normal" />
|
||||
<Message Text="Packages in: $(ILMergePackagesPath)" Importance="normal" />
|
||||
<Message Text="Merge order file: $(ILMergeOrderFile)" Importance="normal" />
|
||||
<Message Text="Internalization enabled: $(ILMergeInternalize)" Importance="normal" />
|
||||
<Message Text="Local content: @(LocalContentFiles)" Importance="low" />
|
||||
|
||||
<!-- run ILMerge -->
|
||||
<!-- not supported: AllowWildCards, Closed (use $Transitive instead), TargetKind (default), -->
|
||||
<MSBuild.ILMerge.Task
|
||||
KeyFile="$(ILMergeKeyFile)"
|
||||
OutputFile="$(MergeOutputFile)"
|
||||
LibraryPath="$(ILMergeLibraryPath)"
|
||||
InputAssemblies="$(MergedAssemblies)"
|
||||
LibraryAssemblies="$(UnmergedAssemblies)"
|
||||
PackagesDir="$(ILMergePackagesPath)"
|
||||
MergeOrderFile="$(ILMergeOrderFile)"
|
||||
AllowDuplicateType="$(ILMergeAllowDuplicateType)"
|
||||
AllowMultipleAssemblyLevelAttributes="$(ILMergeAllowMultipleAssemblyLevelAttributes)"
|
||||
AllowZeroPeKind="$(ILMergeAllowZeroPeKind)"
|
||||
CopyAttributes="$(ILMergeCopyAttributes)"
|
||||
DebugInfo="$(ILMergeDebugInfo)"
|
||||
DelaySign="$(ILMergeDelaySign)"
|
||||
FileAlignment="$(ILMergeFileAlignment)"
|
||||
Internalize="$(ILMergeInternalize)"
|
||||
InternalizeExcludeFile ="$(ILMergeInternalizeExcludeFile)"
|
||||
XmlDocumentation="$(ILMergeXmlDocumentation)"
|
||||
PublicKeyTokens="$(ILMergePublicKeyTokens)"
|
||||
ShouldLog="$(ILMergeShouldLog)"
|
||||
TargetPlatform="$(ILTargetPlatform)"
|
||||
UnionMerge="$(ILUnionMerge)" />
|
||||
<!-- copy content files marked as copy always or newest -->
|
||||
<Copy SourceFiles="@(LocalContentFiles)" DestinationFolder="$(OutputPath)" />
|
||||
<!-- copy config file (???) -->
|
||||
<CallTarget Targets="_CopyAppConfigFile" Condition="'%(IntermediateAssembly.Extension)' == '.exe'"/>
|
||||
</Target>
|
||||
<UsingTask AssemblyFile="$(ILMergeToolsPath)MSBuild.ILMerge.Task.dll" TaskName="MSBuild.ILMerge.Task" />
|
||||
</Project>
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<!-- -->
|
||||
<!-- ILMerge project-specific settings. Almost never need to be set explicitly. -->
|
||||
<!-- for details, see http://research.microsoft.com/en-us/people/mbarnett/ilmerge.aspx -->
|
||||
<!-- -->
|
||||
<!-- *** set this file to Type=None, CopyToOutput=Never *** -->
|
||||
|
||||
<!-- If True, all copy local dependencies will also be merged from referenced projects whether they are referenced in the current project explicitly or not -->
|
||||
<ILMergeTransitive>true</ILMergeTransitive>
|
||||
|
||||
<!-- Extra ILMerge library paths (semicolon-separated). Dont put your package dependencies here, they will be added automagically -->
|
||||
<ILMergeLibraryPath></ILMergeLibraryPath>
|
||||
|
||||
<!-- The solution NuGet package directory if not standard 'SOLUTION\packages' -->
|
||||
<ILMergePackagesPath></ILMergePackagesPath>
|
||||
|
||||
<!-- The merge order file name if differs from standard 'ILMergeOrder.txt' -->
|
||||
<ILMergeOrderFile></ILMergeOrderFile>
|
||||
|
||||
<!-- The strong key file name if not specified in the project -->
|
||||
<ILMergeKeyFile></ILMergeKeyFile>
|
||||
|
||||
<!-- The assembly version if differs for the version of the main assembly -->
|
||||
<ILMergeAssemblyVersion></ILMergeAssemblyVersion>
|
||||
|
||||
<!-- added in Version 1.0.4 -->
|
||||
<ILMergeFileAlignment></ILMergeFileAlignment>
|
||||
|
||||
<!-- added in Version 1.0.4, default=none -->
|
||||
<ILMergeAllowDuplicateType></ILMergeAllowDuplicateType>
|
||||
|
||||
<!-- If the <see cref="CopyAttributes"/> is also set, any assembly-level attributes names that have the same type are copied over into the target assembly -->
|
||||
<ILMergeAllowMultipleAssemblyLevelAttributes></ILMergeAllowMultipleAssemblyLevelAttributes>
|
||||
|
||||
<!-- See ILMerge documentation -->
|
||||
<ILMergeAllowZeroPeKind></ILMergeAllowZeroPeKind>
|
||||
|
||||
<!-- The assembly level attributes of each input assembly are copied over into the target assembly -->
|
||||
<ILMergeCopyAttributes></ILMergeCopyAttributes>
|
||||
|
||||
<!-- Creates a .pdb file for the output assembly and merges into it any .pdb files found for input assemblies, default=true -->
|
||||
<ILMergeDebugInfo></ILMergeDebugInfo>
|
||||
|
||||
<!-- Target assembly will be delay signed -->
|
||||
<ILMergeDelaySign></ILMergeDelaySign>
|
||||
|
||||
<!-- Types in assemblies other than the primary assembly have their visibility modified -->
|
||||
<ILMergeInternalize></ILMergeInternalize>
|
||||
|
||||
<!-- The path name of the file that will be used to identify types that are not to have their visibility modified -->
|
||||
<ILMergeInternalizeExcludeFile></ILMergeInternalizeExcludeFile>
|
||||
|
||||
<!-- XML documentation files are merged to produce an XML documentation file for the target assembly -->
|
||||
<ILMergeXmlDocumentation></ILMergeXmlDocumentation>
|
||||
|
||||
<!-- External assembly references in the manifest of the target assembly will use full public keys (false) or public key tokens (true, default value) -->
|
||||
<ILMergePublicKeyTokens></ILMergePublicKeyTokens>
|
||||
|
||||
<!-- Types with the same name are all merged into a single type in the target assembly -->
|
||||
<ILMergeUnionMerge></ILMergeUnionMerge>
|
||||
|
||||
<!-- The version of the target framework, default 40 (works for 45 too) -->
|
||||
<ILTargetPlatform></ILTargetPlatform>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
# this file contains the partial list of the merged assemblies in the merge order
|
||||
# you can fill it from the obj\CONFIG\PROJECT.ilmerge generated on every build
|
||||
# and finetune merge order to your satisfaction
|
||||
|
||||
BIN
Binary file not shown.
Reference in New Issue
Block a user