Skip to content

Commit ddf243d

Browse files
authored
Merge pull request #4498 from cormacpayne/build-tasks
Fix path of build tasks dll for sign job
2 parents d9bfc77 + 1fb7e2d commit ddf243d

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

build.proj

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
<Scope Condition=" $(Scope) == '' " >all</Scope>
5050
<NetCore Condition=" $(NetCore) == '' " >false</NetCore>
5151
<SkipHelp Condition =" '$(SkipHelp)' == '' ">false</SkipHelp>
52+
<BuildTasksPath>$(LibraryToolsFolder)\BuildPackagesTask\Microsoft.Azure.Build.Tasks\bin\$(Configuration)</BuildTasksPath>
5253
</PropertyGroup>
5354
<ItemGroup>
5455
<CmdletSolutionsToBuild Include=".\src\Storage\Storage.sln;.\src\ResourceManager\**\*.sln;.\src\ServiceManagement\ServiceManagement.sln;"
@@ -66,11 +67,11 @@
6667
</ItemGroup>
6768

6869
<!-- Tasks -->
69-
<UsingTask TaskName="ValidateStrongNameSignatureTask" AssemblyFile="$(LibraryToolsFolder)\Microsoft.Azure.Build.Tasks.dll" />
70-
<UsingTask TaskName="FilterOutAutoRestLibraries" AssemblyFile="$(LibraryToolsFolder)\Microsoft.Azure.Build.Tasks.dll" />
71-
<UsingTask TaskName="DebugTask" AssemblyFile="$(LibraryToolsFolder)\Microsoft.Azure.Build.Tasks.dll" />
72-
<UsingTask TaskName="VerifyAuthenticodeSignatureTask" AssemblyFile="$(LibraryToolsFolder)\Microsoft.Azure.Build.Tasks.dll" />
73-
<UsingTask TaskName="SmartTestingTask" AssemblyFile="$(LibraryToolsFolder)\BuildPackagesTask\Microsoft.Azure.Build.Tasks\bin\Debug\Microsoft.Azure.Build.Tasks.dll" />
70+
<UsingTask TaskName="ValidateStrongNameSignatureTask" AssemblyFile="$(BuildTasksPath)\Microsoft.Azure.Build.Tasks.dll" />
71+
<UsingTask TaskName="FilterOutAutoRestLibraries" AssemblyFile="$(BuildTasksPath)\Microsoft.Azure.Build.Tasks.dll" />
72+
<UsingTask TaskName="DebugTask" AssemblyFile="$(BuildTasksPath)\Microsoft.Azure.Build.Tasks.dll" />
73+
<UsingTask TaskName="VerifyAuthenticodeSignatureTask" AssemblyFile="$(BuildTasksPath)\Microsoft.Azure.Build.Tasks.dll" />
74+
<UsingTask TaskName="SmartTestingTask" AssemblyFile="$(BuildTasksPath)\Microsoft.Azure.Build.Tasks.dll" />
7475
<UsingTask TaskName="SetEnvVar" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll" >
7576
<ParameterGroup>
7677
<EnvName ParameterType="System.String" Required="true" />
@@ -307,7 +308,7 @@
307308
<Target Name="BuildMsBuildTask" DependsOnTargets="RestoreNugetPackages">
308309
<MSBuild Projects="@(LocalBuildTasks)"
309310
Targets="Build"
310-
Properties="Configuration=Debug;Platform=Any CPU" />
311+
Properties="Configuration=$(Configuration);Platform=Any CPU" />
311312
</Target>
312313

313314
<Target Name="CodeSignBinaries" DependsOnTargets="RestoreNugetPackages;BuildMsBuildTask">

tools/BuildPackagesTask/Microsoft.Azure.Build.Tasks/Microsoft.Azure.Build.Tasks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2929
<DebugType>pdbonly</DebugType>
3030
<Optimize>true</Optimize>
31-
<OutputPath>..\</OutputPath>
31+
<OutputPath>bin\Release\</OutputPath>
3232
<DefineConstants>TRACE</DefineConstants>
3333
<ErrorReport>prompt</ErrorReport>
3434
<WarningLevel>4</WarningLevel>

0 commit comments

Comments
 (0)