-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
51 lines (45 loc) · 2.89 KB
/
Copy pathDirectory.Build.props
File metadata and controls
51 lines (45 loc) · 2.89 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 Label="Dependency Versions">
<_CluedIn Condition="'$(_CluedIn)' == ''">5.0.0-*</_CluedIn>
<!-- Gates conditional compilation (#if CLUEDIN_Vxx) for places where a CluedIn.Core API call
differs by line. -->
<DefineConstants Condition="$([MSBuild]::VersionGreaterThanOrEquals('$(_CluedIn)', '4.6.0'))">$(DefineConstants);CLUEDIN_V46_OR_GREATER</DefineConstants>
<DefineConstants Condition="$([MSBuild]::VersionGreaterThanOrEquals('$(_CluedIn)', '4.7.0'))">$(DefineConstants);CLUEDIN_V47_OR_GREATER</DefineConstants>
<DefineConstants Condition="$([MSBuild]::VersionGreaterThanOrEquals('$(_CluedIn)', '4.8.0'))">$(DefineConstants);CLUEDIN_V48_OR_GREATER</DefineConstants>
<DefineConstants Condition="$([MSBuild]::VersionGreaterThanOrEquals('$(_CluedIn)', '5.0.0'))">$(DefineConstants);CLUEDIN_V50_OR_GREATER</DefineConstants>
</PropertyGroup>
<PropertyGroup Label="Compilation Metadata">
<TargetFramework Condition="'$(TargetFramework)' == '' AND $([MSBuild]::VersionLessThan('$(_CluedIn)', '5.0.0'))">net6.0</TargetFramework>
<TargetFramework Condition="'$(TargetFramework)' == '' AND $([MSBuild]::VersionGreaterThanOrEquals('$(_CluedIn)', '5.0.0'))">net10.0</TargetFramework>
<LangVersion>13.0</LangVersion>
</PropertyGroup>
<PropertyGroup Label="Assembly Metadata">
<AssemblyVersion>$([System.Text.RegularExpressions.Regex]::Match($(Version), '\d+\.\d+').Value)</AssemblyVersion>
<FileVersion>$([System.Text.RegularExpressions.Regex]::Match($(Version), '\d+\.\d+.\d+').Value)</FileVersion>
<Company>CluedIn ApS</Company>
<Copyright>Copyright (c) 2021 $(Company). All rights reserved.</Copyright>
<Product>CluedIn</Product>
<AssemblyTitle>$(MSBuildProjectName)</AssemblyTitle>
<AssemblyName>$(Product).$(AssemblyTitle)</AssemblyName>
<RootNamespace>$(AssemblyName)</RootNamespace>
</PropertyGroup>
<PropertyGroup Label="Package Metadata">
<Title>$(RootNamespace)</Title>
<Authors>$(Company)</Authors>
<!-- TODO: Licensing -->
<!-- <PackageLicenseFile> if not using an open source license should be set to the path of a license _in_ the package -->
<!-- <PackageRequireLicenseAcceptance> should be set to true if a license is included -->
<PackageProjectUrl>http://cluedin.com</PackageProjectUrl>
<PackageIcon>nugetlogo.png</PackageIcon>
</PropertyGroup>
<ItemGroup Label="Package Includes">
<None Include="$(MSBuildThisFileDirectory)build\assets\nugetlogo.png" Pack="true" PackagePath="\" />
</ItemGroup>
<!--
We need this to stop build from producing .deps.json files that contains "ReferencedProject.Reference".
It will cause exceptions in CluedIn Server, saying that the item has already been added (ReferencedProject.dll)
-->
<PropertyGroup Label="FixBuildDefault">
<IncludeProjectsNotInAssetsFileInDepsFile>false</IncludeProjectsNotInAssetsFileInDepsFile>
</PropertyGroup>
</Project>