Tomasi
Tomasi

Reputation: 2509

Auto compile sub project of a website solution

Is to possible to make a configuration entry (web.config). That automatically compiles a referenced project(for example a class library) when the site runs? This would be easier for me to maintain on my hosting server. Otherwise i have to always recompile the files and upload them again for every small change.

So is this possible?

Upvotes: 0

Views: 222

Answers (2)

Pseudyx
Pseudyx

Reputation: 81

The App_Code folder within a .Net web project compiles at runtime... you can put cs files in there and modify them directly on the web server if you need. Then to adopt the change made in most cases you only need to recycle the application pool.

see this explanation on msdn:

http://msdn.microsoft.com/en-us/library/t990ks23(v=vs.80).aspx

Upvotes: 3

Tomasi
Tomasi

Reputation: 2509

Is not possible.

Upvotes: 0

Related Questions