Skip to content

Commit 958bfea

Browse files
authored
Merge pull request #4819 from Microsoft/compiler-vsix
remove MSI package and replace with app-local VSIX packages
2 parents 970b616 + 2e9e6da commit 958bfea

39 files changed

+329
-1145
lines changed

build.cmd

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -771,8 +771,8 @@ if "%BUILD_NET40%" == "1" (
771771
echo ---------------- Done with assembly version checks, starting assembly signing ---------------
772772

773773
if not "%SIGN_TYPE%" == "" (
774-
echo build\scripts\run-signtool.cmd -MSBuild %_msbuildexe% -SignType %SIGN_TYPE% -ConfigFile build\config\AssemblySignToolData.json
775-
call build\scripts\run-signtool.cmd -MSBuild %_msbuildexe% -SignType %SIGN_TYPE% -ConfigFile build\config\AssemblySignToolData.json
774+
echo build\scripts\run-signtool.cmd -MSBuild %_msbuildexe% -SignType %SIGN_TYPE% -Configuration %BUILD_CONFIG% -ConfigFile build\config\AssemblySignToolData.json
775+
call build\scripts\run-signtool.cmd -MSBuild %_msbuildexe% -SignType %SIGN_TYPE% -Configuration %BUILD_CONFIG% -ConfigFile build\config\AssemblySignToolData.json
776776
if ERRORLEVEL 1 echo Error running sign tool && goto :failure
777777
)
778778

@@ -783,20 +783,8 @@ echo %_msbuildexe% %msbuildflags% build-nuget-packages.proj /p:Configuration=%BU
783783
if ERRORLEVEL 1 echo Error building NuGet packages && goto :failure
784784

785785
if not "%SIGN_TYPE%" == "" (
786-
echo build\scripts\run-signtool.cmd -MSBuild %_msbuildexe% -SignType %SIGN_TYPE% -ConfigFile build\config\PackageSignToolData.json
787-
call build\scripts\run-signtool.cmd -MSBuild %_msbuildexe% -SignType %SIGN_TYPE% -ConfigFile build\config\PackageSignToolData.json
788-
if ERRORLEVEL 1 echo Error running sign tool && goto :failure
789-
)
790-
791-
if "%BUILD_SETUP%" == "1" (
792-
echo %_msbuildexe% %msbuildflags% setup\build-msi.proj /p:Configuration=%BUILD_CONFIG%
793-
%_msbuildexe% %msbuildflags% setup\build-msi.proj /p:Configuration=%BUILD_CONFIG%
794-
if ERRORLEVEL 1 echo Error building MSI && goto :failure
795-
)
796-
797-
if not "%SIGN_TYPE%" == "" (
798-
echo build\scripts\run-signtool.cmd -MSBuild %_msbuildexe% -SignType %SIGN_TYPE% -ConfigFile build\config\MsiSignToolData.json
799-
call build\scripts\run-signtool.cmd -MSBuild %_msbuildexe% -SignType %SIGN_TYPE% -ConfigFile build\config\MsiSignToolData.json
786+
echo build\scripts\run-signtool.cmd -MSBuild %_msbuildexe% -SignType %SIGN_TYPE% -Configuration %BUILD_CONFIG% -ConfigFile build\config\PackageSignToolData.json
787+
call build\scripts\run-signtool.cmd -MSBuild %_msbuildexe% -SignType %SIGN_TYPE% -Configuration %BUILD_CONFIG% -ConfigFile build\config\PackageSignToolData.json
800788
if ERRORLEVEL 1 echo Error running sign tool && goto :failure
801789
)
802790

@@ -807,8 +795,8 @@ if "%BUILD_SETUP%" == "1" (
807795
)
808796

809797
if not "%SIGN_TYPE%" == "" (
810-
echo build\scripts\run-signtool.cmd -MSBuild %_msbuildexe% -SignType %SIGN_TYPE% -ConfigFile build\config\InsertionSignToolData.json
811-
call build\scripts\run-signtool.cmd -MSBuild %_msbuildexe% -SignType %SIGN_TYPE% -ConfigFile build\config\InsertionSignToolData.json
798+
echo build\scripts\run-signtool.cmd -MSBuild %_msbuildexe% -SignType %SIGN_TYPE% -Configuration %BUILD_CONFIG% -ConfigFile build\config\InsertionSignToolData.json
799+
call build\scripts\run-signtool.cmd -MSBuild %_msbuildexe% -SignType %SIGN_TYPE% -Configuration %BUILD_CONFIG% -ConfigFile build\config\InsertionSignToolData.json
812800
if ERRORLEVEL 1 echo Error running sign tool && goto :failure
813801
)
814802

Lines changed: 36 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,37 @@
11
{
2-
"sign": [
3-
{
4-
"certificate": "VsixSHA2",
5-
"strongName": null,
6-
"values": [
7-
"insertion\\Microsoft.FSharp.SDK.Resources.ENU.vsix"
8-
]
9-
}
10-
],
11-
"exclude": [
12-
]
13-
}
14-
2+
"sign": [
3+
{
4+
"certificate": "VsixSHA2",
5+
"strongName": null,
6+
"values": [
7+
"insertion\\Microsoft.FSharp.Compiler.vsix",
8+
"insertion\\Microsoft.FSharp.Compiler.Resources.*.vsix",
9+
"insertion\\Microsoft.FSharp.SDK.vsix"
10+
]
11+
}
12+
],
13+
"exclude": [
14+
"fsc.exe",
15+
"FSharp.Build.dll",
16+
"FSharp.Build.resources.dll",
17+
"FSharp.Core.dll",
18+
"FSharp.Core.resources.dll",
19+
"FSharp.Compiler.Private.dll",
20+
"FSharp.Compiler.Private.resources.dll",
21+
"FSharp.Compiler.Server.Shared.dll",
22+
"FSharp.Compiler.Interactive.Settings.dll",
23+
"FSharp.Compiler.Interactive.Settings.resources.dll",
24+
"fsi.exe",
25+
"fsiAnyCpu.exe",
26+
"FSharp.Data.TypeProviders.dll",
27+
"Microsoft.Build.dll",
28+
"Microsoft.Build.Conversion.Core.dll",
29+
"Microsoft.Build.Engine.dll",
30+
"Microsoft.Build.Framework.dll",
31+
"Microsoft.Build.Tasks.Core.dll",
32+
"Microsoft.Build.Utilities.Core.dll",
33+
"System.Collections.Immutable.dll",
34+
"System.Reflection.Metadata.dll",
35+
"System.ValueTuple.dll"
36+
]
37+
}

build/config/MsiSignToolData.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

build/scripts/run-signtool.cmd

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ if /i "%arg%" == "-SignType" (
2626
set SignType=%argv%
2727
shift
2828
)
29+
if /i "%arg%" == "-Configuration" (
30+
set Configuration=%argv%
31+
shift
32+
)
2933
if /i "%arg%" == "-ConfigFile" (
3034
set ConfigFile=%argv%
3135
shift
@@ -50,7 +54,7 @@ set SignToolArgs=%SignToolArgs% -test
5054
:runsigntool
5155

5256
if not exist "%_signtoolexe%" echo The signing tool could not be found at location '%_signtoolexe%' && goto error
53-
set SignToolArgs=%SignToolArgs% "%scriptdir%..\..\release"
57+
set SignToolArgs=%SignToolArgs% "%scriptdir%..\..\%Configuration%"
5458
echo "%_signtoolexe%" %SignToolArgs%
5559
"%_signtoolexe%" %SignToolArgs%
5660
if errorlevel 1 goto error
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
net4*/
2+
netstandard*/

setup/FSharp.SDK/Common.Wix.Properties.wxs

Lines changed: 0 additions & 100 deletions
This file was deleted.

setup/FSharp.SDK/FSharp.SDK.wixproj

Lines changed: 0 additions & 77 deletions
This file was deleted.

setup/FSharp.SDK/FSharp.SDK.wxs

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)