csc.csproj 3.0 KB
Newer Older
P
Pilchie 已提交
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- 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 Sdk="Microsoft.NET.Sdk">
J
Jared Parsons 已提交
4
  <Import Project="..\..\..\..\build\Targets\GenerateCompilerExecutableBindingRedirects.targets" />
P
Pilchie 已提交
5
  <PropertyGroup>
6
    <Platform Condition="'$(Platform)' == ''">AnyCPU</Platform>
7
    <PlatformTarget>AnyCPU</PlatformTarget>
P
Pilchie 已提交
8
    <OutputType>Exe</OutputType>
9
    <RootNamespace>Microsoft.CodeAnalysis.CSharp.CommandLine</RootNamespace>
10
    <Prefer32Bit>false</Prefer32Bit>
P
Pilchie 已提交
11
    <LargeAddressAware>true</LargeAddressAware>
12
    <StartupObject>Microsoft.CodeAnalysis.CSharp.CommandLine.Program</StartupObject>
A
Ashley Hauck 已提交
13
    <TargetFrameworks>$(RoslynPortableTargetFrameworks46)</TargetFrameworks>
A
Ashley Hauck 已提交
14
    <RuntimeIdentifiers>$(RoslynPortableRuntimeIdentifiers)</RuntimeIdentifiers>
J
Jared Parsons 已提交
15
    <ServerGarbageCollection>true</ServerGarbageCollection>
P
Pilchie 已提交
16 17
  </PropertyGroup>
  <ItemGroup Label="Project References">
J
Jared Parsons 已提交
18 19
    <ProjectReference Include="..\..\Core\Portable\CodeAnalysis.csproj" />
    <ProjectReference Include="..\Portable\CSharpCodeAnalysis.csproj" />
P
Pilchie 已提交
20
  </ItemGroup>
21 22
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'" />
P
Pilchie 已提交
23
  <ItemGroup>
F
Fredric Silberberg 已提交
24
    <PackageReference Include="Microsoft.DiaSymReader.Native" Version="$(MicrosoftDiaSymReaderNativeVersion)" Condition="'$(DotNetBuildFromSource)' != 'true'" />
K
khyperia 已提交
25
    <PackageReference Include="System.IO.Pipes.AccessControl" Version="$(SystemIOPipesAccessControlVersion)" Condition="'$(TargetFramework)' == 'netcoreapp2.0'" />
P
Pilchie 已提交
26 27
  </ItemGroup>
  <ItemGroup>
J
Jared Parsons 已提交
28 29 30 31 32 33
    <Compile Include="..\..\Shared\BuildClient.cs">
      <Link>BuildClient.cs</Link>
    </Compile>
    <Compile Include="..\..\Shared\BuildServerConnection.cs">
      <Link>BuildServerConnection.cs</Link>
    </Compile>
34 35 36
    <Compile Include="..\..\Shared\CoreClrAnalyzerAssemblyLoader.cs">
      <Link>CoreClrAnalyzerAssemblyLoader.cs</Link>
    </Compile>
J
Jared Parsons 已提交
37 38 39
    <Compile Include="..\..\Shared\DesktopBuildClient.cs">
      <Link>DesktopBuildClient.cs</Link>
    </Compile>
G
gafter 已提交
40 41
    <Compile Include="..\..\Shared\DesktopAnalyzerAssemblyLoader.cs">
      <Link>DesktopAnalyzerAssemblyLoader.cs</Link>
T
Tom Meschter 已提交
42
    </Compile>
43 44 45
    <Compile Include="..\..\Shared\ExitingTraceListener.cs">
      <Link>ExitingTraceListener.cs</Link>
    </Compile>
46 47 48
    <Compile Include="..\..\Shared\Csc.cs">
      <Link>Csc.cs</Link>
    </Compile>
P
Pilchie 已提交
49 50 51
  </ItemGroup>
  <ItemGroup>
    <InternalsVisibleToTest Include="Roslyn.Compilers.CSharp.CommandLine.UnitTests" />
52
    <InternalsVisibleToTest Include="Microsoft.CodeAnalysis.CompilerServer.UnitTests" />
P
Pilchie 已提交
53 54
  </ItemGroup>
  <ItemGroup>
55
    <None Include="App.config" />
56
    <None Include="csc.rsp" Condition="'$(TargetFramework)' == 'net46'">
P
Pilchie 已提交
57 58 59
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
  </ItemGroup>
J
Jared Parsons 已提交
60
  <Import Project="..\..\Core\CommandLine\CommandLine.projitems" Label="Shared" />
61
</Project>