-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
61 lines (54 loc) · 2.76 KB
/
Directory.Build.props
File metadata and controls
61 lines (54 loc) · 2.76 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
<Project>
<PropertyGroup>
<LangVersion>10.0</LangVersion>
<!--package-->
<Authors>bIT</Authors>
<Description>BridgingIT DevKit</Description>
<Copyright>Copyright 2024 (c) bridgingIT. All rights reserved.</Copyright>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<SourceRevisionId>build$([System.DateTime]::UtcNow.ToString("yyyyMMddHHmmss"))</SourceRevisionId>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<!-- <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> --> <!--https://learn.microsoft.com/en-us/azure/devops/pipelines/artifacts/caching-nuget?view=azure-devops#lock-dependencies-->
<!-- <DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder> -->
<MinVerDefaultPreReleaseIdentifiers>preview.0</MinVerDefaultPreReleaseIdentifiers>
</PropertyGroup>
<!-- Temporary RouteHandlerAnalyzer fix https://github.com/dotnet/aspnetcore/issues/50836 -->
<PropertyGroup>
<NoWarn>$(NoWarn);AD0001</NoWarn>
</PropertyGroup>
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors>true</WarningsAsErrors>
<CodeAnalysisRuleSet></CodeAnalysisRuleSet>
<!--<UseSharedCompilation>true</UseSharedCompilation>--> <!--roslyn build speed-->
</PropertyGroup>
<ItemGroup>
<Using Include="System" />
<Using Include="System.ComponentModel" />
<Using Include="System.Collections.Generic" />
<Using Include="System.Text" />
<Using Include="System.Threading" />
<Using Include="System.Threading.Tasks" />
<Using Include="System.Linq" />
<Using Include="EnsureThat" />
</ItemGroup>
<ItemGroup Condition=" '$(MSBuildProjectExtension)' != '.dcproj'">
<!--<PackageReference Include="BridgingIT.DevKit.Common.Modules" />-->
<PackageReference Include="Ensure.That" />
<PackageReference Include="MinVer" PrivateAssets="All" />
<!--<PackageReference Include="Microsoft.CodeAnalysis.CSharp">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="StyleCop.Analyzers">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>-->
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0' And $(AssemblyName.Contains('Common.')) == 'false'">
<!--Allows the module name to be used in code by leveraging the ModuleName.Attribute-->
<AssemblyAttribute Include="BridgingIT.DevKit.Common.ModuleName.Attribute">
<_Parameter1>"$(ModuleName)"</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
</Project>