-
-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
21 lines (17 loc) · 1.24 KB
/
Copy pathDirectory.Build.props
File metadata and controls
21 lines (17 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<Project>
<!-- Inherit the repo-root settings (analyzers, nullable, langversion, shared metadata)... -->
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
<!-- ...but examples are sample apps, never NuGet packages. Without this they would be packed
and pushed to NuGet.org by the release workflow (it packs the whole solution). -->
<PropertyGroup>
<IsPackable>false</IsPackable>
</PropertyGroup>
<!-- The Altium packages reference the shared Eda projects with PrivateAssets=all (bundled into
the published packages, not exposed transitively). In-repo example apps that use Eda types
(Coord, CoordPoint, enums, the Eda.Rendering abstractions) must reference them directly.
Paths are anchored to this file so they resolve from each example's subdirectory. -->
<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)..\shared\OriginalCircuit.Eda.Abstractions\src\OriginalCircuit.Eda.Abstractions\OriginalCircuit.Eda.Abstractions.csproj" />
<ProjectReference Include="$(MSBuildThisFileDirectory)..\shared\OriginalCircuit.Eda.Rendering\src\OriginalCircuit.Eda.Rendering.Core\OriginalCircuit.Eda.Rendering.Core.csproj" />
</ItemGroup>
</Project>