開始設定Get set up

準備好使用 Visual Studio

開始操作比您想像中容易。It's easier than you think to get going. 請依照下列指示操作,並開始建立適用於 Windows 10 的通用 Windows 平台 (UWP) 應用程式。Follow these instructions and start creating Universal Windows Platform (UWP) apps for Windows 10.

1.下載或更新 Visual Studio1. Download or update Visual Studio

注意

新版本 Visual Studio 的外觀可能會與伴隨這些指示的螢幕擷取畫面不同。New versions of Visual Studio might look different than the screenshots that accompany these instructions. 請別擔心!Don't worry! 只要遵循這些指示,您仍然可以順利完成設定。You'll still be set up if you follow these instructions.

Microsoft Visual Studio 2019 可協助您設計、撰寫、測試您的應用程式,並對其進行偵錯。Microsoft Visual Studio 2019 helps you design, code, test, and debug your apps.

如果您還沒有 Visual Studio 2019,則可以安裝免費的 Microsoft Visual Studio Community 2019。If you don't already have Visual Studio 2019, you can install the free Microsoft Visual Studio Community 2019. 此下載包含可用來測試應用程式的裝置模擬器:This download includes device simulators for testing your apps:

您在安裝 Visual Studio 的時候,請務必選取 [通用 Windows 應用程式開發工具] 選項,如下所示:When you install Visual Studio, make sure to select the Universal Windows App Development Tools option, as shown here:

其他 UWP 的 Visual Studio 工具

需要 Visual Studio 上的協助嗎?Need some help with Visual Studio? 請參閱開始使用 Visual StudioSee Get Started with Visual Studio.

如果您已經開始使用 Visual Studio,但發現您遺失部分元件,則可以從 [新增專案] 對話方塊再次啟動安裝程式:If you have already started using Visual Studio, but discover you are missing some components, you can launch the installer again from the New project dialog:

如何重複安裝程序

2.啟用您的裝置以用於開發2. Enable your device for development

請務必在真正的電腦和手機上測試您的 UWP 應用程式。It’s important to test your UWP apps on real PCs and phones. 在您可以將應用程式部署到 PC 或 Windows Phone 之前,必須先啟用 PC 或 Windows Phone 以進行開發。Before you can deploy apps to your PC or Windows Phone, you have to enable it for development.

3.註冊成為應用程式開發人員3. Register as an app developer

您現在可以開始開發應用程式,但您必須有開發人員帳戶,才可以將應用程式提交至市集。You can start developing apps now, but before you can submit them to the store, you need a developer account.

  • 若要取得開發人員帳戶,請移至註冊頁面。To get a developer account, go to the Sign up page.

接下來要做什麼?What's next?

在您安裝工具並啟用裝置以進行開發之後,請查看有關如何開始建立 Windows 10 應用程式的指導方針。After you've installed the tools and enabled your device for development, check out our guidance on how to start creating Windows 10 apps.

Windows 開發設定指令碼Windows development setup scripts

如果您想要自訂您的裝置並安裝其他功能或套件,請查看此專案以取得系統設定指令碼。If you want to customize your device and install other features or packages, check out this project for system setup scripts.

想要更多工具和下載?Want more tools and downloads?

如需工具和下載的完整清單,請參閱下載For the complete list of tools and downloads, see Downloads.

另請參閱See Also