-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
41 lines (41 loc) · 2.21 KB
/
Copy pathDirectory.Build.props
File metadata and controls
41 lines (41 loc) · 2.21 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
<Project>
<PropertyGroup>
<!-- Single source of truth for the product version.
InstallerClean.csproj picks this up via <Version> inheritance,
and the release script reads it from here to pass /DAppVersion
to the Inno Setup compiler, so the installer never drifts from
the assembly. -->
<Version>2.3.0</Version>
<Deterministic>true</Deterministic>
<!-- Declaring the RID makes every restore compute the same graph,
so packages.lock.json holds one shape regardless of which
command wrote it. Without it the win-x64 sections exist only
after a "-r win-x64" publish restore, and every plain restore
(a build, an IDE design-time restore, on either OS) strips
them out again, so the lock files churned at every machine
change-over. -->
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
<!-- Source-built SDKs (the Fedora dotnet RPM) ship their own
rebuilt copies of SDK packages in a library-packs folder and
add it as an implicit restore source; those rebuilds are
byte-different from nuget.org's, so a lock file written from
one fails NU1403 hash validation everywhere else. Restores
must always source from nuget.org. No effect on Windows,
whose SDK has no such folder. -->
<DisableImplicitLibraryPacksFolder>true</DisableImplicitLibraryPacksFolder>
</PropertyGroup>
<ItemGroup>
<!-- The self-contained single-file publish injects this SDK task
package into its restore graph; referencing it explicitly puts
it in EVERY graph, so the lock files hold one shape for plain
builds and publishes alike (locked-mode restore compares the
reference SETS and fails on any difference). The version
tracks the pinned SDK band: when absent, the SDK injects its
own matching version, so this version moves in step with the SDK band. -->
<PackageReference Include="Microsoft.NET.ILLink.Tasks" Version="10.0.8" PrivateAssets="all" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<DebugType>embedded</DebugType>
</PropertyGroup>
</Project>