forked from themidnightgospel/Imposter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRoslyn.Shared.props
More file actions
22 lines (21 loc) · 895 Bytes
/
Copy pathRoslyn.Shared.props
File metadata and controls
22 lines (21 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<Project>
<PropertyGroup>
<ROSLYN_VERSION Condition="'$(ROSLYN_VERSION)' == ''">4.14</ROSLYN_VERSION>
<DefineConstants
Condition="$([MSBuild]::VersionGreaterThanOrEquals('$(ROSLYN_VERSION)', '4.4'))"
>$(DefineConstants);ROSLYN4_4_OR_GREATER</DefineConstants
>
<DefineConstants
Condition="$([MSBuild]::VersionGreaterThanOrEquals('$(ROSLYN_VERSION)', '4.14'))"
>$(DefineConstants);ROSLYN4_14_OR_GREATER</DefineConstants
>
<DefineConstants
Condition="$([MSBuild]::VersionGreaterThanOrEquals('$(ROSLYN_VERSION)', '5.0'))"
>$(DefineConstants);ROSLYN_5_OR_GREATER</DefineConstants
>
</PropertyGroup>
<Target Name="ShowRoslynVersion" AfterTargets="Build">
<Message Text="Roslyn Version: $(ROSLYN_VERSION)" Importance="High" />
<Message Text="DefineConstants: $(DefineConstants)" Importance="High" />
</Target>
</Project>