diff --git a/Directory.Build.targets b/Directory.Build.targets
index bb346042..70c530dc 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -1,3 +1,8 @@
+
+
+ full
+ true
+
\ No newline at end of file
diff --git a/azure-pipelines/integrationtests.yml b/azure-pipelines/integrationtests.yml
new file mode 100644
index 00000000..ae71bea1
--- /dev/null
+++ b/azure-pipelines/integrationtests.yml
@@ -0,0 +1,52 @@
+pool:
+ name: SqlToolsTestAgentPool
+ steps:
+ - task: DownloadSecureFile@1
+ displayName: 'Download secure file'
+ inputs:
+ secureFile: 'testsettings.json'
+
+ - task: VisualStudioTestPlatformInstaller@1
+ displayName: 'Visual Studio Test Platform Installer'
+ inputs:
+ versionSelector: latestStable
+
+ - task: UseDotNet@2
+ displayName: 'Use .NET Core sdk '
+ inputs:
+ useGlobalJson: true
+
+ - task: DotNetCoreCLI@2
+ displayName: 'dotnet build'
+ inputs:
+ projects: '**/Microsoft.SqlTools.ServiceLayer.IntegrationTests.csproj'
+
+ - task: CopyFiles@2
+ displayName: 'Copy testsettings file to bin'
+ inputs:
+ SourceFolder: '$(Agent.TempDirectory)'
+ Contents: '**\testsettings.json'
+ TargetFolder: '$(Build.SourcesDirectory)\test\Microsoft.SqlTools.ServiceLayer.IntegrationTests\bin\Debug\netcoreapp3.1'
+
+ - task: DotNetCoreCLI@2
+ displayName: 'Run integration tests'
+ inputs:
+ command: test
+ projects: '**/Microsoft.SqlTools.ServiceLayer.IntegrationTests.csproj'
+ arguments: '--no-build'
+ testRunTitle: 'SqlToolsService Integration Tests'
+ enabled: false
+
+ - task: VSTest@2
+ displayName: 'Run integration tests with code coverage'
+ inputs:
+ testAssemblyVer2: '**/bin/Debug/**/Microsoft.SqlTools.ServiceLayer.IntegrationTests.dll'
+ vsTestVersion: toolsInstaller
+ runSettingsFile: 'azure-pipelines/testrun.runsettings'
+ codeCoverageEnabled: true
+ testRunTitle: 'SqlToolsService Integration Tests'
+ rerunFailedTests: true
+ rerunFailedThreshold: 15
+ rerunMaxAttempts: 1
+ continueOnError: true
+
\ No newline at end of file
diff --git a/azure-pipelines/testrun.runsettings b/azure-pipelines/testrun.runsettings
index 8298e935..dc636513 100644
--- a/azure-pipelines/testrun.runsettings
+++ b/azure-pipelines/testrun.runsettings
@@ -6,11 +6,19 @@
- Microsoft\.SqlTools.*\.dll$
- Microsoft\.SqlTools.*\.exe$
+ .*SqlTools.*
- Microsoft\.SqlTools\.ServiceLayer\.IntegrationTests\.dll
+ .*Microsoft\.SqlTools\.ServiceLayer\.IntegrationTests\.dll
+ .*Microsoft\.SqlTools\.ServiceLayer\.UnitTests\.dll
+ .*Nunit.*
+ .*Moq.*
+ .*Microsoft\.SqlTools\.Hosting\.UnitTests\.dll
+ .*Microsoft\.SqlTools\.ManagedBatchParser\.IntegrationTests\.dll
+ .*Microsoft\.SqlTools\.ServiceLayer\.PerfTests\.dll
+ .*Microsoft\.SqlTools\.ServiceLayer\.Test.Common\.dll
+ .*Microsoft\.SqlTools\.ServiceLayer\.TestDriver.*
+ .*Microsoft\.SqlTools\.ServiceLayer\.TestDriver.Tests\.dll
True
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index 980961e4..244e8bb6 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -1,27 +1,29 @@
-
-
- Microsoft Corporation
- Microsoft SQL Server
-
-
- 1.1.2
-
-
-
- Microsoft
- false
- © Microsoft Corporation. All rights reserved.
- https://github.com/Microsoft/sqltoolsservice/blob/master/license.txt
- http://s.gravatar.com/avatar/6f39d8562df0a3509a8240fb281bc5bd?s=80
- https://github.com/Microsoft/sqltoolsservice/
- SQL XPLAT
-
+
+
+ Microsoft Corporation
+ Microsoft SQL Server
+
+
+ 1.1.2
+
+
+
+ Microsoft
+ false
+ © Microsoft Corporation. All rights reserved.
+ https://github.com/Microsoft/sqltoolsservice/blob/master/license.txt
+ http://s.gravatar.com/avatar/6f39d8562df0a3509a8240fb281bc5bd?s=80
+ https://github.com/Microsoft/sqltoolsservice/
+ SQL XPLAT
+
netcoreapp3.1
netcoreapp3.1
- netcoreapp3.1
+ netcoreapp3.1
+
+
+ portable
-
\ No newline at end of file
diff --git a/src/Microsoft.SqlTools.Credentials/Microsoft.SqlTools.Credentials.csproj b/src/Microsoft.SqlTools.Credentials/Microsoft.SqlTools.Credentials.csproj
index 47ff59a9..1bb8dc09 100644
--- a/src/Microsoft.SqlTools.Credentials/Microsoft.SqlTools.Credentials.csproj
+++ b/src/Microsoft.SqlTools.Credentials/Microsoft.SqlTools.Credentials.csproj
@@ -12,7 +12,6 @@
$(DefineConstants);NETCOREAPP1_0
true
true
- portable
win7-x64;win7-x86;ubuntu.14.04-x64;ubuntu.16.04-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64;fedora.23-x64;opensuse.13.2-x64;osx.10.11-x64;linux-x64;win10-arm;win10-arm64
diff --git a/src/Microsoft.SqlTools.Hosting/Microsoft.SqlTools.Hosting.csproj b/src/Microsoft.SqlTools.Hosting/Microsoft.SqlTools.Hosting.csproj
index 991e3b87..c5876dcf 100644
--- a/src/Microsoft.SqlTools.Hosting/Microsoft.SqlTools.Hosting.csproj
+++ b/src/Microsoft.SqlTools.Hosting/Microsoft.SqlTools.Hosting.csproj
@@ -9,7 +9,6 @@
$(DefineConstants);NETCOREAPP1_0;TRACE
true
true
- portable
diff --git a/src/Microsoft.SqlTools.ManagedBatchParser/Microsoft.SqlTools.ManagedBatchParser.csproj b/src/Microsoft.SqlTools.ManagedBatchParser/Microsoft.SqlTools.ManagedBatchParser.csproj
index efae2691..9beb454f 100644
--- a/src/Microsoft.SqlTools.ManagedBatchParser/Microsoft.SqlTools.ManagedBatchParser.csproj
+++ b/src/Microsoft.SqlTools.ManagedBatchParser/Microsoft.SqlTools.ManagedBatchParser.csproj
@@ -3,7 +3,6 @@
netstandard2.0
false
false
- portable
diff --git a/src/Microsoft.SqlTools.ResourceProvider/Microsoft.SqlTools.ResourceProvider.csproj b/src/Microsoft.SqlTools.ResourceProvider/Microsoft.SqlTools.ResourceProvider.csproj
index 3389ae41..06fc9bc7 100644
--- a/src/Microsoft.SqlTools.ResourceProvider/Microsoft.SqlTools.ResourceProvider.csproj
+++ b/src/Microsoft.SqlTools.ResourceProvider/Microsoft.SqlTools.ResourceProvider.csproj
@@ -1,6 +1,6 @@
- $(ResourceProivderTargetFramework)
+ $(ResourceProviderTargetFramework)
SqlToolsResourceProviderService
SqlToolsResourceProviderService
Exe
@@ -10,7 +10,6 @@
� Microsoft Corporation. All rights reserved.
true
true
- portable
false
win7-x64;win7-x86;ubuntu.14.04-x64;ubuntu.16.04-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64;fedora.23-x64;opensuse.13.2-x64;osx.10.11-x64;linux-x64;win10-arm;win10-arm64
diff --git a/src/Microsoft.SqlTools.ServiceLayer/Microsoft.SqlTools.ServiceLayer.csproj b/src/Microsoft.SqlTools.ServiceLayer/Microsoft.SqlTools.ServiceLayer.csproj
index c210ab4b..2ca2cd79 100644
--- a/src/Microsoft.SqlTools.ServiceLayer/Microsoft.SqlTools.ServiceLayer.csproj
+++ b/src/Microsoft.SqlTools.ServiceLayer/Microsoft.SqlTools.ServiceLayer.csproj
@@ -12,7 +12,6 @@
$(DefineConstants);NETCOREAPP1_0;TRACE
true
true
- portable
win7-x64;win7-x86;ubuntu.14.04-x64;ubuntu.16.04-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64;fedora.23-x64;opensuse.13.2-x64;osx.10.11-x64;linux-x64;win10-arm;win10-arm64