-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
90 lines (72 loc) · 3.47 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
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
<Project>
<PropertyGroup>
<UseBLambdaProjectReference>true</UseBLambdaProjectReference>
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup>
<Version Condition="'$(RELEASE_VERSION)' != ''">$(RELEASE_VERSION)</Version>
<VersionPrefix Condition="'$(RELEASE_VERSION)' == ''">0.0.1</VersionPrefix>
<VersionSuffix Condition="'$(RELEASE_VERSION)' == ''">alpha.0</VersionSuffix>
</PropertyGroup>
<PropertyGroup>
<PropsPath>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))</PropsPath>
<SolutionDir>$(MSBuildThisFileDirectory)</SolutionDir>
<AccelerateBuildsInVisualStudio>false</AccelerateBuildsInVisualStudio>
<Company>Tyts</Company>
<Authors>Tyts</Authors>
<Owners>Tyts</Owners>
<Copyright>Copyright © Tyts $([System.DateTime]::Now.ToString(yyyy))</Copyright>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningsNotAsErrors>612,618</WarningsNotAsErrors>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<DebugType>portable</DebugType>
<!--NO way to debug PackageReference-ed projects even if package contains symbols (.pdb) or symbols are embedded-->
<!--<DebugType>embedded</DebugType>-->
<!--<AllowedOutputExtensionsInPackageBuildOutputFolder Condition=" '$(Configuration)' == 'Debug' ">$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>-->
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<NeutralLanguage>en</NeutralLanguage>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<!-- Enable code style analysis -->
<RunAnalyzersDuringLiveAnalysis>false</RunAnalyzersDuringLiveAnalysis>
<!--<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>-->
<!-- <EnableNETAnalyzers>true</EnableNETAnalyzers> -->
</PropertyGroup>
<!-- Common NuGet properties-->
<PropertyGroup>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageOutputPath>$(SolutionDir)artifacts</PackageOutputPath>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>icon.jpg</PackageIcon>
<!--
Ignore DOESN'T WORK
<RestoreIgnoreFailedSources>true</RestoreIgnoreFailedSources>
<IgnoreFailedSources>true</IgnoreFailedSources>
<NoWarn>@(NoWarn);NU1801</NoWarn>
-->
<PackageProjectUrl>https://tyts.com.ua</PackageProjectUrl>
<RepositoryUrl>https://github.com/tyts-software/blambda-shell</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
</PropertyGroup>
<ItemGroup>
<None Include="$(SolutionDir)/README.md" Pack="true" PackagePath="\" />
<None Include="$(SolutionDir)/icon.jpg" Pack="true" PackagePath="\" />
</ItemGroup>
<!--<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>... .Tests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>-->
<!--clear local Nuget cache-->
<Target Name="DeleteLocalCache" BeforeTargets="Pack">
<!--<Message Importance="High" Text="$(NugetPackageRoot)/$(PackageId.ToLower())/$(Version)" />-->
<RemoveDir Directories="$(NugetPackageRoot)/$(PackageId.ToLower())/$(Version)"/>
</Target>
</Project>