如何从编译排除ASP.NET网站code-隐藏文件? [英] How to exclude ASP.NET web site code-behind files from compile?

查看:96
本文介绍了如何从编译排除ASP.NET网站code-隐藏文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我重构ASP.NET页面的堆叠。我想编译和测试我已经完成了的。但是,Visual Studio将不会让我跑与非重构的页面编译错误的Web站点。我如何可以暂时排除它们无需从项目本身去除它们?你可以通过某种配置这样做呢?

I am refactoring a stack of ASP.NET pages. I'd like to compile and test the ones I've completed. However, Visual Studio won't let me run the Web Site with compile errors on the non-refactored pages. How can I temporarily exclude them without removing them from the project itself? Can you do so through configuration of some sort?

推荐答案

上的文件(S)点击右键并选择从项目中排除。

Right-click on the file(s) and select "Exclude from project".

这篇关于如何从编译排除ASP.NET网站code-隐藏文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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