Skip to content

Commit 08667e1

Browse files
committed
removed uneeded changes
1 parent 669eca9 commit 08667e1

File tree

3 files changed

+24
-44
lines changed

3 files changed

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

3-
<PropertyGroup>
4-
<IncludeFrameworkShims>true</IncludeFrameworkShims>
5-
<TargetFrameworks>$(ProductTargetFrameworks)</TargetFrameworks>
6-
</PropertyGroup>
7-
8-
<PropertyGroup>
9-
<Summary>Provides additional features that add functionality to the Open XML SDK.</Summary>
10-
<Description>Provides additional functionality to the Open XML SDK.</Description>
11-
</PropertyGroup>
12-
13-
<ItemGroup>
14-
<Compile Include="..\DocumentFormat.OpenXml.Framework\SimpleTypes\HexStringFactory.cs" Link="HexStringFactory.cs" />
15-
</ItemGroup>
16-
17-
<ItemGroup>
18-
<ProjectReference Include="..\DocumentFormat.OpenXml\DocumentFormat.OpenXml.csproj" />
19-
</ItemGroup>
20-
21-
<ItemGroup>
22-
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers">
23-
<PrivateAssets>all</PrivateAssets>
24-
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
25-
</PackageReference>
26-
</ItemGroup>
27-
28-
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
29-
<PackageReference Include="System.IO.Packaging" />
30-
</ItemGroup>
31-
32-
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
33-
<PackageReference Include="System.IO.Packaging" />
34-
</ItemGroup>
35-
36-
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
37-
<PackageReference Include="System.IO.Packaging" />
38-
</ItemGroup>
3+
<PropertyGroup>
4+
<IncludeFrameworkShims>true</IncludeFrameworkShims>
5+
<TargetFrameworks>$(ProductTargetFrameworks)</TargetFrameworks>
6+
</PropertyGroup>
7+
8+
<PropertyGroup>
9+
<Summary>Provides additional features that add functionality to the Open XML SDK.</Summary>
10+
<Description>Provides additional functionality to the Open XML SDK.</Description>
11+
</PropertyGroup>
12+
13+
<ItemGroup>
14+
<Compile Include="..\DocumentFormat.OpenXml.Framework\SimpleTypes\HexStringFactory.cs" Link="HexStringFactory.cs" />
15+
</ItemGroup>
16+
17+
<ItemGroup>
18+
<ProjectReference Include="..\DocumentFormat.OpenXml\DocumentFormat.OpenXml.csproj" />
19+
</ItemGroup>
20+
21+
<ItemGroup>
22+
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers">
23+
<PrivateAssets>all</PrivateAssets>
24+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
25+
</PackageReference>
26+
</ItemGroup>
3927

4028
</Project>

src/DocumentFormat.OpenXml.Framework/Packaging/OpenXmlPart.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ internal void Load(OpenXmlPackage? openXmlPackage, OpenXmlPart? parent, Uri uriT
7676

7777
// add the _uri to be reserved
7878
Features.GetRequired<IPartUriFeature>().ReserveUri(ContentType, Uri);
79-
80-
81-
82-
83-
8479
}
8580

8681
internal void CreateInternal(OpenXmlPackage? openXmlPackage, OpenXmlPart? parent, string contentType, string? targetExt)

test/DocumentFormat.OpenXml.Tests.Assets/DocumentFormat.OpenXml.Tests.Assets.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,4 @@
66
<ItemGroup>
77
<EmbeddedResource Include="assets\**\*" />
88
</ItemGroup>
9-
<ItemGroup>
10-
<PackageReference Include="System.IO.Packaging" />
11-
</ItemGroup>
129
</Project>

0 commit comments

Comments
 (0)