I added the following reference to my ASP.NET MVC 4 application using .net 4.0.
I also included the namespace in my Application , but still I see the following error :
Reference : Microsoft.TeamFoundation.Client.dll
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.Client.dll
"The type or namespace name 'TeamFoundation' does not exist in the namespace 'Microsoft' "
I have another console application and I didnt see this error while using the reference in that application . Is there something different I need to do for a Web/MVC application ? Please let me know .
There is also this warning I see :
Warning 1 The primary reference "Microsoft.TeamFoundation.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0".
You are trying to reference a higher version dll(.net 4.5
) in a lower version project (.net 4.0
).
Either upgrade your project to .net 4.5
or reference the .net 4.0
version dll.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With