Skip to content

Commit 1911944

Browse files
committed
Attempting to force the removal of some nuget packages that we don't want at runtime
1 parent e567daa commit 1911944

File tree

5 files changed

+23
-0
lines changed

5 files changed

+23
-0
lines changed

Directory.Packages.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@
7979
<PackageVersion Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" Version="8.0.20" />
8080
<PackageVersion Include="Microsoft.SqlServer.DacFx" Version="170.2.70" />
8181
<PackageVersion Include="Microsoft.Build" Version="17.11.48" />
82+
<PackageVersion Include="Microsoft.Build.Framework" Version="17.11.48" />
83+
<PackageVersion Include="Microsoft.NET.StringTools" Version="17.11.48" />
8284
<PackageVersion Include="Microsoft.Build.Locator" Version="1.10.12" />
8385
<PackageVersion Include="ErikEJ.Dacpac.Chinook" Version="1.0.0" />
8486
<PackageVersion Include="RavenDB.Client" Version="6.2.1" />

src/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
<None Include="**/*.props;**/*.targets" Pack="true" PackagePath="%(RecursiveDir)%(Filename)%(Extension)" />
1919
</ItemGroup>
2020

21+
<ItemGroup>
22+
<Compile Include="buildMultiTargeting\CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.props" />
23+
<Compile Include="build\CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.props" />
24+
</ItemGroup>
25+
2126
<ItemGroup>
2227
<InternalsVisibleTo Include="CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests" />
2328
</ItemGroup>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<Project>
2+
<ItemGroup>
3+
<PackageReference Include="Microsoft.Build" PrivateAssets="true" ExcludeAssets="runtime" />
4+
<PackageReference Include="Microsoft.Build.Framework" PrivateAssets="true" ExcludeAssets="runtime" />
5+
<PackageReference Include="Microsoft.NET.StringTools" PrivateAssets="true" ExcludeAssets="runtime" />
6+
</ItemGroup>
7+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<Project>
2+
<Import Project="..\build\CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.props" />
3+
</Project>

tests/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,10 @@
1616
</None>
1717
</ItemGroup>
1818

19+
<ItemGroup>
20+
<PackageReference Include="Microsoft.Build" PrivateAssets="true" ExcludeAssets="runtime" />
21+
<PackageReference Include="Microsoft.Build.Framework" PrivateAssets="true" ExcludeAssets="runtime" />
22+
<PackageReference Include="Microsoft.NET.StringTools" PrivateAssets="true" ExcludeAssets="runtime" />
23+
</ItemGroup>
24+
1925
</Project>

0 commit comments

Comments
 (0)