|
163 | 163 | <Target Name="GetIncludedFiles" DependsOnTargets="ValidateEnvironment">
|
164 | 164 | <!-- Build arguments for the command line tool -->
|
165 | 165 | <PropertyGroup>
|
166 |
| - <PreDeploymentScriptArgument>@(PreDeploy->'--predeploy %(Identity)', ' ')</PreDeploymentScriptArgument> |
167 |
| - <PostDeploymentScriptArgument>@(PostDeploy->'--postdeploy %(Identity)', ' ')</PostDeploymentScriptArgument> |
| 166 | + <PreDeploymentScriptArgument>@(PreDeploy->'--predeploy "%(Identity)"', ' ')</PreDeploymentScriptArgument> |
| 167 | + <PostDeploymentScriptArgument>@(PostDeploy->'--postdeploy "%(Identity)"', ' ')</PostDeploymentScriptArgument> |
168 | 168 | <DebugArgument Condition="'$(MSBuildSdkSqlProjDebug)' == 'True'">--debug</DebugArgument>
|
169 | 169 | <DacpacToolCommand>dotnet "$(DacpacToolExe)" collect-includes $(PreDeploymentScriptArgument) $(PostDeploymentScriptArgument) $(DebugArgument)</DacpacToolCommand>
|
170 | 170 | </PropertyGroup>
|
|
225 | 225 | <BuildPropertyArguments>@(BuildPropertyNames->'-bp %(Identity)=%(PropertyValue)', ' ')</BuildPropertyArguments>
|
226 | 226 | <DeployPropertyArguments>@(DeployPropertyNames->'-dp %(Identity)=%(PropertyValue)', ' ')</DeployPropertyArguments>
|
227 | 227 | <SqlCmdVariableArguments>@(SqlCmdVariable->'-sc %(Identity)="%(DefaultValue)"', ' ')</SqlCmdVariableArguments>
|
228 |
| - <PreDeploymentScriptArgument>@(PreDeploy->'--predeploy %(Identity)', ' ')</PreDeploymentScriptArgument> |
229 |
| - <PostDeploymentScriptArgument>@(PostDeploy->'--postdeploy %(Identity)', ' ')</PostDeploymentScriptArgument> |
230 |
| - <RefactorLogScriptArgument>@(RefactorLog->'--refactorlog %(Identity)', ' ')</RefactorLogScriptArgument> |
| 228 | + <PreDeploymentScriptArgument>@(PreDeploy->'--predeploy "%(Identity)"', ' ')</PreDeploymentScriptArgument> |
| 229 | + <PostDeploymentScriptArgument>@(PostDeploy->'--postdeploy "%(Identity)"', ' ')</PostDeploymentScriptArgument> |
| 230 | + <RefactorLogScriptArgument>@(RefactorLog->'--refactorlog "%(Identity)"', ' ')</RefactorLogScriptArgument> |
231 | 231 | <RunSqlCodeAnalysisArgument Condition="'$(RunSqlCodeAnalysis)' == 'True'">-an</RunSqlCodeAnalysisArgument>
|
232 | 232 | <CodeAnalysisAssemblyLookupPathsArgument Condition="'$(RunSqlCodeAnalysis)' == 'True'">@(Analyzer->'-aa "%(Identity)"', ' ')</CodeAnalysisAssemblyLookupPathsArgument>
|
233 | 233 | <CodeAnalysisRulesArgument Condition="'$(CodeAnalysisRules)'!=''">-ar "$(CodeAnalysisRules)"</CodeAnalysisRulesArgument>
|
|
0 commit comments