-
Notifications
You must be signed in to change notification settings - Fork 192
/
build.proj
31 lines (23 loc) · 1.25 KB
/
build.proj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<Project DefaultTargets="Init" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="Directory.Build.props" />
<Import Project="test.props" />
<Import Project="AzSdk.props" />
<Import Project="Directory.Build.targets" />
<Import Project="$(NetSdkBuildTargetsDir)\core\_build.proj" Condition=" Exists('$(NetSdkBuildTargetsDir)\core\_build.proj') "/>
<PropertyGroup>
<Pdb2PdbCommand>"$(LibraryToolsFolder)\Pdb2Pdb\Pdb2Pdb.exe"</Pdb2PdbCommand>
</PropertyGroup>
<Target Name="PublishSymbols">
<ItemGroup>
<DllFiles Include=".\src\ResourceManagement\*\bin\Release\**\*.pdb">
</DllFiles>
</ItemGroup>
<Message Text="Found pdb files: "%(DllFiles.Identity)"" />
<MakeDir Directories=".\Symbols\%(DllFiles.RecursiveDir)" />
<Exec Command="$(Pdb2PdbCommand) .\src\ResourceManagement\%(DllFiles.RecursiveDir)%(DllFiles.Filename).dll /out .\Symbols\%(DllFiles.RecursiveDir)%(DllFiles.Filename).pdb" IgnoreExitCode="true" />
<ItemGroup>
<ConvertedSymbols Include=".\Symbols\**\*.pdb"/>
</ItemGroup>
<Copy SourceFiles="@(ConvertedSymbols)" DestinationFolder="\$(SymbolShareLocation)\$(ReleaseVersion)\%(RecursiveDir)" />
</Target>
</Project>