Click here to Skip to main content
15,886,780 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Why can't I build my Project with dependencies?

What I have tried:

In my Solution I have a Project (Project Main) with dependencies to four other Projects (Project A, B and C). If I execute the command
msbuild [Project] /p:configuration=release
on Project A, B and C, MSBuild will create my bin/release files as i expected.

When I execute above command on Project Main, MSBuild will build Project A, B and C too because of dependencies. But on this point it fails on Project C with following error:

Confirm that the <usingtask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

I don't understand this. Why does the Building not work when I build it as dependency.
If I don't provide enough Information, please inform me. I am still very unexperienced in Terms of MSBuild and don't know all processes of Building.
Posted
Comments
Richard MacCutchan 14-May-18 3:22am    
Use Visual Studio, as it will create the proper dependency links.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900