Ask a questionAsk a question
 

AnswerSetting environment variables in VS2008 Team

  • Thursday, October 29, 2009 12:05 AMA n t Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi,

    I am installing StyleCop onto our build & it requires two things: i) set enironment variables and ii) reference these varables from within a .csproj file.

    I'd like to know how to do both of these things. I understand you can set the environment variable programmatically but I would prefer to do this from the gui or some other way if possible (config file?).

    Secondly, how do I refrence this from a Project file?

    These are the instructions I copied on how to set up StyleCop:

    basically you set a couple of environment variables up, reference them in all the .csproj files so that you can cater for different working directories for each individual developer, install the StyleCop MSBuild components on the build machine and you're off. No changes to the team build required.

    many thanks for any answers.


    @nt

    • Edited byA n t Thursday, October 29, 2009 12:05 AMchange
    •  

Answers

All Replies