web-site-project

Unit Testing ASP.net Web Site Project code stored in App_Code

孤者浪人 提交于 2019-11-26 12:10:54
问题 I have an ASP.net Web Site Project (.net 3.5). Currently all of the non-code behind code files (including Linq2Sql stuff, data contexts, business logic, extension methods, etc) are located in the App_Code folder. I am interested in introducing Unit Testing (using nunit) in at least some sections of the project moving forward. Any Unit Testing that I would be doing would need to have full access to all of the code that is currently located in the App_Code folder. I have done some initial

How to use command line msbuild to deploy VS2012 Web Site project without precompiling it?

江枫思渺然 提交于 2019-11-26 12:05:27
问题 I\'ve inherited a very large VS2012 web site project (not web application) and am trying to automate it\'s deployment. There are tons of circular references in the project so to get it to precompile using aspnet_compiler.exe I have to turn on fixednames. The problem with that is it causes the build to take about 20 minutes on my quad core, 16gb ram, ssd developer machine. The previous developer didn\'t have to deal with this as he would just copy the whole source to the production web server.