This repository has been archived by the owner on Jun 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 214
/
strongname.cmd
97 lines (79 loc) · 3.01 KB
/
strongname.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
@echo off
REM ******************************************
REM **
REM ** Locate folders and disable strongname
REM **
REM ******************************************
echo options: debug (default), release
echo args: %1%
set bconfig=debug
if '%1' NEQ '' (set bconfig=%1%)
if '%1' EQU 'd' (set bconfig=debug)
Rem echo config: %gotoFolder%
Rem ADAL and Core
set gotoFolder=adal\src\Microsoft.IdentityModel.Clients.ActiveDirectory\bin\%bconfig%\monoandroid7
pushd %gotoFolder%
sn.exe -Vr Microsoft.IdentityModel.Clients.ActiveDirectory.dll
sn.exe -Vr Microsoft.Identity.Core.dll
popd
set gotoFolder=adal\src\Microsoft.IdentityModel.Clients.ActiveDirectory\bin\%bconfig%\netstandard1.1
pushd %gotoFolder%
sn.exe -Vr Microsoft.IdentityModel.Clients.ActiveDirectory.dll
sn.exe -Vr Microsoft.Identity.Core.dll
popd
set gotoFolder=adal\src\Microsoft.IdentityModel.Clients.ActiveDirectory\bin\%bconfig%\netstandard1.3
pushd %gotoFolder%
sn.exe -Vr Microsoft.IdentityModel.Clients.ActiveDirectory.dll
sn.exe -Vr Microsoft.Identity.Core.dll
popd
set gotoFolder=adal\src\Microsoft.IdentityModel.Clients.ActiveDirectory\bin\%bconfig%\xamarin.ios10
pushd %gotoFolder%
sn.exe -Vr Microsoft.IdentityModel.Clients.ActiveDirectory.dll
sn.exe -Vr Microsoft.Identity.Core.dll
popd
set gotoFolder=adal\src\Microsoft.IdentityModel.Clients.ActiveDirectory\bin\%bconfig%\uap10.0
pushd %gotoFolder%
sn.exe -Vr Microsoft.IdentityModel.Clients.ActiveDirectory.dll
sn.exe -Vr Microsoft.Identity.Core.dll
popd
set gotoFolder=adal\src\Microsoft.IdentityModel.Clients.ActiveDirectory\bin\%bconfig%\net45
pushd %gotoFolder%
sn.exe -Vr Microsoft.IdentityModel.Clients.ActiveDirectory.dll
sn.exe -Vr Microsoft.Identity.Core.dll
popd
Rem MSAL
set gotoFolder=msal\src\Microsoft.Identity.Client\bin\%bconfig%\monoandroid7
pushd %gotoFolder%
sn.exe -Vr Microsoft.IdentityModel.Clients.ActiveDirectory.dll
sn.exe -Vr Microsoft.Identity.Core.dll
popd
set gotoFolder=msal\src\Microsoft.Identity.Client\bin\%bconfig%\netstandard1.1
pushd %gotoFolder%
sn.exe -Vr Microsoft.IdentityModel.Clients.ActiveDirectory.dll
sn.exe -Vr Microsoft.Identity.Core.dll
popd
set gotoFolder=msal\src\Microsoft.Identity.Client\bin\%bconfig%\netstandard1.3
pushd %gotoFolder%
sn.exe -Vr Microsoft.IdentityModel.Clients.ActiveDirectory.dll
sn.exe -Vr Microsoft.Identity.Core.dll
popd
set gotoFolder=msal\src\Microsoft.Identity.Client\bin\%bconfig%\xamarin.ios10
pushd %gotoFolder%
sn.exe -Vr Microsoft.IdentityModel.Clients.ActiveDirectory.dll
sn.exe -Vr Microsoft.Identity.Core.dll
popd
set gotoFolder=msal\src\Microsoft.Identity.Client\bin\%bconfig%\uap10.0
pushd %gotoFolder%
sn.exe -Vr Microsoft.IdentityModel.Clients.ActiveDirectory.dll
sn.exe -Vr Microsoft.Identity.Core.dll
popd
set gotoFolder=msal\src\Microsoft.Identity.Client\bin\%bconfig%\net45
pushd %gotoFolder%
sn.exe -Vr Microsoft.IdentityModel.Clients.ActiveDirectory.dll
sn.exe -Vr Microsoft.Identity.Core.dll
popd
delete ....
set gotoFolder=msal\src\Microsoft.Identity.Client\bin\%bconfig%\net45
pushd %gotoFolder%
sn.exe -Vr Microsoft.Identity.Client.dll
popd