Click here to Skip to main content
15,901,861 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I can able to Get the latest code from PVCS using Windows powershell in windows application using C#. Now the thing is i need to build that retrieved project automatically through C# .net code.Can any one give me the solution for this. Thanks in advance.
Posted

What do you mean automate? You always should provide the build without Visual Studio. Fortunately, MSBuild does it all. You can build a separate project or a solution; you can also create a custom project file which can build nearly anything: a set of solutions, use custom build step, 3rd-party compilers and any other tools.

Please see:
http://msdn.microsoft.com/en-us/library/vstudio/ms164311.aspx[^].

Basically, this is all you need to do the build of existing projects or solutions. You don't need Visual Studio installation on the build computer: everything comes with (redistributable) .NET Framework installation.

And this is all the information on API and everything you may possibly need:
http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx[^].

Happy New Year!

—SA
 
Share this answer
 
the functionality is built into team system

or you could use cruisecontrol/
 
Share this answer
 
Comments
Member 11477469 13-Apr-15 1:40am    
Hello,

Could you please provide me with the code to get the latest files from PVCS based on the version/label and to automate the build process in vb.net.

Its veryyy urgent

Thank you...
Hello,

Could you please provide me with the code to get the latest files from PVCS based on the version/label and to automate the build process in vb.net.

Its veryyy urgent

Thank you...
 
Share this answer
 

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