Click here to Skip to main content
15,887,376 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI every one this is krishna

iam new to .net develpoment and msbuild and visual studio.
.
now i have a one requirement.

i want write a build automation for building .net applications.

we are going to use jenkins a ci .

now i have where should i want to write msbuild script..

i need to write script in notepad and i want to add in tfs along with solution file?

where i want to write


What I have tried:

i wrote msbuild script in note pad. i dont know where to place it.
Posted
Updated 5-Mar-16 2:51am
Comments
Richard MacCutchan 5-Mar-16 7:05am    
I would probably place it in the same folder as the solution directory.

1 solution

As Richard MacCutchan[^] mentioned in the comment to the question, you can place it whenever you want. It depends on the menthod you wrote a script.
If you wrote a script as follow:
CSS
rem this script should be placed inside the main directory of solution

set buildtool=%windir%\Microsoft.NET\Framework\v3.5\MSBuild.exe
set solution=theNameOfYourSolution.sln

%buildtool% %solution% /p:Configuration=Debug
%buildtool% %solution% /p:Configuration=Release

you have to place it in the main directory of solution.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900