forked from Rampastring/Rampastring.Tools
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRampastring.Tools.csproj
More file actions
60 lines (57 loc) · 3.03 KB
/
Rampastring.Tools.csproj
File metadata and controls
60 lines (57 loc) · 3.03 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
52
53
54
55
56
57
58
59
60
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;netstandard2.0;net48</TargetFrameworks>
<Title>Rampastring.Tools</Title>
<Description>Rampastring's Generally Useful Library</Description>
<Company>Rampastring</Company>
<Product>Rampastring.Tools</Product>
<Copyright>Copyright © Rami 'Rampastring' Pasanen 2016-2025</Copyright>
<Trademark></Trademark>
<AssemblyName>Rampastring.Tools</AssemblyName>
<RootNamespace>Rampastring.Tools</RootNamespace>
<ComVisible>false</ComVisible>
<CLSCompliant>false</CLSCompliant>
<LangVersion>12.0</LangVersion>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<Platforms>AnyCPU</Platforms>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<ComVisible>false</ComVisible>
<CLSCompliant>false</CLSCompliant>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageId>Rampastring.Tools</PackageId>
<PackageTags></PackageTags>
<PackageProjectUrl>https://github.com/Rampastring/Rampastring.Tools</PackageProjectUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageLicenseExpression></PackageLicenseExpression>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
<EnablePackageValidation>true</EnablePackageValidation>
<ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>
</PropertyGroup>
<PropertyGroup>
<!-- A pair of heuristics: when we are in a submodule, .git is a file, also in our projects we usually place submodules at top level, so check for both -->
<DotGitFileExists>$([System.IO.File]::Exists('$(MSBuildThisFileDirectory).git'))</DotGitFileExists>
<ParentDotGitmodulesFileExists>$([System.IO.File]::Exists('$(MSBuildThisFileDirectory)../.gitmodules'))</ParentDotGitmodulesFileExists>
<IsSubmodule Condition="'$(DotGitFileExists)' == 'true' And '$(ParentDotGitmodulesFileExists)' == 'true'">true</IsSubmodule>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('Release'))">
<Optimize>true</Optimize>
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
</PropertyGroup>
<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.2.138-beta" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="GitVersion.MsBuild" Version="5.12.0" Condition="'$(IsSubmodule)' == 'true'" >
<PrivateAssets>All</PrivateAssets>
</PackageReference>
</ItemGroup>
<PropertyGroup>
<!-- There is a race condition in GitVersion. Disable writing version info should help a bit -->
<WriteVersionInfoToBuildLog Condition="'$(IsSubmodule)' == 'true'">false</WriteVersionInfoToBuildLog>
</PropertyGroup>
</Project>