|
72 | 72 | </PropertyGroup>
|
73 | 73 |
|
74 | 74 | <!-- NuGet Audit Settings-->
|
75 |
| - <PropertyGroup> |
| 75 | + <PropertyGroupCondition="'$(TF_BUILD)' == 'true'"> |
76 | 76 | <!--
|
77 | 77 | ADO does not support audit/vulnerability feeds, so the audit feed is specified (in
|
78 | 78 | nuget.config) as nuget.org. OneBranch default network isolation does not allow connections
|
79 | 79 | to nuget.org. To avoid this issue, we will disable auditing for official builds, but leave it
|
80 | 80 | enabled for local builds.
|
81 | 81 | @TODO: If/when auditing is enabled for central feeds services, this can be removed.
|
82 | 82 | -->
|
83 |
| - <NuGetAuditCondition="'$(TF_BUILD)' == 'true'">false</NuGetAudit> |
| 83 | + <NuGetAudit>false</NuGetAudit> |
| 84 | + </PropertyGroup> |
| 85 | + <PropertyGroup> |
84 | 86 | <NuGetAuditMode>all</NuGetAuditMode>
|
85 | 87 | </PropertyGroup>
|
86 | 88 |
|
|