-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcore.props
More file actions
51 lines (47 loc) · 2.16 KB
/
core.props
File metadata and controls
51 lines (47 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Authors>Cyrille NDOUMBE</Authors>
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
<PropertyGroup>
<IsTestProject>false</IsTestProject>
<IsTestProject Condition="$(MSBuildProjectName.EndsWith('Tests'))">true</IsTestProject>
</PropertyGroup>
<PropertyGroup Condition="'$(IsTestProject)' == 'false'">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Embed source files that are not tracked by the source control manager in the PDB -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Recommended: Embed symbols containing Source Link in the main file (exe/dll) -->
<DebugType>embedded</DebugType>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<Choose>
<When Condition="'$(GITHUB_ACTIONS)' == 'true'">
<PropertyGroup>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<ItemGroup Condition="'$(IsTestProject)' == 'false'">
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" Condition="'$(GITHUB_ACTIONS)' == 'true'" />
</ItemGroup>
</When>
</Choose>
<ItemGroup>
<PackageReference Include="Roslynator.Analyzers">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup Condition="'$(IsTestProject)' == 'false' and '$(MSBuildProjectName)' != '_build'">
<!-- First try to include local README.md if it exists -->
<None Include="README.md" Condition="Exists('README.md')" Pack="true" PackagePath="\" />
<!-- Fallback to solution-level README.md if local one doesn't exist -->
<None Include="..\..\README.md" Condition="!Exists('README.md')" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Candoumbe.Miscutilities" />
</ItemGroup>
</Project>