Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goyalmohit/cac6c180c7efe3d90829f431c0005e90 to your computer and use it in GitHub Desktop.
Save goyalmohit/cac6c180c7efe3d90829f431c0005e90 to your computer and use it in GitHub Desktop.
Defining MSBuild Properties - Project File Samples 05
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<BuildDir>C:\Source\Repo\MyRepo\Bin</BuildDir>
<Optimize>false</Optimize>
</PropertyGroup>
<Target Name = "Compile">
<!-- Log the file name of the output file directory -->
<Message Text="The output file directory is $(BuildDir)"/>
</Target>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment