简体   繁体   English

如何在不安装Windows Phone 8 SDK的情况下针对Windows Phone 8创建可移植库类?

[英]How to create a portable library class targeting Windows Phone 8 without installing the Windows Phone 8 SDK?

I would like to create a portable library class targeting Windows Phone 8 from a Windows 2008 R2 machine with Visual Studio 2010 on it and without Windows Phone 8.0 SDK installed. 我想从装有Visual Studio 2010且未安装Windows Phone 8.0 SDK的Windows 2008 R2计算机上创建针对Windows Phone 8的可移植库类。

From Visual Studio 2010, there are only these options available: 在Visual Studio 2010中,只有以下选项可用:

在此处输入图片说明

Is there a multi-target package for Visual Studio to install that supports Windows Phone 8 target framework? 是否为Visual Studio安装了支持Windows Phone 8目标框架的多目标程序包?

Note: 注意:
Since Windows Phone SDK 8 requires Windows 8, it can't be installed on this kind of development workstation (back-end oriented). 由于Windows Phone SDK 8需要Windows 8,因此无法将其安装在这种开发工作站(面向后端)上。

I think it is not possible. 我认为这是不可能的。 WP8 requires VS2012 and Windows 8. I got the same problem in the past. WP8需要VS2012和Windows8。过去我遇到过相同的问题。

You don't need the WP8 SDK specifically. 您不需要专门的WP8 SDK。 The simplest thing to do would be to use Visual Studio 2012 Update 2 or later. 最简单的操作是使用Visual Studio 2012 Update 2或更高版本。 You may also be able to install a later version of the Portable Library Tools for VS 2010 to get most of the PCL WP8 support. 您也许还可以为VS 2010安装更高版本的可移植库工具,以获取大多数PCL WP8支持。

暂无
暂无

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

相关问题 是否可以在面向Windows Phone 8和.NET for Windows Store的可移植类库中使用System.Windows.Visibility? - Is it possible to use System.Windows.Visibility in a portable class library targeting Windows Phone 8 and .NET for Windows Store? 在Windows Phone项目中使用可移植类库 - Use portable class library in windows phone project 在Windows Phone 7中访问可移植库类时MissingMethodException - MissingMethodException when accessing portable library class in Windows Phone 7 Windows XAML通用便携式库中的Windows Phone API在哪里? - Where are the Windows Phone APIs in Windows XAML Universal Portable Library? Windows Phone:类库中的IsolatedStorageSettings - Windows Phone: IsolatedStorageSettings in class library Silverlight类库到Windows phone 7类库 - Silverlight class library to Windows phone 7 class library Xamarin可移植类库中的简单获取请求(我需要它在iOS和Windows Phone上运行) - Simple Get Request in a Xamarin Portable Class Library (I need it to run on iOS and Windows Phone) 我可以创建Windows Phone 8.0类库项目并在Windows Phone 8.1项目中使用它 - Can I create Windows Phone 8.0 class library project and use that in Windows phone 8.1 project 将便携式库dll与Windows Phone dll或WinRT dll结合在一起 - Combine a portable library dll with a Windows Phone dll or a WinRT dll 在Windows Phone 8.1类库中创建SQLite数据库 - Create a SQLite Database in Windows Phone 8.1 Class Library
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM