diff --git a/src/Build/BuildFromSource.props b/src/Build/BuildFromSource.props
index 195fc60..f1499bd 100644
--- a/src/Build/BuildFromSource.props
+++ b/src/Build/BuildFromSource.props
@@ -12,7 +12,8 @@
- true
+ true
+ imported
@@ -22,6 +23,5 @@
$([System.IO.Path]::GetTempFileName())
$(TempFile).props
$(TempFile).targets
- false
diff --git a/src/Build/BuildFromSource.targets b/src/Build/BuildFromSource.targets
index 748f282..f732361 100644
--- a/src/Build/BuildFromSource.targets
+++ b/src/Build/BuildFromSource.targets
@@ -21,7 +21,7 @@
-
-
+
+
diff --git a/src/Build/Custom/CustomBeforeCentralpackageVersions.props b/src/Build/Custom/CustomBeforeCentralpackageVersions.props
deleted file mode 100644
index b267546..0000000
--- a/src/Build/Custom/CustomBeforeCentralpackageVersions.props
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
- true
- true
- Native;BuildTransitive;BuildMultitargeting;ContentFiles;Compile;Runtime
- Analyzers;Build
- true
- All
-
-
-
-
-
-
- true
- Always
- Always
- true
- Analyzer
- true
- false
- Configuration=$(Configuration)
- Restore;Build;Pack
-
-
-
-
-
- true
- Analyzers;Runtime;Native
- true
- ContentFiles;Build;BuildTransitive;BuildMultitargeting
- true
- All
-
-
-
-
-
-
- ContentFiles;Native;Analyzers
- Build;BuildTransitive;BuildMultitargeting;Runtime;Compile
- None
-
-
-
-
diff --git a/src/Build/CustomBeforeAndAfterCentralPackageVersions.props b/src/Build/CustomBeforeAndAfterCentralPackageVersions.props
index 95eaa04..580b400 100755
--- a/src/Build/CustomBeforeAndAfterCentralPackageVersions.props
+++ b/src/Build/CustomBeforeAndAfterCentralPackageVersions.props
@@ -14,14 +14,13 @@
$(CustomBeforeCentralPackageVersionsProps);
- $(MSBuildThisFileDirectory)Custom/CustomBeforeCentralpackageVersions.props;
-
- $([MSBuild]::GetPathOfFileAbove("Directory.CustomBeforeCentralPackageVersions.props"))
+
+ $([MSBuild]::GetPathOfFileAbove("Directory.CustomBeforeCentralPackageVersions.props", "$(MSBuildProjectDirectory)"))
-
+
$(CustomAfterCentralPackageVersionsProps);
- $([MSBuild]::GetPathOfFileAbove("Directory.CustomAfterCentralPackageVersions.props"))
+ $([MSBuild]::GetPathOfFileAbove("Directory.CustomAfterCentralPackageVersions.props", "$(MSBuildProjectDirectory)"))
diff --git a/src/Build/CustomBeforeAndAfterCentralPackageVersions.targets b/src/Build/CustomBeforeAndAfterCentralPackageVersions.targets
index 59469c9..28fa087 100755
--- a/src/Build/CustomBeforeAndAfterCentralPackageVersions.targets
+++ b/src/Build/CustomBeforeAndAfterCentralPackageVersions.targets
@@ -12,13 +12,17 @@
-
+
+ $(CustomBeforeCentralPackageVersionsTargets);
+ $(MSBuildThisFileDirectory)Custom/BeforeCentralpackageVersions.targets;
+
+
$(CustomBeforeCentralPackageVersionsTargets);
- $([MSBuild]::GetPathOfFileAbove("Directory.CustomBeforeCentralPackageVersions.targets"))
+ $([MSBuild]::GetPathOfFileAbove("Directory.CustomBeforeCentralPackageVersions.targets", "$(MSBuildProjectDirectory)"))
-
+
$(CustomAfterCentralPackageVersionsTargets);
- $([MSBuild]::GetPathOfFileAbove("Directory.CustomAfterCentralPackageVersions.targets"))
+ $([MSBuild]::GetPathOfFileAbove("Directory.CustomAfterCentralPackageVersions.targets", "$(MSBuildProjectDirectory)"))
diff --git a/src/Build/CustomBeforeAndAfterNoTargets.props b/src/Build/CustomBeforeAndAfterNoTargets.props
index 12d6d0a..9f235fa 100755
--- a/src/Build/CustomBeforeAndAfterNoTargets.props
+++ b/src/Build/CustomBeforeAndAfterNoTargets.props
@@ -12,13 +12,13 @@
-
+
$(CustomBeforeNoTargetsProps);
- $([MSBuild]::GetPathOfFileAbove("Directory.CustomBeforeNoTargets.props"))
+ $([MSBuild]::GetPathOfFileAbove("Directory.CustomBeforeNoTargets.props", "$(MSBuildProjectDirectory)"))
-
+
$(CustomAfterNoTargetsProps);
- $([MSBuild]::GetPathOfFileAbove("Directory.CustomAfterNoTargets.props"))
+ $([MSBuild]::GetPathOfFileAbove("Directory.CustomAfterNoTargets.props", "$(MSBuildProjectDirectory)"))
diff --git a/src/Build/CustomBeforeAndAfterNoTargets.targets b/src/Build/CustomBeforeAndAfterNoTargets.targets
index 721847a..3cc15a6 100755
--- a/src/Build/CustomBeforeAndAfterNoTargets.targets
+++ b/src/Build/CustomBeforeAndAfterNoTargets.targets
@@ -12,14 +12,14 @@
-
+
$(CustomAfterNoTargets);
- $([MSBuild]::GetPathOfFileAbove("Directory.CustomBeforeNoTargets.targets"));
+ $([MSBuild]::GetPathOfFileAbove("Directory.CustomBeforeNoTargets.targets", "$(MSBuildProjectDirectory)"));
$(MSBuildThisFileDirectory)Custom/CustomBeforeNoTargets.targets
-
+
$(CustomAfterNoTargets);
- $([MSBuild]::GetPathOfFileAbove("Directory.CustomAfterNoTargets.targets"))
+ $([MSBuild]::GetPathOfFileAbove("Directory.CustomAfterNoTargets.targets", "$(MSBuildProjectDirectory)"))
diff --git a/src/Build/CustomBeforeAndAfterTraversal.props b/src/Build/CustomBeforeAndAfterTraversal.props
index 691bbb8..035373f 100755
--- a/src/Build/CustomBeforeAndAfterTraversal.props
+++ b/src/Build/CustomBeforeAndAfterTraversal.props
@@ -1,24 +1,24 @@
-
-
+
+
$(CustomBeforeTraversalProps);
- $([MSBuild]::GetPathOfFileAbove("Directory.CustomBeforeTraversal.props"))
+ $([MSBuild]::GetPathOfFileAbove("Directory.CustomBeforeTraversal.props", "$(MSBuildProjectDirectory)"))
-
+
$(CustomAfterTraversalProps);
- $([MSBuild]::GetPathOfFileAbove("Directory.CustomAfterTraversal.props"))
+ $([MSBuild]::GetPathOfFileAbove("Directory.CustomAfterTraversal.props", "$(MSBuildProjectDirectory)"))
diff --git a/src/Build/CustomBeforeAndAfterTraversal.targets b/src/Build/CustomBeforeAndAfterTraversal.targets
index 3d58544..4072dd1 100755
--- a/src/Build/CustomBeforeAndAfterTraversal.targets
+++ b/src/Build/CustomBeforeAndAfterTraversal.targets
@@ -1,24 +1,24 @@
-
-
+
+
$(CustomAfterTraversal);
- $([MSBuild]::GetPathOfFileAbove("Directory.CustomBeforeTraversal.targets"))
+ $([MSBuild]::GetPathOfFileAbove("Directory.CustomBeforeTraversal.targets", "$(MSBuildProjectDirectory)"))
-
+
$(CustomAfterTraversal);
- $([MSBuild]::GetPathOfFileAbove("Directory.CustomAfterTraversal.targets"))
+ $([MSBuild]::GetPathOfFileAbove("Directory.CustomAfterTraversal.targets", "$(MSBuildProjectDirectory)"))
diff --git a/src/Build/ItemDefinitionGroups.props b/src/Build/ItemDefinitionGroups.props
index 2517b9f..df9cfbd 100755
--- a/src/Build/ItemDefinitionGroups.props
+++ b/src/Build/ItemDefinitionGroups.props
@@ -47,6 +47,9 @@
Always
Always
Configuration=$(Configuration)
+ true
+ true
+ @(ProjectReference->'%(Filename)')
diff --git a/src/Build/ProjectTypeInfo.props b/src/Build/ProjectTypeInfo.props
index 7907665..ae4761c 100644
--- a/src/Build/ProjectTypeInfo.props
+++ b/src/Build/ProjectTypeInfo.props
@@ -18,6 +18,6 @@
-
+