CscCore.csproj 4.0 KB
Newer Older
1 2
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c)  Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information. -->
3
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4 5 6 7 8
  <ImportGroup Label="Settings">
    <Import Project="..\..\..\..\build\Targets\VSL.Settings.targets" />
  </ImportGroup>
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
9
    <Platform Condition=" '$(Platform)' == '' ">x64</Platform>
10 11 12 13 14 15 16 17 18 19 20
    <ProjectGuid>{E3CD2895-76A8-4D11-A316-EA67CB5EA42C}</ProjectGuid>
    <OutputType>Exe</OutputType>
    <RootNamespace>Microsoft.CodeAnalysis.CSharp.CommandLine</RootNamespace>
    <AssemblyName>csc</AssemblyName>
    <Prefer32Bit>false</Prefer32Bit>
    <LargeAddressAware>true</LargeAddressAware>
    <StartupObject>Microsoft.CodeAnalysis.CSharp.CommandLine.Program</StartupObject>
    <SolutionDir Condition="'$(SolutionDir)' == '' OR '$(SolutionDir)' == '*Undefined*'">..\..\..\..\</SolutionDir>
    <OutDir>$(OutDir)core-clr\</OutDir>
    <RestorePackages>true</RestorePackages>
    <AutoGenerateBindingRedirects>True</AutoGenerateBindingRedirects>
21 22 23
    <TargetFrameworkIdentifier>DNXCore</TargetFrameworkIdentifier>
    <TargetFrameworkVersion>v5.0</TargetFrameworkVersion>
    <NoStdLib>true</NoStdLib>
24 25 26 27 28 29 30 31 32 33 34
  </PropertyGroup>
  <ItemGroup Label="Project References">
    <ProjectReference Include="..\..\Core\Portable\CodeAnalysis.csproj">
      <Project>{1EE8CAD3-55F9-4D91-96B2-084641DA9A6C}</Project>
      <Name>CodeAnalysis</Name>
    </ProjectReference>
    <ProjectReference Include="..\Portable\CSharpCodeAnalysis.csproj">
      <Project>{B501A547-C911-4A05-AC6E-274A50DFF30E}</Project>
      <Name>CSharpCodeAnalysis</Name>
    </ProjectReference>
  </ItemGroup>
35
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
36 37 38 39
    <DebugSymbols>true</DebugSymbols>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
    <NoWarn>1591</NoWarn>
40
    <NoStdLib>true</NoStdLib>
41
    <DebugType>full</DebugType>
42
    <PlatformTarget>x64</PlatformTarget>
43
    <ErrorReport>prompt</ErrorReport>
44
  </PropertyGroup>
45
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
46 47 48
    <DefineConstants>TRACE</DefineConstants>
    <Optimize>true</Optimize>
    <NoWarn>1591</NoWarn>
49
    <NoStdLib>true</NoStdLib>
50
    <DebugType>pdbonly</DebugType>
51
    <PlatformTarget>x64</PlatformTarget>
52
    <ErrorReport>prompt</ErrorReport>
53 54
  </PropertyGroup>
  <ItemGroup>
55 56 57 58 59 60 61 62 63 64 65 66
    <Compile Include="..\..\Core\MSBuildTask\BuildClient.cs">
      <Link>BuildClient.cs</Link>
    </Compile>
    <Compile Include="..\..\Core\MSBuildTask\NativeMethods.cs">
      <Link>NativeMethods.cs</Link>
    </Compile>
    <Compile Include="..\..\Core\VBCSCompiler\BuildProtocol.cs">
      <Link>BuildProtocol.cs</Link>
    </Compile>
    <Compile Include="..\..\Core\VBCSCompiler\CompilerServerLogger.cs">
      <Link>CompilerServerLogger.cs</Link>
    </Compile>
67 68 69
    <Compile Include="..\..\Helpers\ConsoleUtil.cs">
      <Link>ConsoleUtil.cs</Link>
    </Compile>
70 71 72
    <Compile Include="..\..\Helpers\NoOpAnalyzerAssemblyLoader.cs">
      <Link>ConsoleUtil.cs</Link>
    </Compile>
73 74 75 76 77 78 79
    <Compile Include="Csc.cs" />
    <Compile Include="Program.cs" />
  </ItemGroup>
  <ItemGroup>
    <InternalsVisibleToTest Include="Roslyn.Compilers.CSharp.CommandLine.UnitTests" />
  </ItemGroup>
  <ItemGroup>
80 81 82
    <None Include="csc.cmd">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
83 84 85 86 87 88 89 90 91 92 93
    <None Include="csc.exe.config">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="csc.rsp">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Include="project.json" />
  </ItemGroup>
  <ImportGroup Label="Targets">
    <Import Project="..\..\..\..\build\Targets\VSL.Imports.targets" />
  </ImportGroup>
94
</Project>