Skip to content

Commit 5eaef06

Browse files
committed
Prevent unwanted dependency DLLs in package root.
1 parent 70aba8c commit 5eaef06

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

PSql.Deploy/PSql.Deploy.csproj

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,23 @@
99
<Description>Database migration and seeding system for SQL Server and Azure SQL Database.</Description>
1010
<GenerateDependencyFile>false</GenerateDependencyFile>
1111
<PowerShellItemIncludes>$(PowerShellItemIncludes);**/*.txt</PowerShellItemIncludes>
12+
<DisableTransitiveProjectReferences>true</DisableTransitiveProjectReferences>
1213
</PropertyGroup>
1314

1415
<ItemGroup>
15-
<PackageReference Include="Subatomix.Build.Packaging.PowerShellModule" PrivateAssets="all" />
16-
<PackageReference Include="System.Management.Automation" PrivateAssets="all" />
16+
<PackageReference
17+
Include="Subatomix.Build.Packaging.PowerShellModule"
18+
PrivateAssets="all" />
19+
<PackageReference
20+
Include="System.Management.Automation"
21+
PrivateAssets="all" IncludeAssets="compile" />
1722
</ItemGroup>
1823

1924
<ItemGroup>
2025
<!-- Copied to deps\ as None items below -->
2126
<ProjectReference
2227
Include="..\PSql.Deploy.Engine\PSql.Deploy.Engine.csproj"
23-
Private="false" PrivateAssets="all" Aliases="Engine" />
28+
Private="false" PrivateAssets="all" IncludeAssets="compile" Aliases="Engine" />
2429
</ItemGroup>
2530

2631
<ItemGroup>

0 commit comments

Comments
 (0)