-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
31 lines (26 loc) · 1.4 KB
/
Copy pathDirectory.Build.props
File metadata and controls
31 lines (26 loc) · 1.4 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
<?xml version="1.0" encoding="utf-8"?>
<!--
全プロジェクト共通の「プラットフォーム前提」だけをここに置く。
Configuration / Platform に依存する設定(OutDir・コンパイルオプション等)は
build\Common.props に置き、各 .vcxproj が Microsoft.Cpp.props の後で import する。
この分離は意図的である。Directory.Build.props は Microsoft.Cpp.Default.props より前に
読み込まれるため、この時点では $(Configuration) / $(Platform) が未定義でありうる。
-->
<Project>
<PropertyGroup>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<!-- SPEC.md §2.2 / CLAUDE.md §8-3 で確定:Windows 11 22H2 以降 -->
<WindowsTargetPlatformVersion>10.0.26100.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformMinVersion>10.0.22621.0</WindowsTargetPlatformMinVersion>
<!--
CLAUDE.md §4.1:MSIX パッケージ化を行わない。
コマンドラインからの上書きを許すため既定値としてのみ設定する。
-->
<WindowsPackageType Condition="'$(WindowsPackageType)' == ''">None</WindowsPackageType>
<!--
PlatformToolset は意図的に設定しない。
Microsoft.Cpp.Default.props が $(DefaultPlatformToolset) を割り当てるため、
VS 2026 (v145) でも VS 2022 (v143) でもそのままビルドできる。
-->
</PropertyGroup>
</Project>