Skip to content

Commit 278f398

Browse files
committed
refactor: consolidate use of meta project packages
Remaining issue from #1211: Also adapt the projects for Meta packages
1 parent 2c7f001 commit 278f398

File tree

3 files changed

+31
-37
lines changed

3 files changed

+31
-37
lines changed
Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<AssemblyName>System.IO.Abstractions.TestingHelpers</AssemblyName>
4-
<RootNamespace>System.IO.Abstractions.TestingHelpers</RootNamespace>
5-
<Description>A set of pre-built mocks to help when testing file system interactions.</Description>
6-
<TargetFrameworks>net9.0;net8.0;net6.0;netstandard2.1;netstandard2.0;net472</TargetFrameworks>
7-
<PackageIcon>icon_256x256.png</PackageIcon>
8-
</PropertyGroup>
9-
<ItemGroup>
10-
<ProjectReference Include="..\TestableIO.System.IO.Abstractions.TestingHelpers\TestableIO.System.IO.Abstractions.TestingHelpers.csproj" />
11-
</ItemGroup>
12-
<ItemGroup>
13-
<None Include="..\..\images\icon_256x256.png" Pack="true" PackagePath="\" />
14-
</ItemGroup>
2+
3+
<PropertyGroup>
4+
<AssemblyName>System.IO.Abstractions.TestingHelpers</AssemblyName>
5+
<RootNamespace>System.IO.Abstractions.TestingHelpers</RootNamespace>
6+
<Description>A set of pre-built mocks to help when testing file system interactions.</Description>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<ProjectReference Include="..\TestableIO.System.IO.Abstractions.TestingHelpers\TestableIO.System.IO.Abstractions.TestingHelpers.csproj"/>
11+
</ItemGroup>
12+
1513
</Project>
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
23
<PropertyGroup>
34
<AssemblyName>System.IO.Abstractions</AssemblyName>
45
<RootNamespace>System.IO.Abstractions</RootNamespace>
56
<Description>A set of abstractions to help make file system interactions testable.</Description>
6-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net472</TargetFrameworks>
7-
<PackageIcon>icon_256x256.png</PackageIcon>
87
</PropertyGroup>
8+
99
<ItemGroup>
1010
<ProjectReference Include="..\TestableIO.System.IO.Abstractions\TestableIO.System.IO.Abstractions.csproj" />
1111
<ProjectReference Include="..\TestableIO.System.IO.Abstractions.Wrappers\TestableIO.System.IO.Abstractions.Wrappers.csproj" />
1212
</ItemGroup>
13-
<ItemGroup>
14-
<None Include="..\..\images\icon_256x256.png" Pack="true" PackagePath="\" />
15-
</ItemGroup>
13+
1614
</Project>
Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<AssemblyName>TestableIO.System.IO.Abstractions</AssemblyName>
4-
<RootNamespace>System.IO.Abstractions</RootNamespace>
5-
<Description>A set of abstractions to help make file system interactions testable.</Description>
6-
<TargetFrameworks>net9.0;net8.0;net6.0;netstandard2.1;netstandard2.0;net472</TargetFrameworks>
7-
<PackageIcon>icon_256x256.png</PackageIcon>
8-
<Nullable>enable</Nullable>
9-
<LangVersion>preview</LangVersion>
10-
</PropertyGroup>
11-
<ItemGroup>
12-
<PackageReference Include="Nullable">
13-
<PrivateAssets>all</PrivateAssets>
14-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
15-
</PackageReference>
16-
<PackageReference Include="Testably.Abstractions.FileSystem.Interface" />
17-
</ItemGroup>
18-
<ItemGroup>
19-
<None Include="..\..\images\icon_256x256.png" Pack="true" PackagePath="\" />
20-
</ItemGroup>
2+
3+
<PropertyGroup>
4+
<AssemblyName>TestableIO.System.IO.Abstractions</AssemblyName>
5+
<RootNamespace>System.IO.Abstractions</RootNamespace>
6+
<Description>A set of abstractions to help make file system interactions testable.</Description>
7+
<Nullable>enable</Nullable>
8+
<LangVersion>preview</LangVersion>
9+
</PropertyGroup>
10+
11+
<ItemGroup>
12+
<PackageReference Include="Nullable">
13+
<PrivateAssets>all</PrivateAssets>
14+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
15+
</PackageReference>
16+
<PackageReference Include="Testably.Abstractions.FileSystem.Interface"/>
17+
</ItemGroup>
18+
2119
</Project>

0 commit comments

Comments
 (0)