.deps.json找不到

编程入门 行业动态 更新时间:2024-10-26 20:24:50
本文介绍了.deps.json找不到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

遵循以下菜单顺序:

文件->新建->项目-> ASP> .NET核心Web应用程序(.Net Framework)

File -> New -> Project -> ASP>NET Core Web Application (.Net Framework)

构建->构建解决方案

出现此错误:

错误C:\ Users \ Sam \ Documents \ Visual Studio 2015 \ Projects \ RC2 Test \ src \ RC2 Test \ error CS2001:源文件'C:\ Users \ Sam \ Documents \ Visual Studio 2015 \ Projects \ RC2 Test找不到\ src \ RC2 Test \ Test.deps.json'.RC2测试C:\ Program Files(x86)\ MSBuild \ Microsoft \ VisualStudio \ v14.0 \ DotNet \ Microsoft.DotNet.Common.Targets 241

Error C:\Users\Sam\Documents\Visual Studio 2015\Projects\RC2 Test\src\RC2 Test\error CS2001: Source file 'C:\Users\Sam\Documents\Visual Studio 2015\Projects\RC2 Test\src\RC2 Test\Test.deps.json' could not be found. RC2 Test C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.Targets 241

搜索test.deps不会发现任何结果.

Searching for test.deps finds nothing.

测试"是单元测试项目的硬编码名称吗?dotnet --version表示1.0.0.0-preview1-002702

Is "test" a hardcoded name for a unit test project? dotnet --version says 1.0.0.0-preview1-002702

我重复了上述步骤,但是这次我选择了核心Web应用程序(.Net Core).我遇到同样的错误.

I repeated the above steps but this time I selected Core Web Application (.Net Core). I get the same error.

好像我们不能在项目名称中使用空格.

Looks like we cant use spaces in project names.

推荐答案

我遇到了同样的问题,但是我创建了一个名称为"MyprojectWithoutSpaces"的项目,问题不再存在.我想是RC版本中的问题

I have the same issue, but I created a project with name "MyprojectWithoutSpaces" and the issue is gone. I suppose is a problem in the RC version

更多推荐

.deps.json找不到

本文发布于:2023-11-13 10:16:17,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584111.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:找不到   deps   json

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!