Skip to content

Commit

Permalink
Move common usings to Directory.Build.targets.
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpjs committed Jul 30, 2023
1 parent c52b3e5 commit 9ba63e6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 15 deletions.
6 changes: 6 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
<InternalsVisibleTo Include="DynamicProxyGenAssembly2" />
<!-- Required for Moq to mock a class with an internal abstract method. -->
</ItemGroup>
<ItemGroup>
<Using Remove="System.Net.Http" />
<Using Include="System.Data" />
<Using Include="System.Data.Common" />
<Using Include="System.Management.Automation" />
</ItemGroup>

<!-- Versioning -->
<ItemGroup>
Expand Down
6 changes: 0 additions & 6 deletions PSql.Core/PSql.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,4 @@
Version="[7.0.0, 8.0.0)" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<Using Include="System.Data" />
<Using Include="System.Data.Common" />
<Using Include="System.Management.Automation" />
</ItemGroup>

</Project>
3 changes: 0 additions & 3 deletions PSql.private/PSql.private.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
</ItemGroup>

<ItemGroup>
<Using Include="System.Data" />
<Using Include="System.Data.Common" />
<Using Include="System.Management.Automation" />
<Using Include="Microsoft.Data.SqlClient" />
<Using Include="Microsoft.Data.SqlClient" Alias="Mds" />
</ItemGroup>
Expand Down
6 changes: 0 additions & 6 deletions PSql/PSql.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@
Private="false" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<Using Include="System.Data" />
<Using Include="System.Data.Common" />
<Using Include="System.Management.Automation" />
</ItemGroup>

<ItemGroup>
<Content Include="$(PowerShellItemIncludes)"
Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
Expand Down

0 comments on commit 9ba63e6

Please sign in to comment.