Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
40 lines (36 loc) · 2.27 KB
/
Copy pathDirectory.Build.props
File metadata and controls
40 lines (36 loc) · 2.27 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
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<Version>10.0.0-rc.3</Version>
<LangVersion>13.0</LangVersion>
<Authors>Jeremy D. Miller;Babu Annamalai;Jaedyn Tonee</Authors>
<PackageIconUrl>https://martendb.io/logo.png</PackageIconUrl>
<PackageProjectUrl>https://martendb.io/</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<NoWarn>1570;1571;1572;1573;1574;1587;1591;1701;1702;1711;1735;0618</NoWarn>
<RepositoryUrl>https://github.com/JasperFx/marten</RepositoryUrl>
<TargetFrameworks>net10.0;net11.0</TargetFrameworks>
</PropertyGroup>
<!--
Runtime-async (#5886, Critter Stack plan decision D4: on by default for net11.0; mirrors JasperFx's
JasperFxRuntimeAsync and Wolverine's WolverineRuntimeAsync). The net11.0 assemblies are compiled with the C#
compiler's runtime-async feature unless the build passes -p:MartenRuntimeAsync=false. net11.0 only: on net10.0 the
compiler refuses it (SYSLIB5007) and the runtime will not load it. Changing it does not trigger a recompile, so
build into a separate artifacts path (or clean bin/ and obj/) when you compare the two.
-->
<PropertyGroup Condition="'$(MartenRuntimeAsync)' != 'false' And '$(TargetFramework)' == 'net11.0'">
<Features>$(Features);runtime-async=on</Features>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DotNet.ReproducibleBuilds" PrivateAssets="All" />
</ItemGroup>
<!-- Critter Stack 2026 dedupe pillar (jasperfx#214): centralized global-using
aliases mapping the old Marten names to the lifted JasperFx / Weasel.Core
types. Linked as a shared compile (not via MSBuild <Using>, since
ImplicitUsings is off repo-wide) into every JasperFx-referencing project.
F# projects (.fsproj), netstandard2.0 (the source generator), and any
project setting IncludeMartenDedupeAliases=false are excluded. -->
<ItemGroup Condition="'$(MSBuildProjectExtension)' == '.csproj' and '$(IncludeMartenDedupeAliases)' != 'false' and '$(TargetFramework)' != 'netstandard2.0'">
<Compile Include="$(MSBuildThisFileDirectory)src/Shared/DedupeAliases.cs" Link="Shared/DedupeAliases.cs" />
</ItemGroup>
</Project>