You can build your exeWPF
project like this
msbuild exeWPF.csproj /p:BuildProjectReferences=false
Property BuildProjectReferences will prevent MSBuild from building references, it will be forced to use pre-built assemblies to extract metadata for references, and it will fail if referenced assemblies don't exist.