You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2022/02/09 04:46:23 UTC

[lucenenet] 01/05: Directory.Build.targets: Fixed project import references so they will work from nested solutions

This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 52be291e61db6dce05603d33f7bdb504285b2493
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Sun Jan 16 00:41:49 2022 +0700

    Directory.Build.targets: Fixed project import references so they will work from nested solutions
---
 Directory.Build.targets | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Directory.Build.targets b/Directory.Build.targets
index d7c6e22..575b43b 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -20,7 +20,7 @@
 -->
 <Project>
 
-  <Import Project="$(SolutionDir).build/dependencies.props" />
+  <Import Project=".build/dependencies.props" Condition="Exists('.build/dependencies.props')" />
 
   <!-- Features in .NET 5.x and .NET 6.x only -->
   <PropertyGroup Condition=" $(TargetFramework.StartsWith('net5.')) Or $(TargetFramework.StartsWith('net6.')) ">
@@ -163,6 +163,6 @@
     <PackageReference Include="Microsoft.SourceLink.GitHub" Version="$(MicrosoftSourceLinkGitHubPackageReferenceVersion)" PrivateAssets="All"/>
   </ItemGroup>
 
-  <Import Project=".build\release.targets" Condition="Exists('.build\release.targets')" />
+  <Import Project=".build/release.targets" Condition="Exists('.build/release.targets')" />
 
 </Project>
\ No newline at end of file