Skip to content

Instantly share code, notes, and snippets.

@guardrex
Last active June 22, 2016 06:46
Show Gist options
  • Save guardrex/1b4ee7d29e870ce182d587144aa33768 to your computer and use it in GitHub Desktop.
Save guardrex/1b4ee7d29e870ce182d587144aa33768 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <!-- Here is an XML inline comment -->
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  <!--
      Here is a
      multiline
      XML comment
  -->
  <PropertyGroup>
    <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x64</Platform>
    <ProjectGuid>{5E37EDEB-4E0A-4599-815E-7D0DEE966FCD}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>coreApp</RootNamespace>
    <AssemblyName>coreApp</AssemblyName>
    <DefaultLanguage>en-US</DefaultLanguage>
    <FileAlignment>512</FileAlignment>
    <TargetFrameworkIdentifier>.NETCoreApp</TargetFrameworkIdentifier>
    <TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
    <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
    <NuGetTargetMoniker>.NETCoreApp,Version=v1.0</NuGetTargetMoniker>
    <BaseNuGetRuntimeIdentifier>win7</BaseNuGetRuntimeIdentifier>
    <HostExe>dotnet</HostExe>
    <HostExtension>.exe</HostExtension>
    <NoStdLib>true</NoStdLib>
    <NoWarn>$(NoWarn);1701</NoWarn>
    <UseVSHostingProcess>false</UseVSHostingProcess>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
    <DebugSymbols>true</DebugSymbols>
    <OutputPath>bin\x64.Debug.Win</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <DebugType>full</DebugType>
    <PlatformTarget>x64</PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
    <OutputPath>bin\x64.Release.Win</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <Optimize>true</Optimize>
    <NoStdLib>true</NoStdLib>
    <DebugType>pdbonly</DebugType>
    <PlatformTarget>x64</PlatformTarget>
  </PropertyGroup>
  <ItemGroup>
    <None Include="project.json" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="Program.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\NetCoreLibrary\NetCoreLibrary.csproj">
      <Project>{e5ed1d08-3ae9-4c05-8ca4-9e2981a0f9cf}</Project>
      <Name>NetCoreLibrary</Name>
    </ProjectReference>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.Targets" />
  <PropertyGroup>
    <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)</_TargetFrameworkDirectories>
    <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>
    <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>
    <AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
    <StartAction>Program</StartAction>
    <StartProgram>$(TargetDir)dotnet.exe</StartProgram>
    <StartArguments>$(TargetPath)</StartArguments>
    <DebugEngines>{2E36F1D4-B23C-435D-AB41-18E608940038}</DebugEngines>
  </PropertyGroup>
</Project>
{
  "Project": {
    "-xmlns": "http://schemas.microsoft.com/developer/msbuild/2003",
    "-ToolsVersion": "14.0",
    "-DefaultTargets": "Build",
    // Here is a JSON5 inline comment
    "Import": [
      {
        "-Project": "$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props",
        "-Condition": "Exists('$(MSBuildExtensionsPath)\\$(MSBuildToolsVersion)\\Microsoft.Common.props')"
      },
      { "-Project": "$(MSBuildToolsPath)\\Microsoft.CSharp.Targets" }
    ],
    /*
      Here is a
      multiline
      JSON5 comment
    */
    "PropertyGroup": [
      {
        "MinimumVisualStudioVersion": "14.0",
        "Configuration": {
          "-Condition": " '$(Configuration)' == '' ",
          "#text": "Debug"
        },
        "Platform": {
          "-Condition": " '$(Platform)' == '' ",
          "#text": "x64"
        },
        "ProjectGuid": "{5E37EDEB-4E0A-4599-815E-7D0DEE966FCD}",
        "OutputType": "Exe",
        "AppDesignerFolder": "Properties",
        "RootNamespace": "coreApp",
        "AssemblyName": "coreApp",
        "DefaultLanguage": "en-US",
        "FileAlignment": "512",
        "TargetFrameworkIdentifier": ".NETCoreApp",
        "TargetFrameworkVersion": "v1.0",
        "AddAdditionalExplicitAssemblyReferences": "false",
        "NuGetTargetMoniker": ".NETCoreApp,Version=v1.0",
        "BaseNuGetRuntimeIdentifier": "win7",
        "HostExe": "dotnet",
        "HostExtension": ".exe",
        "NoStdLib": "true",
        "NoWarn": "$(NoWarn);1701",
        "UseVSHostingProcess": "false"
      },
      {
        "-Condition": "'$(Configuration)|$(Platform)' == 'Debug|x64'",
        "DebugSymbols": "true",
        "OutputPath": "bin\\x64.Debug.Win",
        "DefineConstants": "DEBUG;TRACE",
        "DebugType": "full",
        "PlatformTarget": "x64"
      },
      {
        "-Condition": "'$(Configuration)|$(Platform)' == 'Release|x64'",
        "OutputPath": "bin\\x64.Release.Win",
        "DefineConstants": "TRACE",
        "Optimize": "true",
        "NoStdLib": "true",
        "DebugType": "pdbonly",
        "PlatformTarget": "x64"
      },
      {
        "_TargetFrameworkDirectories": "$(MSBuildThisFileDirectory)",
        "_FullFrameworkReferenceAssemblyPaths": "$(MSBuildThisFileDirectory)",
        "AutoUnifyAssemblyReferences": "true",
        "AutoGenerateBindingRedirects": "false",
        "StartAction": "Program",
        "StartProgram": "$(TargetDir)dotnet.exe",
        "StartArguments": "$(TargetPath)",
        "DebugEngines": "{2E36F1D4-B23C-435D-AB41-18E608940038}"
      }
    ],
    "ItemGroup": [
      {
        "None": { "-Include": "project.json" }
      },
      {
        "Compile": [
          { "-Include": "Program.cs" },
          { "-Include": "Properties\\AssemblyInfo.cs" }
        ]
      },
      {
        "ProjectReference": {
          "-Include": "..\\NetCoreLibrary\\NetCoreLibrary.csproj",
          "Project": "{e5ed1d08-3ae9-4c05-8ca4-9e2981a0f9cf}",
          "Name": "NetCoreLibrary"
        }
      }
    ]
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment