|
|
|
|
@ -48,7 +48,12 @@
|
|
|
|
|
|
|
|
|
|
<RequireConsentSwitch Condition=" $(RequireRestoreConsent) == 'true' ">-RequireConsent</RequireConsentSwitch>
|
|
|
|
|
<!-- Commands -->
|
|
|
|
|
<RestoreCommand>$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(RequireConsentSwitch) -solutionDir "$(SolutionDir) "</RestoreCommand>
|
|
|
|
|
|
|
|
|
|
<SolutionDirParsed Condition=" '$(OS)' == 'Windows_NT' ">$(SolutionDir) </SolutionDirParsed>
|
|
|
|
|
<SolutionDirParsed Condition=" '$(OS)' != 'Windows_NT' ">$(SolutionDir)</SolutionDirParsed>
|
|
|
|
|
<RestoreCommand Condition=" '$(OS)' == 'Windows_NT' ">$(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(RequireConsentSwitch) -solutionDir "$(SolutionDirParsed)"</RestoreCommand>
|
|
|
|
|
<RestoreCommand Condition=" '$(OS)' != 'Windows_NT' ">bash $(NuGetToolsPath)\..\.ci\exec-with-retry.sh $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(RequireConsentSwitch) -solutionDir "$(SolutionDirParsed)"</RestoreCommand>
|
|
|
|
|
|
|
|
|
|
<BuildCommand>$(NuGetCommand) pack "$(ProjectPath)" -p Configuration=$(Configuration) -o "$(PackageOutputDir)" -symbols</BuildCommand>
|
|
|
|
|
|
|
|
|
|
<!-- We need to ensure packages are restored prior to assembly resolve -->
|
|
|
|
|
|