From d3fbc9c6435ffede7d22b5d1217a312089fe4e10 Mon Sep 17 00:00:00 2001 From: Oleksii Holub <1935960+Tyrrrz@users.noreply.github.com> Date: Fri, 22 Apr 2022 16:41:24 +0300 Subject: [PATCH] Merge analyzer project dependencies using Fody.Costura Closes #127 --- .../CliFx.Analyzers.Tests.csproj | 2 +- CliFx.Analyzers/CliFx.Analyzers.csproj | 2 + CliFx.Analyzers/FodyWeavers.xml | 4 + CliFx.Analyzers/FodyWeavers.xsd | 141 ++++++++++++++++++ CliFx.Demo/CliFx.Demo.csproj | 2 +- CliFx.Tests.Dummy/CliFx.Tests.Dummy.csproj | 2 +- CliFx.Tests/CliFx.Tests.csproj | 4 +- CliFx/CliFx.csproj | 12 +- 8 files changed, 153 insertions(+), 16 deletions(-) create mode 100644 CliFx.Analyzers/FodyWeavers.xml create mode 100644 CliFx.Analyzers/FodyWeavers.xsd diff --git a/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj b/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj index 9c72bff..02f956f 100644 --- a/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj +++ b/CliFx.Analyzers.Tests/CliFx.Analyzers.Tests.csproj @@ -11,7 +11,7 @@ - + diff --git a/CliFx.Analyzers/CliFx.Analyzers.csproj b/CliFx.Analyzers/CliFx.Analyzers.csproj index 0d5c176..bed5c73 100644 --- a/CliFx.Analyzers/CliFx.Analyzers.csproj +++ b/CliFx.Analyzers/CliFx.Analyzers.csproj @@ -8,6 +8,8 @@ + + diff --git a/CliFx.Analyzers/FodyWeavers.xml b/CliFx.Analyzers/FodyWeavers.xml new file mode 100644 index 0000000..a5dcf04 --- /dev/null +++ b/CliFx.Analyzers/FodyWeavers.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/CliFx.Analyzers/FodyWeavers.xsd b/CliFx.Analyzers/FodyWeavers.xsd new file mode 100644 index 0000000..05e92c1 --- /dev/null +++ b/CliFx.Analyzers/FodyWeavers.xsd @@ -0,0 +1,141 @@ + + + + + + + + + + + + A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks + + + + + A list of assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks. + + + + + A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with line breaks + + + + + A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with line breaks. + + + + + A list of unmanaged 32 bit assembly names to include, delimited with line breaks. + + + + + A list of unmanaged 64 bit assembly names to include, delimited with line breaks. + + + + + The order of preloaded assemblies, delimited with line breaks. + + + + + + This will copy embedded files to disk before loading them into memory. This is helpful for some scenarios that expected an assembly to be loaded from a physical file. + + + + + Controls if .pdbs for reference assemblies are also embedded. + + + + + Controls if runtime assemblies are also embedded. + + + + + Controls whether the runtime assemblies are embedded with their full path or only with their assembly name. + + + + + Embedded assemblies are compressed by default, and uncompressed when they are loaded. You can turn compression off with this option. + + + + + As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off. + + + + + Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code. + + + + + Costura will by default use assemblies with a name like 'resources.dll' as a satellite resource and prepend the output path. This flag disables that behavior. + + + + + A list of assembly names to exclude from the default action of "embed all Copy Local references", delimited with | + + + + + A list of assembly names to include from the default action of "embed all Copy Local references", delimited with |. + + + + + A list of runtime assembly names to exclude from the default action of "embed all Copy Local references", delimited with | + + + + + A list of runtime assembly names to include from the default action of "embed all Copy Local references", delimited with |. + + + + + A list of unmanaged 32 bit assembly names to include, delimited with |. + + + + + A list of unmanaged 64 bit assembly names to include, delimited with |. + + + + + The order of preloaded assemblies, delimited with |. + + + + + + + + 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. + + + + + A comma-separated list of error codes that can be safely ignored in assembly verification. + + + + + 'false' to turn off automatic generation of the XML Schema file. + + + + + \ No newline at end of file diff --git a/CliFx.Demo/CliFx.Demo.csproj b/CliFx.Demo/CliFx.Demo.csproj index 6e05ff0..80c67ed 100644 --- a/CliFx.Demo/CliFx.Demo.csproj +++ b/CliFx.Demo/CliFx.Demo.csproj @@ -12,7 +12,7 @@ - + \ No newline at end of file diff --git a/CliFx.Tests.Dummy/CliFx.Tests.Dummy.csproj b/CliFx.Tests.Dummy/CliFx.Tests.Dummy.csproj index 60e9808..3a156bc 100644 --- a/CliFx.Tests.Dummy/CliFx.Tests.Dummy.csproj +++ b/CliFx.Tests.Dummy/CliFx.Tests.Dummy.csproj @@ -7,7 +7,7 @@ - + \ No newline at end of file diff --git a/CliFx.Tests/CliFx.Tests.csproj b/CliFx.Tests/CliFx.Tests.csproj index f46142b..037b23a 100644 --- a/CliFx.Tests/CliFx.Tests.csproj +++ b/CliFx.Tests/CliFx.Tests.csproj @@ -10,8 +10,8 @@ - - + + diff --git a/CliFx/CliFx.csproj b/CliFx/CliFx.csproj index a390126..f8dc583 100644 --- a/CliFx/CliFx.csproj +++ b/CliFx/CliFx.csproj @@ -33,18 +33,8 @@ - + - - - - - - - - - - \ No newline at end of file