From 9edf99fe886539815169c7308b135c8617b736f7 Mon Sep 17 00:00:00 2001 From: ema Date: Mon, 2 Dec 2024 22:34:36 +0800 Subject: [PATCH] Fix WiX error in new compilation --- .../QuickLook.Installer.wixproj | 27 ++-- QuickLook/FodyWeavers.xml | 3 + QuickLook/FodyWeavers.xsd | 141 ++++++++++++++++++ 3 files changed, 158 insertions(+), 13 deletions(-) create mode 100644 QuickLook/FodyWeavers.xml create mode 100644 QuickLook/FodyWeavers.xsd diff --git a/QuickLook.Installer/QuickLook.Installer.wixproj b/QuickLook.Installer/QuickLook.Installer.wixproj index dc780ba..f704153 100644 --- a/QuickLook.Installer/QuickLook.Installer.wixproj +++ b/QuickLook.Installer/QuickLook.Installer.wixproj @@ -1,14 +1,15 @@  - + Debug x86 - 3.10 + 3.14 f0214fc2-efbe-426c-842d-b42bc37d9525 2.0 QuickLook Package ..\Build\ + latest obj\$(Configuration)\ @@ -32,9 +33,9 @@ - + - + powershell -file "$(SolutionDir)Scripts\rename-msi.ps1" @@ -44,16 +45,16 @@ powershell -file "$(SolutionDir)Scripts\pack-zip.ps1" rmdir /S /Q "$(SolutionDir)Build\Package" -robocopy "$(SolutionDir)Build\$(Configuration)" "$(SolutionDir)Build\Package" %2a.%2a /e /njh /njs /ndl /nfl /nc /ns /np /xf %2a.pdb /xf %2a.obj /xf %2a.ipdb /xf %2a.iobj /xf %2a.exp /xf %2a.lib /xf %2a.ilk /xf %2a.xml +robocopy "$(SolutionDir)Build\$(Configuration)" "$(SolutionDir)Build\Package" *.* /e /njh /njs /ndl /nfl /nc /ns /np /xf *.pdb /xf *.obj /xf *.ipdb /xf *.iobj /xf *.exp /xf *.lib /xf *.ilk /xf *.xml "$(WIX)bin\heat" dir "$(SolutionDir)Build\Package" -dr INSTALLFOLDER -cg QuickLookComponents -gg -g1 -sf -srd -sreg -var "var.PackageDir" -out "$(ProjectDir)C_QuickLookComponents.wxs" - \ No newline at end of file + To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Wix.targets. + + + + + --> + diff --git a/QuickLook/FodyWeavers.xml b/QuickLook/FodyWeavers.xml new file mode 100644 index 0000000..5029e70 --- /dev/null +++ b/QuickLook/FodyWeavers.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/QuickLook/FodyWeavers.xsd b/QuickLook/FodyWeavers.xsd new file mode 100644 index 0000000..05e92c1 --- /dev/null +++ b/QuickLook/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