Failed fromProgramSet D: \ windows \ Microsoft. NET \ framework \ v3.5 \ Microsoft. Build. Tasks. DLL to load the task "Microsoft. Build. Tasks. Delete ". The file cannot be loaded or the Assembly "file: // D: \ windows \ Microsoft. NET \ framework \ v3.5 \ Microsoft. Build. Tasks. dll" or one of its dependencies. The system cannot find the specified file. Make sure that the <usingtask> declaration is correct and that the Assembly and all its dependencies are available.
This error occurs because the version of The. Targets file referenced by the project file seqwkflow. csproj is incorrect.
Solution:
Open seqwkflow. csproj in the text editor and remove the following lines of text (which can be found in row 86th of the file ):
<Import project = "$ (msbuildextensionspath) \ Microsoft \ Windows Workflow Foundation \ V3.0 \ workflow. Targets"/>.
Add the following lines:
<Import project = "$ (msbuildextensionspath) \ Microsoft \ Windows Workflow Foundation \ v3.5 \ workflow. Targets"/>