简体   繁体   English

Visual Studio 2017-将Xamarin Forms 3 NuGet软件包安装到解决方案中

[英]Visual Studio 2017 - Install Xamarin Forms 3 NuGet package into solution

I have Visual Studio 2017 with Xamarin installed. 我安装了Xamarin的Visual Studio 2017。 I want to update to Xamarin.Forms 3 我想更新到Xamarin.Forms 3

I understand that I have to use NuGet to install the Xamarin Forms 3 NuGet package. 我了解我必须使用NuGet来安装Xamarin Forms 3 NuGet软件包。

However, to install to NuGet package I need to open a solution in Visual Studio first. 但是,要安装到NuGet软件包,我需要先在Visual Studio中打开一个解决方案。 When I open a solution and install the NuGet package - will this package (Forms 3) only be available for that solution? 当我打开一个解决方案并安装NuGet软件包时-该软件包(Forms 3)仅适用于该解决方案吗? I need Forms 3 to be available for all new solutions that I will create in future... 我需要将Forms 3用于将来将要创建的所有新解决方案...

If you have at least Visual Studio 2017 15.7 installed then the latest Cross-Platform project templates provided by Xamarin use the Xamarin.Forms 3.0 NuGet package. 如果您至少安装了Visual Studio 2017 15.7,则Xamarin提供的最新跨平台项目模板将使用Xamarin.Forms 3.0 NuGet包。

For existing projects you have created you would need to update the Xamarin.Forms NuGet package yourself. 对于您创建的现有项目,您需要自己更新Xamarin.Forms NuGet包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM