小编Omi*_*ich的帖子

如何在Visual Studio 2015中修复DNX/DNVM?

今天我在Windows 7 x64上安装了VS 2015.主要是为了测试新的.Net Core功能等.为了测试,我创建了新的C#"控制台应用程序(包)"解决方案并获得了以下消息:

DNX SDK版本'dnx-clr-win-x86.1.0.0-beta5'无法安装.该解决方案将使用DNX SDK版本'dnx-clr-win-x86.1.0.0-beta5'进行此会话.

我无法编译和调试项目.此外,当我在项目属性中打开调试选项卡时,VS崩溃了.

打开解决方案时的DNVM输出:

Invoke-Command : The term 'x86' is not recognized as the name of a cmdlet, func
tion, script file, or operable program. Check the spelling of the name, or if a
 path was included, verify that the path is correct and try again.
C:\Program Files\Microsoft DNX\Dnvm\dnvm.ps1:1451 ????:27
+             Invoke-Command <<<<  ([ScriptBlock]::Create("dnvm-$cmd $cmdargs")
)
    + CategoryInfo          : ObjectNotFound: (x86:String) [Invoke-Command], C 
   ommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Co 
   mmands.InvokeCommandCommand

Invoke-Command : The term 'x86' …
Run Code Online (Sandbox Code Playgroud)

.net visual-studio visual-studio-2015 dnx dnvm

58
推荐指数
4
解决办法
4万
查看次数

在NVIDIA显卡的Visual Studio中运行程序调试的任何方法?

我有带集成Intel和NVIDIA显卡的笔记本电脑,我想在NVIDIA显卡的Visual Studio 2013社区版中运行我的程序(用C#编写)调试,因为我的程序广泛适用于OpenGL,而Intel卡不支持最新的OpenGL特征.但默认设置程序在Intel卡上运行.

我尝试在NVIDIA设置中为我的程序更改默认图形卡,但看起来重置程序重新编译设置后.

那么,有没有其他简单的方法在NVIDIA显卡上运行程序?也许有特殊的命令行参数或类似的东西?

opengl debugging visual-studio visual-studio-2013

5
推荐指数
2
解决办法
3849
查看次数