找不到或不支持该路径。输入或选择其他路径。 [英] The path is not found or not supported. type or select a different path.

查看:94
本文介绍了找不到或不支持该路径。输入或选择其他路径。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用个人帐户在visual studio中创建了新的MVC Web应用程序。每个功能都运行良好,包括Identity和sql localDB。



但是当我将实体框架添加到我的项目中时。它在对话框中给我错误。 这项行动无法完成。在输出窗口中,我看到



 TF10121:路径'  \\D:\c#\2016 \ testdelete \ testdelete \ Data \ Model1 .edmx.diagram'  未找到或不受支持。输入或选择一个不同的路径。





我用Google搜索但是每个人都在不同的解决方案和那些不起作用。



我重新安装我的视觉工作室,但同样的错误。



我是否需要更改任何路径来解决此问题?



我从头开始创建新解决方案,并且只有一个项目。



我的尝试:



VS2010操作无法完成安装提到的包。 (ASPNET WEB框架工具)



Visual Studio建议我安装AspNet5.ENU.RC1_Update1_KB3137909,我也安装了它。



我正在使用最新的EF。



我试图删除项目并创建了这里提到的新项目,http:// chrisghardwick。 blogspot.in/2011/12/tf10121-path-is-not-found-or-not.html

解决方案





打开受影响的解决方案(包含显示此错误的网站)。删除受影响的项目。重新添加项目。



参考:



TF10121:路径和放大器;#039;&安培;#039;未找到或不受支持。键入或选择其他路径(VS.NET)| Stackemedia [ ^ ]



谢谢,


我能够完成这项工作的唯一方法是:



确保在整个解决方案中检查所有需要的文件。

关闭解决方案。

将解决方案文件夹重命名为.old或任何此类名称。

转到源代码管理资源管理器并获取最新信息(强制获取)如果你必须)。

现在再次打开解决方案。



项目现在应该正确加载。



看起来VS绊倒一些陈旧的解决方案相关文件并打破了加载程序。



希望这有帮助!

have created new MVC web application in visual studio with Individual account. Every functionality is working fine including Identity and sql localDB.

But when I add entity framework into my project. It giving me error in dialog box. "The operation could not completed". In output window i saw

TF10121: The path '\\D:\c#\2016\testdelete\testdelete\Data\Model1.edmx.diagram' is not found or not supported. Type or select a different path.



I googled it but everybody giving different solution and those are not working.

I re-install my visual studio, but same error.

Do I need to change any path to solve this issue ?

I have created new solution from scratch, and there is only one project.

What I have tried:

VS2010 The operation could not be completed Installed mentioned package. (ASPNET WEB FRAMEWORK TOOL)

Visual studio was suggested me to install "AspNet5.ENU.RC1_Update1_KB3137909", and I installed this too.

I am using latest EF.

I tried to remove project and created new project as mentioned here, http://chrisghardwick.blogspot.in/2011/12/tf10121-path-is-not-found-or-not.html

解决方案

Hi,

Open the affected solution (containing the web site that displays this error). Remove the affected project. Re-add the project.

Reference:

TF10121: The path '' is not found or not supported. Type or select a different path (VS.NET) | Stackemedia[^]

Thanks,


The only way I was able to make this work is like this:

Make sure all needed files are checked in across the solution.
Close the solution.
Rename solution folder to a .old or any such name.
Go to Source Control Explorer and get latest (force get it if you have to).
Now open the solution again.

The project should now load correctly.

Looks like VS stumbles against some old stale solution related files and breaks the loading routine.

Hope this helped!


这篇关于找不到或不支持该路径。输入或选择其他路径。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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