[NPANDAY-505] add backup paths for old tools versions
apply for VB & ASP as well
git-svn-id: https://svn.apache.org/repos/asf/incubator/npanday/trunk@1609622 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/components/dotnet-core/src/main/resources/META-INF/npanday/compiler-plugins.xml b/components/dotnet-core/src/main/resources/META-INF/npanday/compiler-plugins.xml
index 909ee02..065985a 100644
--- a/components/dotnet-core/src/main/resources/META-INF/npanday/compiler-plugins.xml
+++ b/components/dotnet-core/src/main/resources/META-INF/npanday/compiler-plugins.xml
@@ -1606,6 +1606,7 @@
</platforms>
<probingPaths>
<probingPath>${HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\3.5@MSBuildToolsPath}</probingPath>
+ <probingPath>${env.SYSTEMROOT}\Microsoft.NET\Framework\v3.5</probingPath>
</probingPaths>
<commandFilter>
<includes>
@@ -1679,6 +1680,7 @@
</platforms>
<probingPaths>
<probingPath>${HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\2.0@MSBuildToolsPath}</probingPath>
+ <probingPath>${env.SYSTEMROOT}\Microsoft.NET\Framework\v2.0.50727</probingPath>
</probingPaths>
<commandFilter>
<includes>
@@ -1793,6 +1795,7 @@
<probingPaths>
<probingPath>${HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\3.5@MSBuildToolsPath}</probingPath>
<probingPath>${HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\2.0@MSBuildToolsPath}</probingPath>
+ <probingPath>${env.SYSTEMROOT}\Microsoft.NET\Framework\v2.0.50727</probingPath>
</probingPaths>
<commandFilter>
<includes>