1- <Project ToolsVersion =" 12.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
2- <PropertyGroup >
3- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
4- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
5- <ProjectGuid >{29BDC663-4524-4258-8621-980288CC6E9F}</ProjectGuid >
6- <OutputType >Library</OutputType >
7- <NoStandardLibraries >false</NoStandardLibraries >
8- <AssemblyName >ClassLibrary</AssemblyName >
9- <TargetFrameworkVersion >v4.6.1</TargetFrameworkVersion >
10- <FileAlignment >512</FileAlignment >
11- <TargetFrameworkProfile />
12- </PropertyGroup >
13- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
14- <DebugSymbols >true</DebugSymbols >
15- <DebugType >full</DebugType >
16- <Optimize >false</Optimize >
17- <OutputPath >bin\Debug\</OutputPath >
18- <DefineConstants >DEBUG;TRACE</DefineConstants >
19- <ErrorReport >prompt</ErrorReport >
20- <WarningLevel >4</WarningLevel >
21- <Prefer32Bit >false</Prefer32Bit >
22- <LangVersion >7.2</LangVersion >
23- <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
24- <CodeAnalysisRuleSet >CSharpSamples.ruleset</CodeAnalysisRuleSet >
25- </PropertyGroup >
26- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
27- <DebugType >pdbonly</DebugType >
28- <Optimize >true</Optimize >
29- <OutputPath >bin\Release\</OutputPath >
30- <DefineConstants >TRACE</DefineConstants >
31- <ErrorReport >prompt</ErrorReport >
32- <WarningLevel >4</WarningLevel >
33- <Prefer32Bit >false</Prefer32Bit >
34- <CodeAnalysisRuleSet >CSharpSamples.ruleset</CodeAnalysisRuleSet >
35- </PropertyGroup >
36- <PropertyGroup >
37- <RootNamespace >EditorConfigCSharpSamples</RootNamespace >
38- </PropertyGroup >
39- <ItemGroup >
40- <Reference Include =" Microsoft.CSharp" />
41- <Reference Include =" System" />
42- <Reference Include =" System.Core" />
43- <Reference Include =" System.Data" />
44- <Reference Include =" System.Data.DataSetExtensions" />
45- <Reference Include =" System.Xml" />
46- <Reference Include =" System.Xml.Linq" />
47- </ItemGroup >
48- <ItemGroup >
49- <None Include =" CSharpSamples.ruleset" />
50- <None Include =" packages.config" />
51- <AdditionalFiles Include =" stylecop.json" />
52- </ItemGroup >
53- <ItemGroup >
54- <Analyzer Include =" packages\StyleCop.Analyzers.1.0.2\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" />
55- <Analyzer Include =" packages\StyleCop.Analyzers.1.0.2\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
56- </ItemGroup >
57- <ItemGroup >
58- <Compile Include =" FieldExamples.cs" />
59- </ItemGroup >
60- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSHARP.Targets" />
61- <ProjectExtensions >
62- <VisualStudio AllowExistingFolder =" true" />
63- </ProjectExtensions >
64- </Project >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
2+
3+ <PropertyGroup Label =" Build" >
4+ <TargetFramework >netstandard2.0</TargetFramework >
5+ <LangVersion >latest</LangVersion >
6+ </PropertyGroup >
7+
8+ <ItemGroup Label =" Package References" >
9+ <PackageReference Include =" StyleCop.Analyzers" PrivateAssets =" All" Version =" 1.1.118" />
10+ </ItemGroup >
11+
12+ </Project >
0 commit comments