views:

351

answers:

1

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
+2  A: 

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.

Preet Sangha
is this generally an accepted practice?
mickyjtwin
Yeah its good to do this. Just store those files in source control.
Sayed Ibrahim Hashimi
definitely store them in source control. You want to ensure that builds are repeatable.
Preet Sangha