Confused over sln file in .net

I'm confused about how the solution file in .net is used. When you set up a configuration and point to a solution file, does it always use that file? What if in your project, you update that solution file and add a new solution? How does the teamcity server know about that?

Also, when you first setup a project I'm assuming the steps are these:

1. Checkout complete project to a directory someone on teamcity server
2. create project and point to solution file of project
3. do TeamCity: Run

Is there something I'm issing?

2 comments

In the Build Configuration Steps ( 2 ) you must setup Version Control settings (Subversion TFS or other). After setting up the Version control you will able to enable triggering when files are checked into VCS. This option is available in Build Configuration Steps ( 4 ) - Build triggering.
If you update the solution file and it's checked in into VCS, TeamCity will fire a build with latest versions of all files.

I hope this can help you.

0

Hello,
TeamCity uses solution file in the same way as any other build script.
To create teamcity configuration for you solution you will have to
setup version control settings, and specify the relative path to solution
to the runner.

If some other project was added, you will have to check weather this project
be checked
out by defiled vcs(s). If not, you need to add more vcs roots for that.

To build your solution NAnt (for 2003) or MSBuild(for 2005 and 2008) is
used.

Thanks!
--
Eugene Petrenko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I'm confused about how the solution file in .net is used. When you
set up a configuration and point to a solution file, does it always
use that file? What if in your project, you update that solution file
and add a new solution? How does the teamcity server know about that?

Also, when you first setup a project I'm assuming the steps are these:

1. Checkout complete project to a directory someone on teamcity
server
2. create project and point to solution file of project
3. do TeamCity: Run
Is there something I'm issing?



0

Please sign in to leave a comment.