forked from dotnet/iot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
32 lines (30 loc) · 1.68 KB
/
Directory.Build.props
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
<Project>
<Import Project="../../eng/Compilers.props" />
<Import Project="../../eng/Versions.props" />
<Import Project="../../eng/Analyzers.props" />
<Import Project="../../eng/Versions.external.props" />
<PropertyGroup>
<!-- Most projects should use this value to build for all possible target frameworks -->
<DefaultBindingTfms>net6.0;netstandard2.0;</DefaultBindingTfms>
<DefaultSampleTfms>net6.0</DefaultSampleTfms>
<DefaultTestTfms>net6.0</DefaultTestTfms>
<NoWarn>$(NoWarn);CS8321</NoWarn>
<DeterministicSourcePaths>false</DeterministicSourcePaths>
<IsPackable>false</IsPackable>
<MainLibraryPath>$(MSBuildThisFileDirectory)../System.Device.Gpio/</MainLibraryPath>
<SystemDeviceModelProjectName>System.Device.Model</SystemDeviceModelProjectName>
<SystemDeviceModelPath>$(MSBuildThisFileDirectory)$(SystemDeviceModelProjectName)/$(SystemDeviceModelProjectName).csproj</SystemDeviceModelPath>
<CommonProjectName>Common</CommonProjectName>
<CommonProjectPath>$(MSBuildThisFileDirectory)$(CommonProjectName)/$(CommonProjectName).csproj</CommonProjectPath>
<LangVersion>9</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup Condition="'$(MSBuildProjectName)' != '$(CommonProjectName)' AND '$(MSBuildProjectName)' != '$(SystemDeviceModelProjectName)'">
<!-- These projects are included into every binding. They must not depend on each other, or we get a circular dependency -->
<ProjectReference Include="$(SystemDeviceModelPath)" />
<ProjectReference Include="$(CommonProjectPath)" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(MainLibraryPath)System.Device.Gpio.csproj" />
</ItemGroup>
</Project>