Add missing framework exists check.
diff --git a/nant-common.xml b/nant-common.xml
index 1f3e3d3..2210d76 100644
--- a/nant-common.xml
+++ b/nant-common.xml
@@ -230,7 +230,9 @@
         <property name="current.build.framework.sign" value="true" />

         <property name="link.sdkdoc.version" value="SDK_v7_0" />

         <property name="link.sdkdoc.web" value="true" />

-        <property name="nant.settings.currentframework" value="${current.build.framework}" />

+        <if test="${framework::exists(current.build.framework)}">

+            <property name="nant.settings.currentframework" value="${current.build.framework}" />

+        </if>

     </target>

 

     <target name="set-netcf-2.0-framework-configuration">