File tree 3 files changed +11
-0
lines changed 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ phases:
61
61
_RuntimeIdentifier : ' '
62
62
_BuildArchitecture : ' x64'
63
63
_DropSuffix : ' '
64
+ _AdditionalBuildParameters : ' -p:DisableSourceLink=true'
64
65
Build_Fedora_27_Debug_x64 :
65
66
_BuildConfig : Debug
66
67
_DockerParameter : ' --docker fedora.27'
@@ -103,6 +104,7 @@ phases:
103
104
_RuntimeIdentifier : ' --runtime-id rhel.6-x64'
104
105
_BuildArchitecture : ' x64'
105
106
_DropSuffix : ' '
107
+ _AdditionalBuildParameters : ' -p:DisableSourceLink=true'
106
108
Build_Arm_Debug :
107
109
_BuildConfig : Debug
108
110
_DockerParameter : ' '
Original file line number Diff line number Diff line change 14
14
<IsShipping >true</IsShipping >
15
15
<CoreSdkTargetFramework >netcoreapp3.0</CoreSdkTargetFramework >
16
16
</PropertyGroup >
17
+
18
+ <PropertyGroup Condition =" '$(DisableSourceLink)' == 'true'" >
19
+ <EnableSourceLink >false</EnableSourceLink >
20
+ <EnableSourceControlManagerQueries >false</EnableSourceControlManagerQueries >
21
+ <DeterministicSourcePaths >false</DeterministicSourcePaths >
22
+ </PropertyGroup >
17
23
</Project >
Original file line number Diff line number Diff line change @@ -22,13 +22,15 @@ phases:
22
22
DockerParameter : $(_DockerParameter)
23
23
LinuxPortable : $(_LinuxPortable)
24
24
RuntimeId : $(_RuntimeIdentifier)
25
+ AdditionalBuildParameters : $(_AdditionalBuildParameters)
25
26
26
27
steps :
27
28
- ${{ if eq(parameters.agentOs, 'Windows_NT') }} :
28
29
- script : build.cmd
29
30
-test -pack -publish
30
31
-Configuration $(BuildConfig)
31
32
-Architecture $(BuildArchitecture)
33
+ $(AdditionalBuildParameters)
32
34
displayName : Build
33
35
env :
34
36
DOTNET_CLI_UI_LANGUAGE : $(_DOTNET_CLI_UI_LANGUAGE)
@@ -43,6 +45,7 @@ phases:
43
45
--architecture $(BuildArchitecture)
44
46
$(LinuxPortable)
45
47
$(RuntimeId)
48
+ $(AdditionalBuildParameters)
46
49
displayName : Build
47
50
env :
48
51
DropSuffix : $(_DropSuffix)
You can’t perform that action at this time.
0 commit comments