I have a something.csproj project like this:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp1.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Data.SqlClient" Version="4.1.0" />
</ItemGroup>
</Project>
and a something.cs program like this:
using System;
using System.IO;
using System.Data.SqlClient;
namespace SomethingNS
{
public class Something
{
public static void Main()
{
var a = new SqlCommand();
}
}
}
Using dotnet 2.0, I execute:
dotnet publish
But I don't see the System.Data.SqlClient.dll
at folder \bin\Debug\netcoreapp1.0\publish\System.Data.SqlClient.dll
?
Why is that?