1
我無法逐步構建解決方案。我檢查了診斷日誌,發現每個包含工作流程的項目總是因此重建:無法逐步構建解決方案:輸入文件「.NETFramework,Version = v3.5」不存在
輸入文件「.NETFramework,Version = v3.5」不存在。
工作流程總是重新編譯,創建新的臨時文件並重新構建項目。
Building target "WorkflowCompilation" completely.
Input file ".NETFramework,Version=v3.5" does not exist.
Using "CompileWorkflowTask" task from assembly "System.Workflow.ComponentModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35".
Task "CompileWorkflowTask"
No files found with '.xoml' extension in the set of input files.
Generated temporary code file: C:\Users\Ludwo\AppData\Local\Temp\uwdnm5th.cs
Workflow markup validations completed with 0 errors and 0 warnings.
Done executing task "CompileWorkflowTask".
Done building target "WorkflowCompilation" in project "Delta.Workflow.Common.Merged.csproj".
Target "CoreCompile" in file "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.CSharp.targets" from project "h:\Prj\R4x\M\CountrySystems\Delta\Common\Delta.Workflow.Common\Delta.Workflow.Common.Merged.csproj" (target "Compile" depends on it):
Building target "CoreCompile" completely.
Input file "C:\Users\Ludwo\AppData\Local\Temp\uwdnm5th.cs" is newer than output file "obj\Debug\Delta.Workflow.Common.pdb".
我正在使用MSBuild 4.0構建我的項目。我的項目設置爲使用v3.5 TargetFrameworkVersion構建,單元測試項目使用設置爲v4.0的TargetFrameworkVersion構建。我試圖在不同的PC上構建它,但結果仍然相同。我也參與了我的項目。它似乎像v4.0/v3.5衝突,但我不知道如何解決它。有任何想法嗎?