Skip to content

Commit 0038250

Browse files
authored
Fixed CookieCrumble Package Configurations. (#7998)
1 parent 6a6ac98 commit 0038250

File tree

3 files changed

+40
-22
lines changed

3 files changed

+40
-22
lines changed
Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<ItemGroup>
4-
<PackageReference Include="TUnit" />
5-
</ItemGroup>
3+
<PropertyGroup>
4+
<AssemblyName>CookieCrumble.TUnit</AssemblyName>
5+
<RootNamespace>CookieCrumble.TUnit</RootNamespace>
6+
<IsPackable>true</IsPackable>
7+
</PropertyGroup>
68

7-
<ItemGroup>
8-
<ProjectReference Include="../CookieCrumble/CookieCrumble.csproj" />
9-
<ProjectReference Include="../CookieCrumble.Analyzers/CookieCrumble.Analyzers.csproj" PrivateAssets="All" ExcludeAssets="compile;runtime" />
10-
</ItemGroup>
9+
<ItemGroup>
10+
<PackageReference Include="TUnit" />
11+
</ItemGroup>
1112

12-
<ItemGroup>
13-
<!-- Package the generator in the analyzer directory of the nuget package -->
14-
<None Include="$(OutputPath)\net9.0\CookieCrumble.Analyzers.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
15-
</ItemGroup>
13+
<ItemGroup>
14+
<ProjectReference Include="../CookieCrumble/CookieCrumble.csproj" />
15+
<ProjectReference Include="../CookieCrumble.Analyzers/CookieCrumble.Analyzers.csproj" PrivateAssets="All" ExcludeAssets="compile;runtime" />
16+
</ItemGroup>
17+
18+
<ItemGroup>
19+
<!-- Package the generator in the analyzer directory of the nuget package -->
20+
<None Include="$(OutputPath)\net9.0\CookieCrumble.Analyzers.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
21+
</ItemGroup>
1622

1723
</Project>
Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<ItemGroup>
4-
<PackageReference Include="Xunit" />
5-
</ItemGroup>
3+
<PropertyGroup>
4+
<AssemblyName>CookieCrumble.Xunit</AssemblyName>
5+
<RootNamespace>CookieCrumble.Xunit</RootNamespace>
6+
<IsPackable>true</IsPackable>
7+
</PropertyGroup>
68

7-
<ItemGroup>
8-
<ProjectReference Include="../CookieCrumble/CookieCrumble.csproj" />
9-
<ProjectReference Include="../CookieCrumble.Analyzers/CookieCrumble.Analyzers.csproj" PrivateAssets="All" ExcludeAssets="compile;runtime" />
10-
</ItemGroup>
9+
<ItemGroup>
10+
<PackageReference Include="Xunit" />
11+
</ItemGroup>
1112

12-
<ItemGroup>
13-
<!-- Package the generator in the analyzer directory of the nuget package -->
14-
<None Include="$(OutputPath)\net9.0\CookieCrumble.Analyzers.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
15-
</ItemGroup>
13+
<ItemGroup>
14+
<ProjectReference Include="../CookieCrumble/CookieCrumble.csproj" />
15+
<ProjectReference Include="../CookieCrumble.Analyzers/CookieCrumble.Analyzers.csproj" PrivateAssets="All" ExcludeAssets="compile;runtime" />
16+
</ItemGroup>
17+
18+
<ItemGroup>
19+
<!-- Package the generator in the analyzer directory of the nuget package -->
20+
<None Include="$(OutputPath)\net9.0\CookieCrumble.Analyzers.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
21+
</ItemGroup>
1622

1723
</Project>

src/CookieCrumble/src/CookieCrumble.Xunit3/CookieCrumble.Xunit3.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3+
<PropertyGroup>
4+
<AssemblyName>CookieCrumble.Xunit3</AssemblyName>
5+
<RootNamespace>CookieCrumble.Xunit3</RootNamespace>
6+
<IsPackable>true</IsPackable>
7+
</PropertyGroup>
8+
39
<ItemGroup>
410
<PackageReference Include="xunit.v3" />
511
</ItemGroup>

0 commit comments

Comments
 (0)