-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
38 lines (32 loc) · 1.56 KB
/
Copy pathDirectory.Build.props
File metadata and controls
38 lines (32 loc) · 1.56 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
<Project>
<!--
Shared MSBuild settings for every project in this repo (MenuAPI, TestMenu).
OutputPath is deliberately NOT set here. CI builds MenuAPI/MenuAPI.csproj directly and
zips MenuAPI/bin/Release/net10.0, so moving the output would break the release workflow.
-->
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Configurations>Release;Debug;NativeHooks</Configurations>
<DebugType>embedded</DebugType>
<Authors>Tom Grobbe</Authors>
<Copyright>Copyright (C) 2018-2026 Tom Grobbe</Copyright>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'NativeHooks'">
<NativeHooks>true</NativeHooks>
<Optimize>true</Optimize>
<DefineConstants>$(DefineConstants);NATIVE_HOOKS</DefineConstants>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
</PropertyGroup>
<ItemGroup Condition="'$(NativeHooks)' == 'true'
And '$(MSBuildProjectName)' != 'MenuAPI.NativeHooks'
And '$(MSBuildProjectName)' != 'MenuAPI.NativeHooks.Generator'">
<ProjectReference Include="$(MSBuildThisFileDirectory)MenuAPI.NativeHooks.Generator\MenuAPI.NativeHooks.Generator.csproj"
OutputItemType="Analyzer"
ReferenceOutputAssembly="false" />
<ProjectReference Include="$(MSBuildThisFileDirectory)MenuAPI.NativeHooks\MenuAPI.NativeHooks.csproj"
PrivateAssets="all" />
</ItemGroup>
</Project>