forked from LykosAI/StabilityMatrix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConditionalSymbols.props
More file actions
19 lines (17 loc) · 876 Bytes
/
Copy pathConditionalSymbols.props
File metadata and controls
19 lines (17 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<Project>
<PropertyGroup Label="Compile Options">
<!-- true to include all conditional paths / attributes, mainly for testing -->
<SM_IncludeAllConditionals>false</SM_IncludeAllConditionals>
<!-- Mode for ServiceProvider registrations: CodeGeneration, Reflection -->
<SM_RegisterServiceMode>CodeGeneration</SM_RegisterServiceMode>
</PropertyGroup>
<PropertyGroup Condition="'$(SM_IncludeAllConditionals)' == 'true'">
<!-- REGISTER_SERVICE_USAGES: Include Injectio attributes -->
<DefineConstants>$(DefineConstants);REGISTER_SERVICE_USAGES</DefineConstants>
</PropertyGroup>
<PropertyGroup Label="RegisterServiceMode Definitions">
<DefineConstants Condition="'$(SM_RegisterServiceMode)' == 'Reflection'">
$(DefineConstants);REGISTER_SERVICE_REFLECTION;REGISTER_SERVICE_USAGES
</DefineConstants>
</PropertyGroup>
</Project>