Flash Gordon

I have a problem with creating a website project on Team Foundation. The problem I am having is, how do I tell source control where to test the actual project

For example, I want to edit the files locally, add them to source control, which adds them to the database as well as puts them back in a website directory for testing. How do I configure this



Re: Visual Studio Team System - Testing Creating a Website Project on Team Foundation

Subodh Sohoni

If you are doing individual development then you can test your project in Visual Studio itself. VS2005 provides a harness to do that.

In case you are in a team doing the development then you will have to check your files in and then checkout the entire set of .aspx files, code behind files etc. on a web server and then do the testing there.






Re: Visual Studio Team System - Testing Creating a Website Project on Team Foundation

Flash Gordon

I am in a team enviroment. What we want to do is:

1) Check the files out locally

2) Edit the files locally

3) Upon Check-in, save the files to the Source Control database, as well as put a copy of the file on a webserver for testing.

Is this possible





Re: Visual Studio Team System - Testing Creating a Website Project on Team Foundation

Subodh Sohoni

You can take any one of these approaches

1. Manual approach: Save the file locally. Copy it from the local folder which maps to your workspace and paste it on the webserver. Check it in after that.

2. Automated Approach: Create a event subscription for checkin event. Through code copy files to webserver. For details on how to create subscription which executes some code, take a look at the doc file http://sohoni.info/documents/Team Foundation Server Eventing Part 1 (Subscribing).doc