Skip to content

Commit d7dab27

Browse files
committed
Update azure-pipelines.yml
1 parent 661851e commit d7dab27

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

azure-pipelines.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,12 @@ jobs:
239239
inputs:
240240
versionSpec: '4.x'
241241

242-
# IMPORTANT Uses nuget.exe, not dotnet sdk, to update the credentials of the 'Telerik_v3_Feed' source defined in the nuget.config
243-
- task: PowerShell@2
244-
displayName: 'Set Package Source Credentials'
245-
inputs:
246-
targetType: 'inline'
247-
script: nuget sources update -Name 'Telerik_v3_Feed' -Source 'https://nuget.telerik.com/v3/index.json' -Username 'api-key' -Password '$(MY_TELERIK_NUGET_KEY)' -ConfigFile '$(nugetConfigPath)' -StorePasswordInClearText
242+
# You could also use nuget.exe's update command to set the credentials of the 'Telerik_v3_Feed' source defined in the nuget.config
243+
# - task: PowerShell@2
244+
# displayName: 'Set Package Source Credentials'
245+
# inputs:
246+
# targetType: 'inline'
247+
# script: nuget sources update -Name 'Telerik_v3_Feed' -Source 'https://nuget.telerik.com/v3/index.json' -Username 'api-key' -Password '$(MY_TELERIK_NUGET_KEY)' -ConfigFile '$(nugetConfigPath)' -StorePasswordInClearText
248248

249249
- task: NuGetCommand@2
250250
displayName: 'NuGet restore'
@@ -260,7 +260,7 @@ jobs:
260260
solution: '$(ajaxProjectPath)'
261261
platform: Any CPU
262262
configuration: Release
263-
msbuildArguments: '/p:RestorePackages=true'
263+
msbuildArguments: '/t:Restore /p:Configuration=Release /p:RuntimeIdentifier=any'
264264
env:
265265
TELERIK_LICENSE_PATH: $(DownloadTelerikLicenseFile.secureFilePath) # Note 2: We use the name to reference the secureFilePath value
266266

0 commit comments

Comments
 (0)