大量 namespace/assembly 参考构建错误 - Windows Phone 8.1 客户端应用程序

Lots of namespace/assembly reference build errors - Windows Phone 8.1 Client App

我刚搬到一台新电脑并重新安装了 Visual Studio、Azure SDK 和 Windows Phone 8.1 SDK。我正在为我编写的简单服务创建一个简单的 HelloWorld Azure 云服务客户端,以测试一切是否正常。以下 program/code 在我的另一台计算机上工作。

这是代码如下:

namespace HelloCloudClient
{
    public partial class MainPage : PhoneApplicationPage
    {
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            // Sample code to localize the ApplicationBar
            //BuildLocalizedApplicationBar();
        }

        private void button1_Clickyyy(object sender, RoutedEventArgs e)
        {
            Service1Client svc = new Service1Client();

            svc.GetDataCompleted += new EventHandler<GetDataCompletedEventArgs>(svc_GetDataCompleted);

            svc.GetDataAsync();
        }

        void svc_GetDataCompleted(object sender, GetDataCompletedEventArgs e)
        {

            if (e.Error != null)
            {

                MessageBox.Show("A network error has occured, please try again!");

                Console.WriteLine("An error occured:" + e.Error);

            }

            textBlock1.Text = e.Result;

        }


    }
}

我收到的错误也如下。经过无数小时的谷歌搜索,我似乎无法找到解决方案。有谁知道我可能做错了什么?我还需要在我的新机器上配置什么吗?谢谢!

问题似乎是 linked 到本地主机的外部服务,很可能 运行 在另一台机器上没有。
请link将您的项目转移到位于两台计算机均可访问的远程位置的服务,或运行您要测试项目的每台计算机中的服务应用程序。