Microsoft.CodeAnalysis.CSharp.Features.csproj 4.0 KB
Newer Older
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">
4
  <PropertyGroup>
5
    <Platform Condition="'$(Platform)' == ''">AnyCPU</Platform>
6
    <PlatformTarget>AnyCPU</PlatformTarget>
7 8
    <OutputType>Library</OutputType>
    <RootNamespace>Microsoft.CodeAnalysis.CSharp</RootNamespace>
T
Tomas Matousek 已提交
9
    <TargetFramework>netstandard2.0</TargetFramework>
T
Tomas Matousek 已提交
10
    <ApplyNgenOptimizationData>true</ApplyNgenOptimizationData>
T
Tomáš Matoušek 已提交
11 12 13 14 15 16 17

    <!-- NuGet -->
    <IsPackable>true</IsPackable>

    <PackageDescription>
      .NET Compiler Platform ("Roslyn") support for creating C# editing experiences.
    </PackageDescription>
18 19
  </PropertyGroup>
  <ItemGroup Label="Project References">
J
Jared Parsons 已提交
20 21 22 23 24
    <ProjectReference Include="..\..\..\Compilers\Core\Portable\Microsoft.CodeAnalysis.csproj" />
    <ProjectReference Include="..\..\..\Compilers\CSharp\Portable\Microsoft.CodeAnalysis.CSharp.csproj" />
    <ProjectReference Include="..\..\..\Workspaces\Core\Portable\Microsoft.CodeAnalysis.Workspaces.csproj" />
    <ProjectReference Include="..\..\..\Workspaces\CSharp\Portable\Microsoft.CodeAnalysis.CSharp.Workspaces.csproj" />
    <ProjectReference Include="..\..\Core\Portable\Microsoft.CodeAnalysis.Features.csproj" />
25
  </ItemGroup>
J
Jared Parsons 已提交
26 27
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'" />
28 29 30
  <ItemGroup>
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.EditorFeatures" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.CSharp" />
31
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.InteractiveEditorFeatures" />
32
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.Remote.Workspaces" />
T
Tomas Matousek 已提交
33 34 35 36 37 38 39 40 41 42 43 44 45
    <InternalsVisibleTo Include="MonoDevelop.CSharpBinding" Key="$(MonoDevelopKey)" />
    <InternalsVisibleTo Include="MonoDevelop.CSharpBinding.Tests" Key="$(MonoDevelopKey)" />
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests" />
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests" />
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.EditorFeatures.UnitTests" />
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.EditorFeatures2.UnitTests" />
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests" />
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.Workspaces.UnitTests" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests" />
    <InternalsVisibleTo Include="Roslyn.Services.Test.Utilities" />
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities" />
    <InternalsVisibleTo Include="Roslyn.VisualStudio.Next.UnitTests" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.Completion.Tests" Key="$(CompletionTestsKey)" />
46 47
  </ItemGroup>
  <ItemGroup>
48
    <Compile Include="..\..\..\Compilers\CSharp\Portable\Syntax\LambdaUtilities.cs">
49
      <Link>InternalUtilities\LambdaUtilities.cs</Link>
50
    </Compile>
51
    <Compile Update="CSharpFeaturesResources.Designer.cs">
52 53 54 55
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>CSharpFeaturesResources.resx</DependentUpon>
    </Compile>
56 57
  </ItemGroup>
  <ItemGroup>
58
    <EmbeddedResource Update="CSharpFeaturesResources.resx">
59 60
      <Generator>ResXFileCodeGenerator</Generator>
      <SubType>Designer</SubType>
61
      <LastGenOutput>CSharpFeaturesResources.Designer.cs</LastGenOutput>
62 63 64
    </EmbeddedResource>
  </ItemGroup>
  <ItemGroup>
J
Jared Parsons 已提交
65 66
    <PublicAPI Include="PublicAPI.Shipped.txt" />
    <PublicAPI Include="PublicAPI.Unshipped.txt" />
67
  </ItemGroup>
68
  <ItemGroup>
T
Tomáš Matoušek 已提交
69
    <PackageReference Include="Humanizer.Core" Version="$(HumanizerCoreVersion)" PrivateAssets="all" />
70
  </ItemGroup>
71
  <Import Project="..\..\..\Compilers\CSharp\CSharpAnalyzerDriver\CSharpAnalyzerDriver.projitems" Label="Shared" />
72
</Project>