1
votes

I have a solution with multiple C# projects linked to a Website (File => New => Web Site). I can use the continuous integration for all the C# project for now.

I would like to try the website from a different solution just for testing:

  • I would like to know if the modification of an aspx or aspx.cs file will rebuild all the solution/project or just push the file which was modified on Azure.

enter image description here

It seams that the website will be rebuild, or will try to rebuild. Here is my website test solution enter image description here

and my Build Definition file : enter image description here

So my question is, is it possible to integrate a website to a continuous integration system ? (TFS 2012)

If it's possible, What did I miss on the basic configuration ?(I didn't need any specific configuration for a WebApp project or a C# project)

I might need to build some files on the website (App_Code folder), But I would keep the possibility to deploy only the modified files (aspx, aspx.cs) without rebuild all the website and push everything on the server.

Let me know if you need any further information

1
I know this isn't an answer (hence the comment), but WebSite projects really don't play well with CI or automated deployment tooling. Use Web Application projects in all possible circumstances. - Dylan Smith

1 Answers

1
votes

There is an article here Continuous Deployment di Asp.Net web sites con TFS Build. It is in italian, but I think you may get the core using Bing/Google translator.