简体   繁体   中英

Can't add SilverLight 8 support in Visual Studio 2017

I try to add Windows Phone Silverlight 8 support to Xamarin.Forms Class Library project which created by template Class Library (Xamarin.Forms) --Visual C# in Visual Studio 2017. (My solution is created in Visual Studio 2015). But it alerts

The selected targets require the project to opt-into NuGet 3.0 support 在此处输入图片说明

How to solve that? I found that NuGet version in VS2017 is 4.0.

Can't add SilverLight 8 support in Visual Studio 2017. How to solve that?

That is because Silverlight projects are not supported in this version of Visual Studio 2017 . You can take a look: Visual Studio 2017 Platform Targeting and Compatibility .

Silverlight

Silverlight projects are not supported in this version of Visual Studio. To maintain Silverlight applications, continue to use Visual Studio 2015.

Windows Store and Windows Phone apps

Projects for Windows Store 8.1 and 8.0, and Windows Phone 8.1 and 8.0 are not supported in this release. To maintain these apps, continue to use Visual Studio 2015. To maintain Windows Phone 7.x projects, use Visual Studio 2012

So magicandre1981 is right. To resolve this issue, please continue to use Visual Studio 2015 to maintain Silverlight applications.

Besides, there is an user voice about support Silverlight projects in Visual Studio 2017: https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/18610774-support-silverlight-projects-in-visual-studio-2017 . You can follow you comments and vote this voice. Then you can also check the feedback from here.

Hope this can help you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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