Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ssis/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Xamarin和teamcity给出参考错误_C#_Android_Reference_Xamarin_Teamcity - Fatal编程技术网

C# Xamarin和teamcity给出参考错误

C# Xamarin和teamcity给出参考错误,c#,android,reference,xamarin,teamcity,C#,Android,Reference,Xamarin,Teamcity,我正在尝试为android项目设置teamcity,但在构建过程中,我遇到了这个错误 Agent\DAgent.cs(8, 7): error CS0246: The type or namespace name 'RestSharp' could not be found (are you missing a using directive or an assembly reference?) Agent\DAgent.cs(9, 7): error CS0246: The type or

我正在尝试为android项目设置teamcity,但在构建过程中,我遇到了这个错误

Agent\DAgent.cs(8, 7): error CS0246: The type or namespace name 'RestSharp' could not be found (are you missing a using directive or an assembly reference?) 
Agent\DAgent.cs(9, 7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) 
Agent\DCAgent.cs(3, 7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) 
Agent\DCgent.cs(4, 7): error CS0246: The type or namespace name 'RestSharp' could not be found (are you missing a using directive or an assembly reference?) 
BootStrapper.cs(6, 7): error CS0246: The type or namespace name 'RestSharp' could not be found (are you missing a using directive or an assembly reference?) 
Controllers\DController.cs(11, 7): error CS0246: The type or namespace name 'RestSharp' could not be found (are you missing a using directive or an assembly reference?) 
Controllers\LController.cs(8, 7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)
还有其他类似的错误,现在我很困惑,因为在我的系统中的xamarin studio中,项目构建得很好,我已经添加了RestSharp作为一个组件以及参考RestSharp.Monodroid
有人能帮上忙吗

您是否真的将该部分纳入回购协议?生成系统可以自动下载Nuget软件包,但不能下载组件。@Jason是的,在我的repo中有一个带有restsharp和json.net的组件文件夹,那么Nuget软件包呢?您是否也将该协议推入远程回购协议?