Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use msbuild community tasks without installing

In our developer environment, no users have administration rights. As such, it's not possible to install MSBuild.CommunityTasks without getting admin to do so.

What I'm wondering is similar to NAnt, i.e. is it possible to include the files in your solution directory, and just reference it from there? This way, will not matter if the person has it installed, when they checkout latest code, the msbuild community files will come with, and solution will build.

\SolutionDir\{solution}.sln
\SolutionDir\Project\{files}
\SolutionDir\MSBuild.Community\files
like image 422
mickyjtwin Avatar asked Apr 23 '10 02:04

mickyjtwin


1 Answers

Yes you can. Just extract the files and place them somewhere and then use MSBUILD IMPORT to pull them in the project file. You'll need to import the targets files.

like image 97
Preet Sangha Avatar answered Sep 28 '22 05:09

Preet Sangha