buildprovider

Why can BuildProvider be used only with ASP.NET website projects?

I was going to try Subsonic, you can generate DAL with buildProvider element in an ASP.NET website project. But I get curious why Web applications or windows applications do not support BuildProvider. PS: I know for Subsonic there is one other option to use it with other than BuildProvider, but I just get curious. ...

Alternatives to Using BuildProviders with Web Applications

I've read that you cannot use a BuildProvider with Web Applications in Visual Studio (or more specifically, you can use it, but your code isn't part of the project) Are there any other ways to generate code on the fly using a Web Application project? With or without using third-party tools? ...

How to test a BuildProvider

I have created a simple BuildProvider as a starting point, and althogh I get no errors, I don't have access to the generated class either. In fact, i don't know if my BuildProvider was even invoked. Is there a way to debug a BuildProvider? How do I know if there is a problem with my CodeDom or if it's something else? Thanks! ...

Build Providers in .net 2.0

Hi All! How can I determine the actual filename (App_Code_xxx.dll) of the types (classes) which is being built by my build provider. For instance I have a build provider which injects classes based on some configuration. Say MyNameSpace.MyClass. When this build provider is consumed by the Web App. I just want to know the actual file(.d...

Load Web.Config as embedded resource inside a DLL in ASP.NET MVC

Following on from my earlier question around loading views from DLLs under ASP.NET MVC, I've come across the issue of having Views and Controls be strongly typed. An exception is thrown indicating that the type cannot be resolved. I found this article which describes implementing a web.config section which allows that strongly typed vi...