diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm
index 4d70800853239552d826a309511b6b3a8b303552..50bdc79f2a4bd37f99f4cc3d3f3642389d85f7d9 100644
--- a/src/tools/msvc/Mkvcbuild.pm
+++ b/src/tools/msvc/Mkvcbuild.pm
@@ -3,7 +3,7 @@ package Mkvcbuild;
 #
 # Package that generates build files for msvc build
 #
-# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.36 2009/01/21 10:30:02 mha Exp $
+# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.37 2009/02/25 17:42:19 mha Exp $
 #
 use Carp;
 use Win32;
@@ -312,15 +312,6 @@ sub mkvcbuild
         $p->AddReference($postgres);
     }
 
-    $mf = Project::read_file('src\backend\foreign\Makefile');
-    $mf =~ s{\\s*[\r\n]+}{}mg;
-    $mf =~ m{FDW\s*=\s*(.*)$}m || die 'Could not match in foreign makefile' . "\n";
-    foreach my $foreign (split /\s+/,$1)
-    {
-        my $proj = $solution->AddProject($foreign . '_fdw', 'dll', 'foreign', 'src\backend\foreign\\' . $foreign);
-        $proj->AddReference($postgres);
-    }
-
     $mf = Project::read_file('src\bin\scripts\Makefile');
     $mf =~ s{\\s*[\r\n]+}{}mg;
     $mf =~ m{PROGRAMS\s*=\s*(.*)$}m || die 'Could not match in bin\scripts\Makefile' . "\n";