简体   繁体   English

Visual Studio 2013 Ultimate中ASP.NET项目的代码映射

[英]Code Map for ASP.NET Projects in Visual Studio 2013 Ultimate

I need to visualize complex business logic on a single ASP.NET page that has over thousands of lines code so I decided to give Visual Studio's own "Code Map" feature a shot, which is described here: http://msdn.microsoft.com/en-us/library/jj739835.aspx 我需要在具有数千行代码的单个ASP.NET页面上可视化复杂的业务逻辑,因此我决定为Visual Studio自己的“代码映射”功能提供一个镜头,如下所述: http//msdn.microsoft。 COM / EN-US /库/ jj739835.aspx

The tool looks like this: 该工具如下所示:

代码映射工作示例

I tried with VB.NET and C# (including MVC) projects and it was working very well... or that's what I thought, until I tried to use code map tool on an ASP.NET project. 我尝试使用VB.NET和C#(包括MVC)项目,它运行得很好......或者这就是我的想法,直到我尝试在ASP.NET项目中使用代码映射工具。

代码映射按钮示例

Instead I got this helpful window: 而是我得到了这个有用的窗口:

空代码映射窗口

I couldn't find any documentation that says "it's not supported" so I guess I'm doing something wrong? 我找不到任何说“它不受支持”的文档,所以我猜我做错了什么? Is there any way to get this tool work, manually trying to add did not help either. 有没有办法让这个工具工作,手动尝试添加也没有帮助。 I'm open to suggestions. 我愿意接受建议。

It appears you're using a File System Web Site Project. 您似乎正在使用文件系统网站项目。 These have nebulous support in Visual Studio 2012 and later. 这些在Visual Studio 2012及更高版本中具有模糊支持。 I say "nebulous" because I haven't found anything that explicitly states they're deprecated, but the documentation for them is only provided for Visual Studio 2005, 2008 and 2010. 我说“模糊不清”因为我没有找到任何明确说明它们已被弃用的内容,但是它们的文档仅针对Visual Studio 2005,2008和2010提供。

If you need Code Map support for your project, consider converting it to a Web Application . 如果您需要为项目提供代码映射支持,请考虑将其转换为Web应用程序

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM