diff --git a/w32/vsnet/GetLibs.vbs b/w32/vsnet/GetLibs.vbs
index 80102268d3..4abb24750a 100644
--- a/w32/vsnet/GetLibs.vbs
+++ b/w32/vsnet/GetLibs.vbs
@@ -264,12 +264,12 @@ Sub BuildLibs_ModPortAudio(BuildDebug, BuildRelease)
End If
If FSO.FolderExists(LibDestDir & "PortAudio") Then
If BuildDebug Then
- If Not FSO.FileExists(LibDestDir & "PortAudio\Lib\PAStaticWMMED.lib") Then
+ If Not FSO.FileExists(LibDestDir & "PortAudio\winvc\Lib\PAStaticWMMED.lib") Then
BuildViaVCBuild LibDestDir & "PortAudio\winvc\PAStaticWMME\PAStaticWMME.vcproj", "Debug"
End If
End If
If BuildRelease Then
- If Not FSO.FileExists(LibDestDir & "PortAudio\Lib\PAStaticWMME.lib") Then
+ If Not FSO.FileExists(LibDestDir & "PortAudio\winvc\Lib\PAStaticWMME.lib") Then
BuildViaVCBuild LibDestDir & "PortAudio\winvc\PAStaticWMME\PAStaticWMME.vcproj", "Release"
End If
End If
diff --git a/w32/vsnet/mod_PortAudio.vcproj b/w32/vsnet/mod_PortAudio.vcproj
index ef4478fba3..d2da06e1d2 100644
--- a/w32/vsnet/mod_PortAudio.vcproj
+++ b/w32/vsnet/mod_PortAudio.vcproj
@@ -25,7 +25,7 @@
>