visual-studio .NET Compact Framework 与 Visual Studio 2010?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2646027/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 11:46:33  来源:igfitidea点击:

.NET Compact Framework with Visual Studio 2010?

.netvisual-studiovisual-studio-2010compact-framework

提问by user317578

NET Compact Framework with Visual Studio 2010? I have Visual Studio 2003, but i want change to one IDE.

NET Compact Framework 与 Visual Studio 2010?我有 Visual Studio 2003,但我想更改为一个 IDE。

回答by rcx

Joel Fjordén has a blog poston how to Open and Build .NET Compact Framework Projects in Visual Studio 2010. In short, his approach involves editing the project file and copying the .NET Compact Framework v3.5 targets files to the .NET v4 directory.

Joel Fjordén 有一篇关于如何在 Visual Studio 2010 中打开和构建 .NET Compact Framework 项目的博客文章。简而言之,他的方法包括编辑项目文件并将 .NET Compact Framework v3.5 目标文件复制到 .NET v4 目录.

As alluded to earlier, Microsoft web pages note the following:

如前所述,Microsoft 网页注意到以下内容:

Because Visual Studio 2010 does not support mobile application development for Windows Phone prior to Windows Phone OS 7.0, you cannot use the following features: .NET Compact Framework projects, Visual C++ device projects, smart device CAB projects, Device Emulator and Device Emulator Manager, testing tools for device projects, and Device Security Manager.

由于 Visual Studio 2010 不支持 Windows Phone OS 7.0 之前的 Windows Phone 移动应用程序开发,因此您不能使用以下功能:.NET Compact Framework 项目、Visual C++ 设备项目、智能设备 CAB 项目、设备模拟器和设备模拟器管理器,设备项目的测试工具和设备安全管理器。

.NET Compact Framework application development is not supported in Visual Studio 2010.

Visual Studio 2010 不支持 .NET Compact Framework 应用程序开发。

.NET Compact Framework application development is supported in Visual Studio 2008, but not in Visual Studio 2010.

.NET Compact Framework 应用程序开发在 Visual Studio 2008 中受支持,但在 Visual Studio 2010 中不受支持。

Unfortunately, none of these Microsoft pages appear to make any reference to an out-of-band release for Visual Studio 2010. Is there a Microsoft blog or web page to monitor for an announcement on the availability of this out-of-band release?

不幸的是,这些 Microsoft 页面似乎都没有提及 Visual Studio 2010 的带外版本。是否有 Microsoft 博客或网页可以监控有关此带外版本可用性的公告?

回答by ctacke

To be absolutely clear, Visual Studio 2010 did not ship with Smart Device Programmability support. The primary reason for this is that the Windows Phone stuff was not fully ready, and Microsoft wasn't going hold the release of Studio waiting for that small piece.

明确地说,Visual Studio 2010 没有附带智能设备可编程性支持。造成这种情况的主要原因是 Windows Phone 的东西还没有完全准备好,微软不会等待那一小部分的 Studio 发布。

Smart Device support for Visual Studio 2010 will be shipped out-of-band, probably in the coming months (they're already shipping CTPs of the bits, and since the Phone is due out later this year, they have to get tools into the hands of developers).

对 Visual Studio 2010 的智能设备支持可能会在未来几个月内提供带外支持(他们已经提供了这些位的 CTP,而且由于电话将于今年晚些时候推出,他们必须将工具放入开发人员的手)。

Now what will that "support" entail? Microsoft hasn't officially announced the full details, but it's probably a good bet that you'll see:

现在,这种“支持”会带来什么?微软尚未正式公布全部细节,但你很可能会看到:

  • Compact Framework 3.5 (not 2.0 or 1.1) support for CE and WinMo 6.5
  • Silverlight support for WinPhone
  • XNA support for WinPhone
  • Compact Framework 3.5(不是 2.0 或 1.1)支持 CE 和 WinMo 6.5
  • 对 WinPhone 的 Silverlight 支持
  • WinPhone 的 XNA 支持

If you can't wait for that release, then your only real option is to use Studio 2005 or Studio 2008, but keep in mind that those will not work for WinPhone, and you'd be moving to al already out-of-date tool set. I'd seriously consider waiting.

如果您等不及该版本,那么您唯一真正的选择是使用 Studio 2005 或 Studio 2008,但请记住,这些不适用于 WinPhone,并且您将转向已经过时的所有版本工具集。我会认真考虑等待。

Now as a stopgap, you mightbe able to use the Evaluation version of Studio 2008 in hopes that the 2010 bits will be shipped before the time limit of the eval expires. The challenge there is that since 2010 is now released, finding the 2008 eval might be difficult.

现在作为权宜之计,您可以使用 Studio 2008 的评估版,希望 2010 位将在评估的时间限制到期之前发货。挑战在于,由于 2010 现已发布,因此可能很难找到 2008 评估版。

回答by Vaccano

You can go hereand vote to have Microsoft add Compact Framework Support for Visual Studio 2010.

你可以去这里投票让 Microsoft 添加对 Visual Studio 2010 的 Compact Framework 支持。

I really makes sense for them to do this as there is no "replacement" Windows CE/Pocket PC yet (or probably ever).

我对他们来说这样做真的很有意义,因为目前(或可能永远)还没有“替代”Windows CE/Pocket PC。

UPDATE:MS has more or less abandoned existing feature requests in Connect. Please go to the new User Voice site to votefor this feature.

更新:MS 或多或少放弃了 Connect 中的现有功能请求。请前往新的User Voice 站点为该功能投票

回答by Big Endian

http://msdn.microsoft.com/en-us/library/w0x726c2.aspx

http://msdn.microsoft.com/en-us/library/w0x726c2.aspx

says ".NET Compact Framework application development is not supported in Visual Studio 2010".

说“Visual Studio 2010 不支持.NET Compact Framework 应用程序开发”。

I would recommend VS2008

我会推荐VS2008

回答by Jonathan Kaufman

For a longer answer. framework 1.* (compact or otherwise) is not really supported anymore. The lowest is 2.0. I would ask what you are using the compact framework becuase Microsoft has different directions.

对于更长的答案。框架 1.*(紧凑型或其他)不再真正受支持。最低的是 2.0。我会问你在使用什么紧凑框架,因为微软有不同的方向。

Their phone is going to silverlight and XNA.

他们的手机将使用 Silverlight 和 XNA。

If you are developing for smaller devices the .net micro kit is now free and open http://www.microsoft.com/netmf/default.mspx

如果您正在为较小的设备开发 .net 微型套件现在是免费的并打开 http://www.microsoft.com/netmf/default.mspx

There are different directions depending on what exactly you are doing. This may be a time to evaluate what direction you want to take.

有不同的方向取决于你到底在做什么。这可能是评估您想要采取的方向的时候了。