-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
77 lines (65 loc) · 3.93 KB
/
Copy pathDirectory.Build.props
File metadata and controls
77 lines (65 loc) · 3.93 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
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<!--package-->
<Authors>BridgingIT GmbH</Authors>
<Description>
bITdevKit: Empowering developers with modular components for modern application development, centered around Domain-Driven Design principles. Our goal is to empower developers by offering modular components that can be easily integrated into your projects. Whether you're working with repositories, commands, queries, or other components, the bITDevKit provides flexible solutions that can adapt to your specific needs.
</Description>
<Copyright>Copyright 2025 (c) BridgingIT GmbH. All rights reserved.</Copyright>
<PackageTags>bridgingit;devkit;bitdevkit;dotnet;clean-architecture;solution;cqrs;ddd</PackageTags>
<RepositoryUrl>https://github.com/BridgingIT-GmbH/bITdevKit</RepositoryUrl>
<PackageProjectUrl>https://github.com/BridgingIT-GmbH/bITdevKit</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<SourceRevisionId>build$([System.DateTime]::UtcNow.ToString("yyyyMMddHHmmss"))</SourceRevisionId>
<DebugType>embedded</DebugType>
<EmbedAllSources>true</EmbedAllSources>
<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>
<NoWarn>NU1903;NU1902</NoWarn>
</PropertyGroup>
<!--<PropertyGroup Condition="$(MSBuildProjectDirectory.Contains('src'))">
<PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/../../CHANGELOG.md"))</PackageReleaseNotes>
</PropertyGroup>-->
<!--<ItemGroup>
<None Include="../../README.md" Pack="true" PackagePath="\"/>
</ItemGroup>-->
<ItemGroup>
<Content Update="package*.json" CopyToPublishDirectory="Never" />
</ItemGroup>
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors>true</WarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Using Include="System"/>
<Using Include="System.Text"/>
<Using Include="System.Linq"/>
<Using Include="EnsureThat"/>
</ItemGroup>
<ItemGroup>
<None Remove="**\*.lock.json" Visible="false"/>
</ItemGroup>
<!--<ItemGroup>
<Compile Include="..\..\GlobalSuppressions.cs" Link="GlobalSuppressions.cs" />
</ItemGroup>-->
<ItemGroup>
<PackageReference Include="Ensure.That"/>
<PackageReference Include="MinVer" PrivateAssets="All"/>
<!--<PackageReference Include="Microsoft.Net.Compilers.Toolset">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>-->
</ItemGroup>
<Target Name="CheckPackageVersion" BeforeTargets="Build"> <!-- prevent some unwanted package upgrades due to licensing -->
<!-- <Error Condition="'%(PackageVersion.Identity)' == 'AutoMapper' AND '%(PackageVersion.Version)' != '[14.0.0]'" Text="Invalid package version for AutoMapper. Expected: 14.0.0." /> -->
<Error Condition="'%(PackageVersion.Identity)' == 'MediatR' AND '%(PackageVersion.Version)' != '[12.5.0]'" Text="Invalid package version for MediatR. Expected: 12.5.0." />
</Target>
</Project>