Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/tools/PersistenceCodeFix/PersistenceCodeFix/PersistenceCodeFix/PersistenceCodeFix.csproj @ 14985

Last change on this file since 14985 was 14985, checked in by jkarder, 7 years ago

#2520: worked on persistence code fix

  • split existing analyzer and code fix
  • added analyzer and code fix for missing storable ctors
File size: 8.3 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="Properties\AssemblyInfo.cs" />
45    <Compile Include="Resources.Designer.cs">
46      <AutoGen>True</AutoGen>
47      <DesignTime>True</DesignTime>
48      <DependentUpon>Resources.resx</DependentUpon>
49    </Compile>
50  </ItemGroup>
51  <ItemGroup>
52    <EmbeddedResource Include="Resources.resx">
53      <Generator>ResXFileCodeGenerator</Generator>
54      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
55    </EmbeddedResource>
56  </ItemGroup>
57  <ItemGroup>
58    <None Include="Diagnostic.nuspec">
59      <SubType>Designer</SubType>
60      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
61    </None>
62    <None Include="packages.config" />
63    <None Include="tools\install.ps1">
64      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
65    </None>
66    <None Include="tools\uninstall.ps1">
67      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
68    </None>
69    <None Include="ReadMe.txt" />
70  </ItemGroup>
71  <ItemGroup>
72    <Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll" />
73    <Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" />
74  </ItemGroup>
75  <ItemGroup>
76    <Reference Include="Microsoft.CodeAnalysis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
77      <HintPath>..\..\packages\Microsoft.CodeAnalysis.Common.1.0.1\lib\portable-net45+win8\Microsoft.CodeAnalysis.dll</HintPath>
78      <Private>False</Private>
79    </Reference>
80    <Reference Include="Microsoft.CodeAnalysis.CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
81      <HintPath>..\..\packages\Microsoft.CodeAnalysis.CSharp.1.0.1\lib\portable-net45+win8\Microsoft.CodeAnalysis.CSharp.dll</HintPath>
82      <Private>False</Private>
83    </Reference>
84    <Reference Include="Microsoft.CodeAnalysis.CSharp.Workspaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
85      <HintPath>..\..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.1\lib\portable-net45+win8\Microsoft.CodeAnalysis.CSharp.Workspaces.dll</HintPath>
86      <Private>False</Private>
87    </Reference>
88    <Reference Include="Microsoft.CodeAnalysis.Workspaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
89      <HintPath>..\..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.1\lib\portable-net45+win8\Microsoft.CodeAnalysis.Workspaces.dll</HintPath>
90      <Private>False</Private>
91    </Reference>
92    <Reference Include="System.Collections.Immutable, Version=1.1.36.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
93      <HintPath>..\..\packages\System.Collections.Immutable.1.1.36\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll</HintPath>
94      <Private>False</Private>
95    </Reference>
96    <Reference Include="System.Composition.AttributedModel, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
97      <HintPath>..\..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.AttributedModel.dll</HintPath>
98      <Private>False</Private>
99    </Reference>
100    <Reference Include="System.Composition.Convention, 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.Convention.dll</HintPath>
102      <Private>False</Private>
103    </Reference>
104    <Reference Include="System.Composition.Hosting, 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.Hosting.dll</HintPath>
106      <Private>False</Private>
107    </Reference>
108    <Reference Include="System.Composition.Runtime, 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.Runtime.dll</HintPath>
110      <Private>False</Private>
111    </Reference>
112    <Reference Include="System.Composition.TypedParts, 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.TypedParts.dll</HintPath>
114      <Private>False</Private>
115    </Reference>
116    <Reference Include="System.Reflection.Metadata, Version=1.0.21.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
117      <HintPath>..\..\packages\System.Reflection.Metadata.1.0.21\lib\portable-net45+win8\System.Reflection.Metadata.dll</HintPath>
118      <Private>False</Private>
119    </Reference>
120  </ItemGroup>
121  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
122  <Target Name="AfterBuild">
123    <GetAssemblyIdentity AssemblyFiles="$(OutDir)\$(AssemblyName).dll">
124      <Output TaskParameter="Assemblies" ItemName="AnalyzerAssemblyInfo" />
125    </GetAssemblyIdentity>
126    <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">
127      <Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" />
128    </Exec>
129  </Target>
130</Project>
Note: See TracBrowser for help on using the repository browser.