Skip to content

Commit 6de1d48

Browse files
committed
chore: Update Directory.Build.props
1 parent ff3415a commit 6de1d48

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

samples/Plugins/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<ConsoleAppProjectDir>$(ProjectRootDir)/samples/HostApplications/ConsoleApp/$(PluginsOutputDirectory)</ConsoleAppProjectDir>
1717
</PropertyGroup>
1818
<ItemGroup>
19-
<ProjectReference Include="..\..\Contracts\Example.Contracts.csproj">
19+
<ProjectReference Include="$(ProjectRootDir)/samples/Contracts/Example.Contracts.csproj">
2020
<!-- This tells MSBuild not to copy Example.Contracts.dll to the plug-in output directory. -->
2121
<Private>false</Private>
2222
<!--
@@ -26,7 +26,7 @@
2626
<ExcludeAssets>runtime</ExcludeAssets>
2727
</ProjectReference>
2828

29-
<ProjectReference Include="..\..\..\src\Attributes\CPlugin.Net.Attributes.csproj">
29+
<ProjectReference Include="$(ProjectRootDir)/src/Attributes/CPlugin.Net.Attributes.csproj">
3030
<!-- This tells MSBuild not to copy CPlugin.Net.Attributes.dll to the plug-in output directory. -->
3131
<Private>false</Private>
3232
</ProjectReference>

tests/Plugins/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
<OutDir>$(ProjectRootDir)/tests/CPlugin.Net/$(PluginsOutputDirectory)</OutDir>
1010
</PropertyGroup>
1111
<ItemGroup>
12-
<ProjectReference Include="..\..\TestProject.Contracts\TestProject.Contracts.csproj">
12+
<ProjectReference Include="$(ProjectRootDir)/tests/TestProject.Contracts/TestProject.Contracts.csproj">
1313
<Private>false</Private>
1414
<ExcludeAssets>runtime</ExcludeAssets>
1515
</ProjectReference>
16-
<ProjectReference Include="..\..\..\src\Attributes\CPlugin.Net.Attributes.csproj" Private="false" />
16+
<ProjectReference Include="$(ProjectRootDir)/src/Attributes/CPlugin.Net.Attributes.csproj" Private="false" />
1717
</ItemGroup>
1818
</Project>

0 commit comments

Comments
 (0)