Why won't my msbuild deploy work after I check “Precompile during publishing” on the publish properties?
问题 I checked the middle option, below, "Precompile during publishing". This changed the FDeploy.pubxml file by a few lines. Fine. I committed this single change to my build server. Heres the pubxml: <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <WebPublishMethod>FileSystem</WebPublishMethod> <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> <LastUsedPlatform>Any CPU</LastUsedPlatform>