Repository navigation
Expand file tree
/
Copy pathBit.Build.props
More file actions
91 lines (78 loc) · 5.17 KB
/
Copy pathBit.Build.props
File metadata and controls
91 lines (78 loc) · 5.17 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<Project>
<PropertyGroup>
<!-- Info -->
<Authors>Bit Foundation</Authors>
<Company>Bit Foundation</Company>
<Product>Bit Framework</Product>
<Title>$(MSBuildProjectName)</Title>
<Description>$(MSBuildProjectName)</Description>
<Copyright>Copyright © Bit Foundation 2021</Copyright>
<!-- Repo -->
<RepositoryUrl>https://github.com/bitfoundation/bitframework</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<!-- nupkg -->
<PackageId>$(MSBuildProjectName)</PackageId>
<PackageTags>Bit</PackageTags>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild>
<AllowedOutputExtensionsInPackageBuildOutputFolder Condition=" '$(Configuration)' == 'Release' ">$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<PackageDescription>$(MSBuildProjectName)</PackageDescription>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/bitfoundation/bitframework</PackageProjectUrl>
<PackageIconUrl>https://avatars.githubusercontent.com/u/22663390</PackageIconUrl>
<PackageReleaseNotes>https://github.com/bitfoundation/bitframework/releases/tag/v7.4.0</PackageReleaseNotes>
<PackageVersion>8.3.0</PackageVersion>
<!-- Version -->
<Version>8.3.0</Version>
<AssemblyVersion>8.3.0</AssemblyVersion>
<!-- Compile -->
<NeutralLanguage>en</NeutralLanguage>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<NoWarn>$(NoWarn);NU1605;CS1591;NU1701;NU1605;CA1303</NoWarn>
<!-- https://stackoverflow.com/a/46815541/2720104 -->
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
<EmbedAllSources>True</EmbedAllSources>
<DebugType>portable</DebugType>
<DefineConstants Condition=" '$(TargetFramework)' == 'monoandroid10.0' OR '$(TargetFramework)' == 'net6.0-android' ">$(DefineConstants);Android</DefineConstants>
<DefineConstants Condition=" '$(TargetFramework)' == 'Xamarin.iOS10' OR '$(TargetFramework)' == 'net6.0-ios' ">$(DefineConstants);iOS</DefineConstants>
<DefineConstants Condition=" '$(TargetFramework)' == 'net6.0' ">$(DefineConstants);DotNet</DefineConstants>
<DefineConstants Condition=" '$(TargetFramework)' == 'uap10.0.17763' OR '$(TargetFramework)' == 'net6.0-windows10.0.19041' ">$(DefineConstants);UWP</DefineConstants>
<DefineConstants Condition=" '$(TargetFramework)' == 'net6.0-maccatalyst' ">$(DefineConstants);Mac</DefineConstants>
<DefineConstants Condition=" '$(TargetFramework)' == 'netstandard2.0' ">$(DefineConstants);DotNetStandard;DotNetStandard2_0</DefineConstants>
<DefineConstants Condition=" '$(TargetFramework)' == 'netstandard2.1' ">$(DefineConstants);DotNetStandard;DotNetStandard2_1</DefineConstants>
<DefineConstants Condition=" '$(TargetFramework)' == 'monoandroid10.0' OR '$(TargetFramework)' == 'Xamarin.iOS10' OR '$(TargetFramework)' == 'uap10.0.17763' ">$(DefineConstants);Xamarin</DefineConstants>
<DefineConstants Condition=" '$(TargetFramework)' == 'net6.0-android' OR '$(TargetFramework)' == 'net6.0-ios' OR '$(TargetFramework)' == 'net6.0-windows10.0.19041' ">$(DefineConstants);Maui</DefineConstants>
<UseMaui Condition=" '$(TargetFramework)' == 'net6.0-android' OR '$(TargetFramework)' == 'net6.0-ios' OR '$(TargetFramework)' == 'net6.0-windows10.0.19041' ">true</UseMaui>
<GenerateLibraryLayout Condition=" '$(TargetFramework)' == 'uap10.0.17763' OR '$(TargetFramework)' == 'net6.0-windows10.0.19041' ">true</GenerateLibraryLayout>
<DesignTimeBuild>True</DesignTimeBuild>
<AndroidResgenFile>False</AndroidResgenFile>
<AndroidUseIntermediateDesignerFile>False</AndroidUseIntermediateDesignerFile>
<TargetFrameworkVersion Condition=" '$(TargetFramework)' == 'monoandroid10.0' ">v10.0</TargetFrameworkVersion>
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SourceLink.Embed.AllSourceFiles" Version="2.8.3" PrivateAssets="all" />
<PackageReference Include="SourceLink.Copy.PdbFiles" Version="2.8.3" PrivateAssets="All" />
<PackageReference Include="MSBuild.Sdk.Extras" Version="3.0.38" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'monoandroid10.0'">
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Data" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'Xamarin.iOS10' ">
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Data" />
<PackageReference Include="System.Reflection.Emit" Version="4.3.0" ExcludeAssets="All">
<IncludeAssets>none</IncludeAssets>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildSDKExtrasTargets)" Condition="Exists('$(MSBuildSDKExtrasTargets)')" />
</Project>