-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
25 lines (19 loc) · 992 Bytes
/
Directory.Build.props
File metadata and controls
25 lines (19 loc) · 992 Bytes
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
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
<PropertyGroup>
<OutputType>Library</OutputType>
<BaseOutputPath>$(BasePath)artifacts\$(MSBuildProjectName)\</BaseOutputPath>
<BaseIntermediateOutputPath>$(BasePath)intermediate\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup Condition="'$(AppPlatform)' == 'Portable'">
<TargetFramework>$(PortableFramework)</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(AppPlatform)' == 'Desktop'">
<CoreFramework>$(CoreFramework)-windows</CoreFramework>
<TargetFrameworks>$(CoreFramework);$(DesktopFramework)</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(AppPlatform)' == 'CrossOS'">
<TargetFramework>$(CoreFramework)</TargetFramework>
</PropertyGroup>
</Project>