Skip to content

Commit 2766dbf

Browse files
committed
修改文件名
1 parent 14b55a1 commit 2766dbf

3 files changed

Lines changed: 66 additions & 61 deletions

File tree

src/DocumentFormat.OpenXml.Flatten/DocumentFormat.OpenXml.Flatten/DocumentFormat.OpenXml.Flatten.csproj

Lines changed: 0 additions & 61 deletions
This file was deleted.
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>net45;netstandard2.0;netcoreapp3.1;net6.0</TargetFrameworks>
5+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
6+
7+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
8+
9+
<Nullable>enable</Nullable>
10+
11+
<RootNamespace>DocumentFormat.OpenXml.Flatten</RootNamespace>
12+
13+
<Description>提供继承的属性拍平的功能的库,包含常用处理逻辑和计算逻辑</Description>
14+
</PropertyGroup>
15+
16+
<!-- 在 GitHub 的 Action 构建会添加 GITHUB_ACTIONS 变量 -->
17+
<!-- 下面进行自动构建,自动添加源代码链接等 -->
18+
<!-- 详细请看 https://github.com/dotnet/sourcelink -->
19+
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
20+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
21+
22+
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
23+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
24+
25+
<!-- 只有在 GitHub 的 Action 构建才能使用源代码链接 -->
26+
<!-- 源代码链接需要使用 commit 号,而在 GitHub 的 Action 构建的 commit 才是对的 -->
27+
<!-- 本地构建,也许没有记得 commit 就构建,此时的 nuget 包的源代码是不对的,上传上去会让调试诡异 -->
28+
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
29+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
30+
31+
<!-- 本地等不需要创建符号文件 -->
32+
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
33+
<IncludeSymbols>true</IncludeSymbols>
34+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
35+
</PropertyGroup>
36+
37+
<ItemGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
38+
<!-- 链接源代码到 GitHub 仓库,方便调试 -->
39+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
40+
</ItemGroup>
41+
42+
<ItemGroup>
43+
<PackageReference Include="DocumentFormat.OpenXml" Version="2.15.0" />
44+
45+
<PackageReference Include="dotnetCampus.OpenXmlUnitConverter" Version="2.2.0" />
46+
<!-- 源代码包项目里面依然可以用dotnetCampus.OpenXmlUnitConverter.Source源代码包,因此不加上引用 -->
47+
<SourceYardExcludePackageReference Include="dotnetCampus.OpenXmlUnitConverter" />
48+
49+
<PackageReference Include="dotnetCampus.SourceYard" Version="1.0.0-alpha01" Condition="'$(TargetFramework)'=='net45'">
50+
<PrivateAssets>all</PrivateAssets>
51+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
52+
</PackageReference>
53+
54+
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
55+
</ItemGroup>
56+
57+
<ItemGroup Condition=" '$(TargetFramework)' == 'net45'">
58+
<Reference Include="PresentationCore" />
59+
<Reference Include="PresentationFramework" />
60+
<Reference Include="System.Core" />
61+
<Reference Include="System.IO.Compression" />
62+
<Reference Include="System.Xaml" />
63+
<Reference Include="System.Xml.Linq" />
64+
<Reference Include="WindowsBase" />
65+
</ItemGroup>
66+
</Project>

src/DocumentFormat.OpenXml.Flatten/DocumentFormat.OpenXml.Flatten/DocumentFormat.OpenXml.Flatten.csproj.DotSettings renamed to src/DocumentFormat.OpenXml.Flatten/DocumentFormat.OpenXml.Flatten/dotnetCampus.DocumentFormat.OpenXml.Flatten.csproj.DotSettings

File renamed without changes.

0 commit comments

Comments
 (0)