如何强制Visual Studio中使用x64的DNX S​​DK架构 [英] How to force Visual Studio to use x64 DNX SDK architecture

查看:182
本文介绍了如何强制Visual Studio中使用x64的DNX S​​DK架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是1.0.0-同β764,但视觉工作室坚持我使用的x86。当我删除我所有的运行时间,除了一个我针对我得到这样的:

I'm using 1.0.0-beta7 x64 but visual studios insists I'm using x86. When I delete all my runtimes except the one I'm targeting I get this:

在这里输入的形象描述

我无法找到一个参考我的项目的任何地方x86的。

I can't find a reference to x86 anywhere in my project.

在这里输入的形象描述

当我将鼠标悬停在这里的解决方案DNX S​​DK版本它显示了x86版本,但我不知道它是从得到这个。目前,这不会导致我只是想了解发生了什么事情的任何问题。

When I hover over the Solution DNX SDK version here it shows the x86 version but I don't know where it's getting this from. Currently this isn't causing any problems I'm just trying to understand what's going on.

推荐答案

您在运行32位的Windows?

Are you running a 32bit Windows?

如果没有,我会那么建议你清理你的运行环境。

If not, I would then suggest you clean out your runtimes.

C:\\ Users \\用户名\\ .dnx \\运行时间

C:\Users\USERNAME\.dnx\runtimes

然后做一个全新安装 dnvm升级或者 dnvm安装<&版GT; 。虽然你在它,你还不如更新dnvm以及 dnvm更新自

Then do a fresh install dnvm upgrade or perhaps dnvm install <version>. Whilst you are at it you might as well update your dnvm as well dnvm update-self.

然后设置您的Web项目的属性运行时间,以及global.json,到x64。
如果您使用的是IIS防爆preSS调试,设置为使用IIS防爆preSS的64位版本。

Then set your runtimes on the web project properties, and the global.json, to x64. If you are using IIS Express to debug, set to use 64 bit version of IIS Express.

64位

我希望这有助于!

这篇关于如何强制Visual Studio中使用x64的DNX S​​DK架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆