-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
120 lines (108 loc) · 5.47 KB
/
Directory.Build.props
File metadata and controls
120 lines (108 loc) · 5.47 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!-- ./Directory.Build.props -->
<Project>
<PropertyGroup Label="SolutionConfig">
<_Name>ImeiType</_Name>
<_Company>BMTLab</_Company>
</PropertyGroup>
<PropertyGroup Label="AssemblyInfo">
<AssemblyName Condition="'$(AssemblyName)'==''">$(_Company).$(MSBuildProjectName)</AssemblyName>
<Title Condition="'$(Title)'==''">$(AssemblyName)</Title>
<Product Condition="'$(Product)'==''">$(AssemblyName)</Product>
<RootNamespace Condition="'$(RootNamespace)'==''">$(AssemblyName)</RootNamespace>
<Deterministic>true</Deterministic>
<InvariantGlobalization>true</InvariantGlobalization>
<Description>
Provides a strongly-typed IMEI (International Mobile Equipment Identity) struct for .NET applications,
offering methods for validation, parsing, and generation of IMEI numbers.
This package enhances type safety and reduces errors when handling IMEI values.
</Description>
</PropertyGroup>
<PropertyGroup Label="PackageConfig">
<Company>$(_Company)</Company>
<Authors>Nikita Neverov</Authors>
<Copyright>Copyright $(_Company) © $([System.DateTime]::Now.Date.Year)</Copyright>
<RepositoryType>git</RepositoryType>
<RepositoryName>$(_Name)</RepositoryName>
<PackageDescription>$(Description)</PackageDescription>
<RepositoryUrl>https://github.com/$(_Company)/$(RepositoryName)</RepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
<PackageId Condition="'$(PackageId)' == ''">$(AssemblyName)</PackageId>
<PackageTags>imei mobile equipment identity type</PackageTags>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageReleaseNotes Condition="'$(Configuration)'!='Release'">
Dev Version
</PackageReleaseNotes>
<PackageReleaseNotes Condition="'$(Configuration)'=='Release'">
Release
</PackageReleaseNotes>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<AllowedOutputExtensionsInPackageBuildOutputFolder>
$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb
</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<PropertyGroup Label="FrameworkConfig">
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>true</RunAnalyzersDuringLiveAnalysis>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<AnalysisLevel>preview</AnalysisLevel>
<ArtifactsPath>$(MSBuildThisFileDirectory)artifacts</ArtifactsPath>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>
<PropertyGroup Label="BuildConfig" Condition="'$(Configuration)'=='Debug'">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
</PropertyGroup>
<PropertyGroup Label="BuildConfig" Condition="'$(Configuration)'=='Release'">
<DebugSymbols>true</DebugSymbols>
<DebugType>pdbonly</DebugType>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<Optimize>true</Optimize>
</PropertyGroup>
<PropertyGroup Label="BuildConfig" Condition="'$(GITHUB_ACTIONS)'=='true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<ItemGroup Label="CommonReferences">
<SourceRoot Include="$(MSBuildThisFileDirectory)/"/>
<PackageReference Include="Microsoft.SourceLink.GitHub">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="GitVersion.MsBuild">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="SonarAnalyzer.CSharp">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup Label="GlobalUsingsConfig">
<Using Include="System.Diagnostics"/>
<Using Include="System.Diagnostics.CodeAnalysis"/>
<Using Include="System.Runtime.InteropServices"/>
</ItemGroup>
<ItemGroup Label="AdditionalItemsConfig">
<None Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" PackagePath=""/>
<None Include="$(MSBuildThisFileDirectory)LICENSE" Pack="true" PackagePath=""/>
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath=""/>
<None Include="$(MSBuildThisFileDirectory)SECURITY.md" Pack="true" PackagePath=""/>
</ItemGroup>
<ItemGroup Label="EditorConfig">
<EditorConfigFiles Update=".editorconfig">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EditorConfigFiles>
</ItemGroup>
</Project>