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