I have web solution (MVC 5). Also in this this solution there are few console applications. I can buil entire solution locally without any errors. But on TC I can't build Web solution (but can all console apps and class libraries). I'm getting such error:
error CS0246: The type or namespace name 'HttpRequestMessage' could not be found (are you missing a using directive or an assembly reference?)
error CS0246: The type or namespace name 'HttpRequestMessage' could not be found (are you missing a using directive or an assembly reference?)
error CS0246: The type or namespace name 'AuthenticationHeaderValue' could not be found (are you missing a using directive or an assembly reference?)
Only these 3 entities can not be found in a different files. I can see referenced System.Net, System.Net.Http, System.ServiceModel.Channels assemblies. I'm sure (from build logs) they are referenced from 4.5 (all projects built with 4.5)
What can the problem in?
Aucun commentaire:
Enregistrer un commentaire