具体来说,我有这样的东西:
124:2>ASPNETCOMPILER : error : The following assembly has dependencies on a version of the .NET Framework that is higher than the target and might not load correctly during runtime causing a failure: TransmissionSvc, Version=57.0.19044.141, Culture=neutral, PublicKeyToken=b3dac0a0872f0a93. The dependencies are: System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. You should either ensure that the dependent assembly is correct for the target framework, or ensure that the target framework you are addressing is that of the dependent assembly. [D:\_wf\01\1\s\UI\CandidatePortal\CandidatePortal.csproj]
当我在常规编译中遇到类似情况时,我会使用/bl
标志启动msbuild并分析二进制日志-非常简单。但是有了aspnet_compiler,我很茫然。
似乎完全不透明。该怎么办?