<bdo id='7Yg34'></bdo><ul id='7Yg34'></ul>
<i id='7Yg34'><tr id='7Yg34'><dt id='7Yg34'><q id='7Yg34'><span id='7Yg34'><b id='7Yg34'><form id='7Yg34'><ins id='7Yg34'></ins><ul id='7Yg34'></ul><sub id='7Yg34'></sub></form><legend id='7Yg34'></legend><bdo id='7Yg34'><pre id='7Yg34'><center id='7Yg34'></center></pre></bdo></b><th id='7Yg34'></th></span></q></dt></tr></i><div id='7Yg34'><tfoot id='7Yg34'></tfoot><dl id='7Yg34'><fieldset id='7Yg34'></fieldset></dl></div>
<tfoot id='7Yg34'></tfoot>
<legend id='7Yg34'><style id='7Yg34'><dir id='7Yg34'><q id='7Yg34'></q></dir></style></legend>

  • <small id='7Yg34'></small><noframes id='7Yg34'>

      1. 哪个 DLL 具有 Windows.Devices.Gelocation 命名空间?

        Which DLL has the Windows.Devices.Gelocation namespace?(哪个 DLL 具有 Windows.Devices.Gelocation 命名空间?)
      2. <legend id='V7THd'><style id='V7THd'><dir id='V7THd'><q id='V7THd'></q></dir></style></legend>
          <bdo id='V7THd'></bdo><ul id='V7THd'></ul>

            <tfoot id='V7THd'></tfoot>

              <i id='V7THd'><tr id='V7THd'><dt id='V7THd'><q id='V7THd'><span id='V7THd'><b id='V7THd'><form id='V7THd'><ins id='V7THd'></ins><ul id='V7THd'></ul><sub id='V7THd'></sub></form><legend id='V7THd'></legend><bdo id='V7THd'><pre id='V7THd'><center id='V7THd'></center></pre></bdo></b><th id='V7THd'></th></span></q></dt></tr></i><div id='V7THd'><tfoot id='V7THd'></tfoot><dl id='V7THd'><fieldset id='V7THd'></fieldset></dl></div>
            1. <small id='V7THd'></small><noframes id='V7THd'>

                <tbody id='V7THd'></tbody>

                • 本文介绍了哪个 DLL 具有 Windows.Devices.Gelocation 命名空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在使用 VS 2012,我需要编写使用 Windows.Devices.Gelocation 命名空间中的类的代码.我下载了示例程序,但它不会在 VS2012 中加载,因为它需要 VS 2013.并且该类的文档没有说明该命名空间在哪个 DLL 中.

                  I'm using VS 2012 and I need to write code that uses the classes in the Windows.Devices.Gelocation namespace. I downloaded the sample program but it won't load in VS2012 as it requires VS 2013. And the documentation for the class does not indicate which DLL that namespace is in.

                  谁能告诉我哪个 DLL 包含该命名空间?它在 .NET 4 中可用还是我必须使用 .NET 4.5?

                  Can someone tell me which DLL contains that namespace? Is it available in .NET 4 or do I have to use .NET 4.5?

                  编辑

                  我的项目是一个控制台应用程序,它作为 Windows 服务在后台运行.我所做的搜索表明我必须使用参考管理器的 Windows 选项卡来定位 Windows 8.但在我的项目中,Reference Manager 中没有 Windows 选项卡,因为它不是 Windows Store 应用程序.有没有办法在桌面应用程序中使用这个 API???

                  My project is a console application which runs in the background as a Windows service. The searching I've done indicates that I have to target Windows 8 by using the Reference Manager's Windows Tab. But there is no Windows tab in the Reference Manager in my project because it's not a Windows Store application. Is there a way to use this API from a desktop application???

                  推荐答案

                  我找到了如何引用我需要的程序集.

                  I've found how to reference the assembly I need.

                  在此页面上,在 Windows Tab 部分下,在 Core Subgroup 小节中,第三段提供了有关如何从桌面应用程序引用所需 Windows 程序集的说明.总结一下:

                  On this page, under the section Windows Tab, in the Core Subgroup subsection, the third paragraph gives instructions on how to reference the needed windows assemblies from desktop applications. To summarize it:

                  1. 卸载要添加引用的项目.
                  2. 编辑项目的 .csproj 文件.
                  3. 在 .csproj 文件的任意位置添加以下代码段:

                  1. Unload the project to which the reference will be added.
                  2. Edit the .csproj file for the project.
                  3. Add the following snippet anywhere in the .csproj file:

                    <物业组>
                      <TargetPlatformVersion>8.0</TargetPlatformVersion>
                    </PropertyGroup>

                     <PropertyGroup>
                       <TargetPlatformVersion>8.0</TargetPlatformVersion>
                     </PropertyGroup>

                • 保存编辑后的 .csproj 文件.

                • Save the edited .csproj file.

                  此时,当您打开 Reference Manager 对话框时,您会在左侧看到一个 Windows 选项卡.单击它,您将看到 Core 子组.在右侧,它会显示Targeting Window 8.0",并且在Windows 版本 255.255.255.255"下将被取消选中.勾选它然后点击 OK &你已经完成了.

                  At this point, when you open the Reference Manager dialog, you'll see a Windows tab on the left. Click that, and you'll see the Core subgroup. To the right, it'll say "Targeting Window 8.0" and under that "Windows version 255.255.255.255" will be unchecked. Check it off then click OK & you're done.

                  这篇关于哪个 DLL 具有 Windows.Devices.Gelocation 命名空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!
                • 相关文档推荐

                  C# namespace alias - what#39;s the point?(C# 命名空间别名 - 有什么意义?)
                  Using Xpath With Default Namespace in C#(在 C# 中使用具有默认命名空间的 Xpath)
                  Generating an EDMX from a DB2 Database(从 DB2 数据库生成 EDMX)
                  IBM .NET Data Provider Connection String issue with Library List(库列表的 IBM .NET 数据提供程序连接字符串问题)
                  .NET DB2 OLEDB pre-requisites(.NET DB2 OLEDB 先决条件)
                  Referring to Code in IBM.Data.DB2 makes that Assembly Unavailable to the rest of my Solution(引用 IBM.Data.DB2 中的代码使该程序集对我的解决方案的其余部分不可用)
                  <tfoot id='E0Rxi'></tfoot>
                  <legend id='E0Rxi'><style id='E0Rxi'><dir id='E0Rxi'><q id='E0Rxi'></q></dir></style></legend>

                        <bdo id='E0Rxi'></bdo><ul id='E0Rxi'></ul>
                      • <i id='E0Rxi'><tr id='E0Rxi'><dt id='E0Rxi'><q id='E0Rxi'><span id='E0Rxi'><b id='E0Rxi'><form id='E0Rxi'><ins id='E0Rxi'></ins><ul id='E0Rxi'></ul><sub id='E0Rxi'></sub></form><legend id='E0Rxi'></legend><bdo id='E0Rxi'><pre id='E0Rxi'><center id='E0Rxi'></center></pre></bdo></b><th id='E0Rxi'></th></span></q></dt></tr></i><div id='E0Rxi'><tfoot id='E0Rxi'></tfoot><dl id='E0Rxi'><fieldset id='E0Rxi'></fieldset></dl></div>

                        <small id='E0Rxi'></small><noframes id='E0Rxi'>

                            <tbody id='E0Rxi'></tbody>