-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
33 lines (32 loc) · 2.11 KB
/
Copy pathDirectory.Build.props
File metadata and controls
33 lines (32 loc) · 2.11 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
<Project>
<PropertyGroup>
<!-- Single shared version for the UI, service, and installer (release plan P0-5). CI overrides it
with -p:Version=0.1.<run-number> (ci.yml VERSION_PREFIX must track the major.minor here);
local builds carry the .0 patch. About reads it via AssemblyInformationalVersion. -->
<Version>0.1.5</Version>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<!-- The Linux CI job restores the app head without pinning a TFM (pinning leaks into referenced
projects — see the note in ci.yml), so restore has to evaluate the head's windows TFM on a Linux
runner. That fails with NETSDK1100 unless this is set. It only permits EVALUATING and restoring
the windows flavor cross-OS; nothing Windows-only is built or shipped from a Linux publish.
Core already set this locally for the ubuntu test job; hoisted here so the head gets it too. -->
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<LangVersion>preview</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<!--
Adding NoWarn to remove build warnings
NU1507: Warning when there are multiple package sources when using CPM with no source mapping
NETSDK1201: Warning that specifying RID won't create self containing app
PRI257: Ignore default language (en) not being one of the included resources (eg en-us, en-uk)
-->
<NoWarn>$(NoWarn);NU1507;NETSDK1201;PRI257</NoWarn>
</PropertyGroup>
<ItemGroup Condition="'$(MSBuildProjectName)' != 'SubZeroFramework.Analyzers' and Exists('$(MSBuildThisFileDirectory)SubZeroFramework.Analyzers\SubZeroFramework.Analyzers.csproj')">
<ProjectReference Include="$(MSBuildThisFileDirectory)SubZeroFramework.Analyzers\SubZeroFramework.Analyzers.csproj"
OutputItemType="Analyzer"
ReferenceOutputAssembly="false"
PrivateAssets="all" />
</ItemGroup>
</Project>