diff --git a/winbuild/BuildAll.ps1 b/winbuild/BuildAll.ps1
index 729cc793..3573c3f6 100755
--- a/winbuild/BuildAll.ps1
+++ b/winbuild/BuildAll.ps1
@@ -122,8 +122,9 @@ function buildPlatform([xml]$configInfo, [string]$Platform)
 			default { throw "Unable to resolve mimalloc IDE directory for VC ${VCVersion}."}
 		}
 
-		# build mimalloc dependency
-		& ${msbuildexe} ..\libs\mimalloc\ide\$mimallocIdeDir\mimalloc.vcxproj /tv:$MSToolsV "/p:Platform=$Platform;Configuration=$Configuration;PlatformToolset=${Toolset}" /t:$target /p:VisualStudioVersion=${VCVersion}
+		# build mimalloc dependency, without the assembler listings that
+		# mimalloc.props turns off
+		& ${msbuildexe} ..\libs\mimalloc\ide\$mimallocIdeDir\mimalloc.vcxproj /tv:$MSToolsV "/p:Platform=$Platform;Configuration=$Configuration;PlatformToolset=${Toolset}" /t:$target /p:VisualStudioVersion=${VCVersion} "/p:ForceImportBeforeCppTargets=$scriptPath\mimalloc.props"
 	}
 
 	# build psqlodbc
diff --git a/winbuild/mimalloc.props b/winbuild/mimalloc.props
new file mode 100644
index 00000000..0502c7c3
--- /dev/null
+++ b/winbuild/mimalloc.props
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+	Imported into the mimalloc build through ForceImportBeforeCppTargets,
+	after mimalloc's own project settings, by BuildAll.ps1 -UseMimalloc.
+
+	mimalloc's project asks for an assembler listing of every source file
+	(/FAs).  MSVC 14.52 fails to write the listing of stats.c ("C1083:
+	Cannot open compiler generated file: 'stats.asm': Invalid argument"),
+	and the driver does not use the listings, so turn them off.
+-->
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+	<ItemDefinitionGroup>
+		<ClCompile>
+			<AssemblerOutput>NoListing</AssemblerOutput>
+		</ClCompile>
+	</ItemDefinitionGroup>
+</Project>
