-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDirectory.Build.props
37 lines (32 loc) · 1.87 KB
/
Directory.Build.props
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
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Authors>Search Pioneer</Authors>
<Copyright>Search Pioneer</Copyright>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryUrl>https://github.com/searchpioneer/weaviate-dotnet-client</RepositoryUrl>
<PackageProjectUrl>https://github.com/searchpioneer/weaviate-dotnet-client</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/searchpioneer/weaviate-dotnet-client/releases</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup>
<SolutionRoot>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.bat))</SolutionRoot>
<MinVerDefaultPreReleaseIdentifiers>preview.0</MinVerDefaultPreReleaseIdentifiers>
<MinVerMinimumMajorMinor>0.1</MinVerMinimumMajorMinor>
<LangVersion>latest</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<IsPackable>False</IsPackable>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(SolutionRoot)\build\keys\keypair.snk</AssemblyOriginatorKeyFile>
<DefineConstants Condition="'$(TargetFramework)'=='net461'">$(DefineConstants);FULLFRAMEWORK</DefineConstants>
<DefineConstants Condition="$(DefineConstants.Contains(FULLFRAMEWORK)) == False">$(DefineConstants);DOTNETCORE</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MinVer" Version="4.3.0" PrivateAssets="all"/>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies.net461" Version="1.0.2" PrivateAssets="all"/>
</ItemGroup>
<!-- netstandard2.0 has bad xml docs -->
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
<NoWarn>$(NoWarn);IDT001;IDT002</NoWarn>
</PropertyGroup>
</Project>