无法调试ASP.NET Web应用程序 [英] Unable to debug the ASP.NET web application

查看:154
本文介绍了无法调试ASP.NET Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我试图看到Asp.net项目的输出得到错误无法直接启动具有类库输出类型的项目。为了调试此项目,将可执行项目添加到此解决方案中引用库项目。将可执行项目设置为启动项目。



我不知道是什么问题。请清楚解释一下这个问题。



我尝试过:



1)我创建了Empty解决方案,解决方案文件中包含11个项目。我创建了示例登录屏幕以查看输出。当我们开始调试时,它会在调试中自动获取浏览器实例。但是我开始就像创建Windows应用程序一样。



2)你能告诉我如何渲染已经捆绑在BundleConfig类中的CSS和JS文件位于Asp.Net Web Forms应用程序中的App_Start文件夹而不是MVC应用程序。这个渲染文件应该在母版页或内容页面中告诉我先生。



提前谢谢

解决方案

< blockquote>设置为有效Web应用程序/项目的启动项目。

如果将类库设置为启动项目,则它将始终显示Start


When i am trying to see the output from the Asp.net project getting the error "A project with an Output Type of Class Library cannot be started directly. In order to debug this project, add an executable project to this solution which references the library project. Set the executable project as the startup project".

I doesn't know what is the problem. Please explain me clearly about this issue.

What I have tried:

1) I have created Empty solution with 11 projects included in the solution file. I created sample login screen to see the output. When we start the debug then it automatically gets the browser instance in the debug. But i am getting start like when we create windows application.

2) Can you please tell me how to render the CSS and JS files that already bundled in the BundleConfig class located at App_Start folder in Asp.Net Web Forms application not MVC Application. This rendering files should be in master page or Content pages tell me clearly sir.

Thanks in advance

解决方案

set as a startup project to valid web application/project.
If you set class library as a startup project then it will always show "Start"


这篇关于无法调试ASP.NET Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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