diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-04-05 21:54:37 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-04-05 21:54:37 -0700 |
commit | a5b0f8aa3c456acb0add79f3a98129476e5171b5 (patch) | |
tree | 76218e0c4e9d3286a9ded7fff0dca49219c12ade /src | |
parent | f8ba41a9fd371d25cc05e2de813f28c463c6fef4 (diff) | |
download | DotNetOpenAuth-a5b0f8aa3c456acb0add79f3a98129476e5171b5.zip DotNetOpenAuth-a5b0f8aa3c456acb0add79f3a98129476e5171b5.tar.gz DotNetOpenAuth-a5b0f8aa3c456acb0add79f3a98129476e5171b5.tar.bz2 |
Fixes embedded web resources in the unified assembly.
The modified parameters passed to ILMerge causes the assembly WebResourceAttribute attributes to be included in the final assembly rather than omitted.
Fixes #114
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth/DotNetOpenAuth.proj | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth/DotNetOpenAuth.proj b/src/DotNetOpenAuth/DotNetOpenAuth.proj index 0ae9c17..1116119 100644 --- a/src/DotNetOpenAuth/DotNetOpenAuth.proj +++ b/src/DotNetOpenAuth/DotNetOpenAuth.proj @@ -57,14 +57,24 @@ Inputs="@(ILMergeProductInputAssemblies);@(ILMergeInputAssemblies)" Outputs="$(ILMergeOutputAssembly);$(ILMergeOutputXmlDocs)"> <MakeDir Directories="$(ILMergeOutputAssemblyDirectory)" /> <Message Text="Merging $(ILMergeOutputAssembly)" Importance="high" /> + + <!-- Arrange for DNOA.Core to appear *last* in the input assemblies list so that its assembly attributes overrides the rest. --> + <ItemGroup> + <ILMergeProductInputCoreAssembly Include="@(ILMergeProductInputAssemblies)" Condition=" '%(Filename)' == 'DotNetOpenAuth.Core' " /> + <ILMergeProductInputAssemblies Remove="@(ILMergeProductInputCoreAssembly)" /> + <ILMergeProductInputAssemblies Include="@(ILMergeProductInputCoreAssembly)" /> + </ItemGroup> + <ILMerge ExcludeFile="$(ProjectRoot)ILMergeInternalizeExceptions.txt" - InputAssemblies="@(ILMergeProductInputAssemblies);@(ILMergeInputAssemblies)" + InputAssemblies="@(ILMergeInputAssemblies);@(ILMergeProductInputAssemblies)" OutputFile="$(ILMergeOutputAssembly)" SearchDirectories="@(ILMergeSearchDirectories)" KeyFile="$(PublicKeyFile)" DelaySign="true" XmlDocumentation="true" + CopyAttributes="true" + AllowDuplicateAttributes="true" ToolPath="$(ProjectRoot)tools\ILMerge" TargetPlatformVersion="$(ClrVersion).0" TargetPlatformDirectory="$(ILMergeTargetPlatformDirectory)" /> |