<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <PackageId>SqlToolsResourceProviderService</PackageId>
    <AssemblyName>SqlToolsResourceProviderService</AssemblyName>
    <OutputType>Exe</OutputType>
    <Company>Microsoft</Company>
    <Product>Sql Tools Service for Resource Provider services</Product>
    <Description>Provides Resource Provider and control plane support.</Description>
    <Copyright>� Microsoft Corporation. All rights reserved.</Copyright>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <PreserveCompilationContext>true</PreserveCompilationContext>
    <EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
    <EmbeddedResourceUseDependentUponConvention>false</EmbeddedResourceUseDependentUponConvention>
    <RuntimeIdentifiers>$(ToolsServiceTargetRuntimes)</RuntimeIdentifiers>
	<!-- TODO FIX THESE WARNINGS ASAP -->
    <NoWarn>$(NoWarn);CA1852</NoWarn>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
    <DefineConstants>TRACE;DEBUG;NETCOREAPP1_0;NETCOREAPP2_0</DefineConstants>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="System.Text.Encoding.CodePages"/>
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\Microsoft.SqlTools.Hosting\Microsoft.SqlTools.Hosting.csproj" />
    <!-- Note: must reference the resource provider projects in order for them to be bundled into the app. Otherwise will not have any of the required DLLs and
      dependencies included when the project is shipped. If adding new DLLs, add them here or find another solution to keep them bundled
    -->
    <ProjectReference Include="..\Microsoft.SqlTools.ResourceProvider.Core\Microsoft.SqlTools.ResourceProvider.Core.csproj" />
    <ProjectReference Include="..\Microsoft.SqlTools.ResourceProvider.DefaultImpl\Microsoft.SqlTools.ResourceProvider.DefaultImpl.csproj" />
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Localization\*.resx" />
    <None Include="Localization\sr.strings" />
  </ItemGroup>
</Project>