Marek M.
Marek M.

Reputation: 3951

The type or namespace name 'Dependencies' does not exist in the namespace 'System.Web.Http'

I updated my project from .NET4 -> .NET461 and it builds without any errors on my local machine. However, when I push it and start team city build, then it crashes with the error from this question's topic. Team city machine is also equipped with .NET461. I can't install the Dependencies namespace from nuget in any way because it should be built into System.Web.Http module. How to fix it?

Upvotes: 0

Views: 800

Answers (1)

gbesta
gbesta

Reputation: 1

Most likely the TargetFramework parameter in the packages.config

In Package Manager Console simply run:

Update-Package -Reinstall

Upvotes: 0

Related Questions