Fix failing Loc lookups in hosting service (#679)

* Remove XUnit warnings which clogged up output

* Use default namespace to fix loc lookup errors
- Fixed errors due to localization change
- Also removed internals visible attribute that could cause subtle issues where the hosting service doesn't work for other apps if things change

* Add CI build and test for new projects

* Up version number so we can pick up fix in nuget packages
This commit is contained in:
Kevin Cunnane
2018-08-08 16:21:21 -07:00
committed by GitHub
parent d9e8d5ac12
commit f0b85bab3c
10 changed files with 37 additions and 25 deletions

View File

@@ -3,7 +3,10 @@
<TargetFramework>netstandard2.0</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AssemblyName>Microsoft.SqlTools.Hosting.v2</AssemblyName>
<PackageId>Microsoft.SqlTools.Hosting.v2</PackageId>
<EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
<OutputType>Library</OutputType>
<RootNamespace>Microsoft.SqlTools.Hosting.v2</RootNamespace>
<PackageDescription>
The Microsoft.SqlTools.Hosting framework can host applications implementing the VSCode Language Server Protocol and/or
applications implementing the Database Management Protocol. It handles service discovery, initialization, and communication over
@@ -24,5 +27,9 @@
<ProjectReference Include="..\Microsoft.SqlTools.DataProtocol.Contracts\Microsoft.SqlTools.DataProtocol.Contracts.csproj" />
<ProjectReference Include="..\Microsoft.SqlTools.Hosting.Contracts\Microsoft.SqlTools.Hosting.Contracts.csproj" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Localization\sr.resx" />
<None Include="Localization\sr.strings" />
</ItemGroup>
<Import Project="..\sqltools.common.targets" />
</Project>

View File

@@ -42,5 +42,4 @@ using System.Runtime.InteropServices;
[assembly: AssemblyInformationalVersion("1.0.0.0")]
[assembly: InternalsVisibleTo("Microsoft.SqlTools.Hosting.UnitTests")]
[assembly: InternalsVisibleTo("Microsoft.SqlTools.CoreServices")]

View File

@@ -6,7 +6,7 @@
<Product>Microsoft SQL Server</Product>
</PropertyGroup>
<PropertyGroup>
<VersionPrefix>1.1.0</VersionPrefix>
<VersionPrefix>1.1.1</VersionPrefix>
<VersionSuffix></VersionSuffix>
</PropertyGroup>
<PropertyGroup>