mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
full symbols for visual studio or code coverage (#1043)
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
<Project>
|
<Project>
|
||||||
<Sdk Name="Microsoft.Build.CentralPackageVersions" Version="2.0.52" />
|
<Sdk Name="Microsoft.Build.CentralPackageVersions" Version="2.0.52" />
|
||||||
<!-- Need full debugtype for code coverage -->
|
<!-- Need full debugtype for code coverage -->
|
||||||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
<PropertyGroup Condition="'$(Configuration)' == 'Debug' and ('$(BuildingInsideVisualStudio)' != '' or '$(CodeCoverageBuild)' == 'true')">
|
||||||
<DebugType>portable</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -22,6 +22,7 @@ steps:
|
|||||||
displayName: 'dotnet build'
|
displayName: 'dotnet build'
|
||||||
inputs:
|
inputs:
|
||||||
projects: '**/Microsoft.SqlTools.ServiceLayer.IntegrationTests.csproj'
|
projects: '**/Microsoft.SqlTools.ServiceLayer.IntegrationTests.csproj'
|
||||||
|
arguments: '/p:CodeCoverageBuild=true'
|
||||||
|
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
displayName: 'Copy testsettings file to bin'
|
displayName: 'Copy testsettings file to bin'
|
||||||
|
|||||||
Reference in New Issue
Block a user