diff --git a/src/Compiler/FSharp.Compiler.Service.fsproj b/src/Compiler/FSharp.Compiler.Service.fsproj index 54f68ef21d1..ecf060a63ef 100644 --- a/src/Compiler/FSharp.Compiler.Service.fsproj +++ b/src/Compiler/FSharp.Compiler.Service.fsproj @@ -25,6 +25,7 @@ $(IntermediateOutputPath)$(TargetFramework)\ $(IntermediateOutputPath)$(TargetFramework)\ false + Debug;Release;ReleaseCompressed diff --git a/src/FSharp.Build/FSharp.Build.fsproj b/src/FSharp.Build/FSharp.Build.fsproj index ff97e84dad5..0b477a0c387 100644 --- a/src/FSharp.Build/FSharp.Build.fsproj +++ b/src/FSharp.Build/FSharp.Build.fsproj @@ -13,7 +13,7 @@ NU1701;FS0075 true 7.0 - Debug;Release;Proto + Debug;Release;Proto;ReleaseCompressed diff --git a/src/FSharp.Compiler.Interactive.Settings/FSharp.Compiler.Interactive.Settings.fsproj b/src/FSharp.Compiler.Interactive.Settings/FSharp.Compiler.Interactive.Settings.fsproj index 890d9970bda..8c159c34f01 100644 --- a/src/FSharp.Compiler.Interactive.Settings/FSharp.Compiler.Interactive.Settings.fsproj +++ b/src/FSharp.Compiler.Interactive.Settings/FSharp.Compiler.Interactive.Settings.fsproj @@ -7,6 +7,7 @@ netstandard2.0 FSharp.Compiler.Interactive.Settings true + Debug;Release;ReleaseCompressed diff --git a/src/FSharp.Core/FSharp.Core.fsproj b/src/FSharp.Core/FSharp.Core.fsproj index 396618bb65d..cf267f6f914 100644 --- a/src/FSharp.Core/FSharp.Core.fsproj +++ b/src/FSharp.Core/FSharp.Core.fsproj @@ -36,7 +36,7 @@ true FSharp.Core redistributables from F# Tools version $(FSProductVersionPrefix) For F# $(FSLanguageVersion). Contains code from the F# Software Foundation. /blob/main/release-notes.md#FSharp-Core-$(FSCoreReleaseNotesVersion) - Debug;Release;Proto + Debug;Release;Proto;ReleaseCompressed diff --git a/src/FSharp.DependencyManager.Nuget/FSharp.DependencyManager.Nuget.fsproj b/src/FSharp.DependencyManager.Nuget/FSharp.DependencyManager.Nuget.fsproj index c0d27860b6b..3d15f45e103 100644 --- a/src/FSharp.DependencyManager.Nuget/FSharp.DependencyManager.Nuget.fsproj +++ b/src/FSharp.DependencyManager.Nuget/FSharp.DependencyManager.Nuget.fsproj @@ -10,6 +10,7 @@ $(DefineConstants);COMPILER $(OtherFlags) --warnon:1182 true + Debug;Release;ReleaseCompressed diff --git a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj index f3c8aba808a..522a1bdb4e4 100644 --- a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj +++ b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj @@ -34,8 +34,12 @@ - - + + Configuration=ReleaseCompressed;CompressAllMetadata=true + + + Configuration=ReleaseCompressed;CompressAllMetadata=true + diff --git a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec index c87a70d9d62..be51b9e7966 100644 --- a/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec +++ b/src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.nuspec @@ -26,33 +26,33 @@ this approach gives a very small deployment. Which is kind of necessary. --> - - - - - - - + + + + + + - - - - - - - + + + + + + - - + - - - + @@ -60,9 +60,9 @@ target="contentFiles\Shipping" /> - - diff --git a/src/fsc/fscAnyCpuProject/fscAnyCpu.fsproj b/src/fsc/fscAnyCpuProject/fscAnyCpu.fsproj index 9b0de73dd99..b792e01777d 100644 --- a/src/fsc/fscAnyCpuProject/fscAnyCpu.fsproj +++ b/src/fsc/fscAnyCpuProject/fscAnyCpu.fsproj @@ -7,6 +7,7 @@ anycpu .exe true + Debug;Release;ReleaseCompressed diff --git a/src/fsc/fscArm64Project/fscArm64.fsproj b/src/fsc/fscArm64Project/fscArm64.fsproj index 08265c05de1..a87677d9f55 100644 --- a/src/fsc/fscArm64Project/fscArm64.fsproj +++ b/src/fsc/fscArm64Project/fscArm64.fsproj @@ -7,6 +7,7 @@ arm64 .exe true + Debug;Release;ReleaseCompressed diff --git a/src/fsc/fscProject/fsc.fsproj b/src/fsc/fscProject/fsc.fsproj index 9172eefa5c0..02a0be9db52 100644 --- a/src/fsc/fscProject/fsc.fsproj +++ b/src/fsc/fscProject/fsc.fsproj @@ -6,7 +6,7 @@ net472;net7.0 net7.0 x86 - Debug;Release;Proto + Debug;Release;Proto;ReleaseCompressed diff --git a/src/fsi/fsiAnyCpuProject/fsiAnyCpu.fsproj b/src/fsi/fsiAnyCpuProject/fsiAnyCpu.fsproj index 9f71fce7692..a77d45ffeec 100644 --- a/src/fsi/fsiAnyCpuProject/fsiAnyCpu.fsproj +++ b/src/fsi/fsiAnyCpuProject/fsiAnyCpu.fsproj @@ -8,6 +8,7 @@ .exe true $(DefineConstants);FSI_SHADOW_COPY_REFERENCES;FSI_SERVER + Debug;Release;ReleaseCompressed diff --git a/src/fsi/fsiArm64Project/fsiArm64.fsproj b/src/fsi/fsiArm64Project/fsiArm64.fsproj index 3356a42f3f7..6c183d4a611 100644 --- a/src/fsi/fsiArm64Project/fsiArm64.fsproj +++ b/src/fsi/fsiArm64Project/fsiArm64.fsproj @@ -8,6 +8,7 @@ .exe true $(DefineConstants);FSI_SHADOW_COPY_REFERENCES;FSI_SERVER + Debug;Release;ReleaseCompressed diff --git a/src/fsi/fsiProject/fsi.fsproj b/src/fsi/fsiProject/fsi.fsproj index 799fc1362e6..ad09b1b8ee6 100644 --- a/src/fsi/fsiProject/fsi.fsproj +++ b/src/fsi/fsiProject/fsi.fsproj @@ -6,7 +6,7 @@ net472;net7.0 net7.0 x86 - Debug;Release;Proto + Debug;Release;Proto;ReleaseCompressed