Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Project.props « build - github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fcbd918d690da4b89d4b5b8a3c76b39314854f82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<Project>
  <Import Project="Version.props"/>

  <PropertyGroup>
    <BaseOutputPath>$(RepoBinPath)$(RepoSrcRelativeProjectDirectory)</BaseOutputPath>
    <OutputPath>$(BaseOutputPath)$(Configuration)\</OutputPath>

    <BaseIntermediateOutputPath>$(RepoObjPath)$(RepoSrcRelativeProjectDirectory)</BaseIntermediateOutputPath>
    <IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\</IntermediateOutputPath>

    <PackageOutputPath>$(RepoArtifactsPath)nuget\</PackageOutputPath>
  </PropertyGroup>

  <PropertyGroup>
    <TargetFramework>net472</TargetFramework>
    <LangVersion>8.0</LangVersion>
    <DefineConstants Condition="$([MSBuild]::IsOSPlatform('OSX')) == 'true'">__MACOS__;$(DefineConstants)</DefineConstants>
  </PropertyGroup>

  <PropertyGroup>
    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>


    <!-- BEGIN UPSTREAM NOWARNS -->

    <!-- Temporarily disable warnings about malformed XML Doc Comments -->
    <NoWarn>$(NoWarn);1573;1591;1572;1570;</NoWarn>
        <!-- Temporarily disable VS threading warnings until we have time to baseline. -->
    <NoWarn>$(NoWarn);VSTHRD001;VSTHRD002;VSTHRD010;VSTHRD012;VSTHRD100;VSTHRD103;VSTHRD105;VSTHRD106;VSTHRD108;VSTHRD110;VSTHRD200;</NoWarn>
    <!-- Temporarily disable obsolete code warning until we have time to baseline. -->
    <NoWarn>$(NoWarn);0618</NoWarn>

    <!--
    Disable overly pedantic analyzer warnings
    CA1308 - Normalize strings to upper case: Seems to be motivated by security concerns that do not apply to editor.
    CA1001 - Types that own disposable fields should be disposable: Too noisy due to MEF imported disposable types, such as JoinableTaskContext.
    CA1724 - Type names should not conflict with namespaces: Too noisy due to sub-namespaces and classes containing common words like 'Utilities'.
    CA1707 - Identifers should not contain underscores: Too noisy due to lots of CLSID constants containing underscores.
    CA1040 - Avoid empty interfaces: Empty interfaces are used in several places to capture API contracts that cannot be enfored with attributes.
    CA2225 - Operator overloads have named alternates: Needed for compat with non-C# languages, but not a priority for editor extensibility.
    CA1716 - Identifiers should not match keywords: A bunch of already-shipped APIs conflict with VB keywords, but VB interop is not a priority.
    CA1018 - Attributes should specify attribute usage: The analyzer gives false positives for attributes usages that are inherited.
    -->
    <NoWarn>$(NoWarn);CA1308;CA1001;CA1724;CA1707;CA1040;CA2225;CA1716;CA1018</NoWarn>

    <!-- END UPSTREAM NOWARNS -->


    <!-- Disable does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute -->
    <NoWarn>$(NoWarn);3021</NoWarn>
    <NoPackageAnalysis>true</NoPackageAnalysis>
  </PropertyGroup>

  <PropertyGroup>
    <AssemblyVersion>16.0.0.0</AssemblyVersion>
    <PublicSign>true</PublicSign>
    <SignAssembly>true</SignAssembly>
    <DelaySign>false</DelaySign>
    <AssemblyOriginatorKeyFile Condition="'$(AssemblyOriginatorKeyFile)' == ''">$(MSBuildThisFileDirectory)msfinal.snk</AssemblyOriginatorKeyFile>
  </PropertyGroup>

  <PropertyGroup>
    <Company>Microsoft Corporation</Company>
    <Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
    <Product>Microsoft® Visual Studio®</Product>
    <NeutralLanguage>en-US</NeutralLanguage>
    <Authors>Microsoft</Authors>
    <PackageIconUrl>https://aka.ms/VsExtensibilityIcon</PackageIconUrl>

    <Description>Microsoft® Visual Studio® Editor Platform</Description>
    <PackageProjectUrl>https://aka.ms/vsextensibility</PackageProjectUrl>
  </PropertyGroup>

  <ItemGroup>
    <Compile Include="$(MSBuildThisFileDirectory)ThisAssembly.cs" />
    <Compile
      Condition="'$(BuildingInsideVisualStudio)' == 'true' and Exists('$(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension)')"
      Include="$(IntermediateOutputPath)$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension)"
      Visible="false" />
  </ItemGroup>
</Project>