Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save goyalmohit/3d111f6f19f59213e68c1bac96343953 to your computer and use it in GitHub Desktop.

Select an option

Save goyalmohit/3d111f6f19f59213e68c1bac96343953 to your computer and use it in GitHub Desktop.
Defining MSBuild Properties - Project File Samples 04
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{974DF0E9-8535-4E6D-96DD-BF7CCF2B2480}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>ConsoleApp02</RootNamespace>
<AssemblyName>ConsoleApp02</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment