VS 2015中无法解决Microsoft.NETCORE.app依赖项 [英] Microsoft.NETCORE.app dependency not resolved in VS 2015

查看:258
本文介绍了VS 2015中无法解决Microsoft.NETCORE.app依赖项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Visual Studio 2015时遇到问题,当我创建一个新的CORE 1.0项目时,引用显示一个错误,指出无法解析.NETCoreApp.当我打开project.json文件时,Microsoft.NETCore.App文件带有下划线,解决该问题的解决方案是对属性进行排序".

I am having issues with Visual Studio 2015 that when I create a new CORE 1.0 project the references show an error that says that .NETCoreApp cannot be resolved. When I open the project.json file Microsoft.NETCore.App is underlined and the solution to fix it is to "sort properties".

我已经安装了VS 2015 Update 3和.net核心工具预览版2.

I have installed VS 2015 update 3 and also .net core tools preview 2.

sort属性确实起作用,但我还注意到,尝试添加依赖项时,projects.json文件中的intelisense损坏了.

The sort properties does work but I also notice that intelisense is broken in the projects.json file when trying to add dependencies.

我是.net和VS2015的新手,我正在努力研究书籍和教程.

I am a newbie to .net and VS2015 and I am trying to work out of books and tutorials.

谢谢

推荐答案

已解决....我未能添加,这是Windows 10 VM在MAC上并行运行,并且项目目录默认为MAC主驱动器,因此它看起来像UNC共享"\ MAC \ Home \"等.一旦我更改为保存到盘符驱动器,一切看起来都很好.多亏一位同事开始记得他很久以前也遇到过同样的问题.感谢Nate的帮助.

Resolved.... I failed to add that this was a Windows 10 VM running in parallels on MAC and the projects directory was defaulted to the MAC home drive so it looked like a UNC share "\MAC\Home\" etc. Once I changed to saving to a letter drive everything looked good. Thanks to a coworker that started remembering that he had the same issue a long time ago. Thanks Nate for trying to help.

这篇关于VS 2015中无法解决Microsoft.NETCORE.app依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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