source: misc/tools/PersistenceCodeFix/PersistenceCodeFix/PersistenceCodeFix/PersistenceCodeFix.csproj @ 16475

Last change on this file since 16475 was 16475, checked in by jkarder, 3 years ago

#2520: added analyzer and fix for adapting storable ctor signature

File size: 8.6 KB
Line 
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 ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
5  <PropertyGroup>
6    <MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
7    <Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
8    <Platform Condition="'$(Platform)' == ''">AnyCPU</Platform>
9    <PlatformTarget>AnyCPU</PlatformTarget>
10    <ProjectGuid>{5D74C4E0-52B2-4F01-B024-307EF52BAE35}</ProjectGuid>
11    <OutputType>Library</OutputType>
12    <AppDesignerFolder>Properties</AppDesignerFolder>
13    <RootNamespace>PersistenceCodeFix</RootNamespace>
14    <AssemblyName>PersistenceCodeFix</AssemblyName>
15    <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
16    <TargetFrameworkProfile>Profile7</TargetFrameworkProfile>
17    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
18  </PropertyGroup>
19  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
20    <DebugSymbols>true</DebugSymbols>
21    <DebugType>full</DebugType>
22    <Optimize>false</Optimize>
23    <OutputPath>bin\Debug\</OutputPath>
24    <DefineConstants>DEBUG;TRACE</DefineConstants>
25    <ErrorReport>prompt</ErrorReport>
26    <WarningLevel>4</WarningLevel>
27  </PropertyGroup>
28  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
29    <DebugType>pdbonly</DebugType>
30    <Optimize>true</Optimize>
31    <OutputPath>bin\Release\</OutputPath>
32    <DefineConstants>TRACE</DefineConstants>
33    <ErrorReport>prompt</ErrorReport>
34    <WarningLevel>4</WarningLevel>
35  </PropertyGroup>
36  <ItemGroup>
37    <Compile Include="Analyzers\DiagnosticIds.cs" />
38    <Compile Include="Analyzers\MissingStorableConstructor\MissingStorableConstructorAnalyzer.cs" />
39    <Compile Include="Analyzers\MissingStorableConstructor\MissingStorableConstructorFix.cs" />
40    <Compile Include="Analyzers\ObsoleteStorableClass\ObsoleteStorableClassAnalyzer.cs" />
41    <Compile Include="Analyzers\ObsoleteStorableClass\ObsoleteStorableClassFix.cs" />
42    <Compile Include="Analyzers\MissingStorableType\MissingStorableTypeAnalyzer.cs" />
43    <Compile Include="Analyzers\MissingStorableType\MissingStorableTypeFix.cs" />
44    <Compile Include="Analyzers\ObsoleteStorableConstructor\ObsoleteStorableConstructorAnalyzer.cs" />
45    <Compile Include="Analyzers\ObsoleteStorableConstructor\ObsoleteStorableConstructorFix.cs" />
46    <Compile Include="IDocumentCodeFixProvider.cs" />
47    <Compile Include="Properties\AssemblyInfo.cs" />
48    <Compile Include="Resources.Designer.cs">
49      <AutoGen>True</AutoGen>
50      <DesignTime>True</DesignTime>
51      <DependentUpon>Resources.resx</DependentUpon>
52    </Compile>
53    <Compile Include="SequentialFixAllProvider.cs" />
54  </ItemGroup>
55  <ItemGroup>
56    <EmbeddedResource Include="Resources.resx">
57      <Generator>ResXFileCodeGenerator</Generator>
58      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
59    </EmbeddedResource>
60  </ItemGroup>
61  <ItemGroup>
62    <None Include="Diagnostic.nuspec">
63      <SubType>Designer</SubType>
64      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
65    </None>
66    <None Include="packages.config" />
67    <None Include="tools\install.ps1">
68      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
69    </None>
70    <None Include="tools\uninstall.ps1">
71      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
72    </None>
73    <None Include="ReadMe.txt" />
74  </ItemGroup>
75  <ItemGroup>
76    <Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll" />
77    <Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" />
78  </ItemGroup>
79  <ItemGroup>
80    <Reference Include="Microsoft.CodeAnalysis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
81      <HintPath>..\..\packages\Microsoft.CodeAnalysis.Common.1.0.1\lib\portable-net45+win8\Microsoft.CodeAnalysis.dll</HintPath>
82      <Private>False</Private>
83    </Reference>
84    <Reference Include="Microsoft.CodeAnalysis.CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
85      <HintPath>..\..\packages\Microsoft.CodeAnalysis.CSharp.1.0.1\lib\portable-net45+win8\Microsoft.CodeAnalysis.CSharp.dll</HintPath>
86      <Private>False</Private>
87    </Reference>
88    <Reference Include="Microsoft.CodeAnalysis.CSharp.Workspaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
89      <HintPath>..\..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.1\lib\portable-net45+win8\Microsoft.CodeAnalysis.CSharp.Workspaces.dll</HintPath>
90      <Private>False</Private>
91    </Reference>
92    <Reference Include="Microsoft.CodeAnalysis.Workspaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
93      <HintPath>..\..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.1\lib\portable-net45+win8\Microsoft.CodeAnalysis.Workspaces.dll</HintPath>
94      <Private>False</Private>
95    </Reference>
96    <Reference Include="System.Collections.Immutable, Version=1.1.36.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
97      <HintPath>..\..\packages\System.Collections.Immutable.1.1.36\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll</HintPath>
98      <Private>False</Private>
99    </Reference>
100    <Reference Include="System.Composition.AttributedModel, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
101      <HintPath>..\..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.AttributedModel.dll</HintPath>
102      <Private>False</Private>
103    </Reference>
104    <Reference Include="System.Composition.Convention, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
105      <HintPath>..\..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Convention.dll</HintPath>
106      <Private>False</Private>
107    </Reference>
108    <Reference Include="System.Composition.Hosting, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
109      <HintPath>..\..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Hosting.dll</HintPath>
110      <Private>False</Private>
111    </Reference>
112    <Reference Include="System.Composition.Runtime, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
113      <HintPath>..\..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Runtime.dll</HintPath>
114      <Private>False</Private>
115    </Reference>
116    <Reference Include="System.Composition.TypedParts, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
117      <HintPath>..\..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.TypedParts.dll</HintPath>
118      <Private>False</Private>
119    </Reference>
120    <Reference Include="System.Reflection.Metadata, Version=1.0.21.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
121      <HintPath>..\..\packages\System.Reflection.Metadata.1.0.21\lib\portable-net45+win8\System.Reflection.Metadata.dll</HintPath>
122      <Private>False</Private>
123    </Reference>
124  </ItemGroup>
125  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
126  <Target Name="AfterBuild">
127    <GetAssemblyIdentity AssemblyFiles="$(OutDir)\$(AssemblyName).dll">
128      <Output TaskParameter="Assemblies" ItemName="AnalyzerAssemblyInfo" />
129    </GetAssemblyIdentity>
130    <Exec Command="&quot;$(SolutionDir)packages\NuGet.CommandLine.2.8.5\tools\NuGet.exe&quot; pack Diagnostic.nuspec -NoPackageAnalysis -Version %(AnalyzerAssemblyInfo.Version) -OutputDirectory ." WorkingDirectory="$(OutDir)" LogStandardErrorAsError="true" ConsoleToMSBuild="true">
131      <Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" />
132    </Exec>
133  </Target>
134</Project>
Note: See TracBrowser for help on using the repository browser.