Skip to content
This repository was archived by the owner on Nov 8, 2018. It is now read-only.

Commit 7fee02b

Browse files
committed
Merge pull request #38 from sharwell/general-updates
General updates
2 parents ec4fdf5 + e791338 commit 7fee02b

File tree

59 files changed

+3655
-693
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+3655
-693
lines changed

.nuget/packages.config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="NuGet.CommandLine" version="2.8.3" />
4+
<package id="OpenCover" version="4.6.247-rc" />
5+
</packages>

AsyncUsageAnalyzers.sln

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 14
4-
VisualStudioVersion = 14.0.22823.1
4+
VisualStudioVersion = 14.0.24720.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AsyncUsageAnalyzers", "AsyncUsageAnalyzers\AsyncUsageAnalyzers\AsyncUsageAnalyzers.csproj", "{4E32037D-3EE0-419A-BC68-7D28FCD453A0}"
77
EndProject
@@ -26,6 +26,16 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{11D3EB88
2626
build\version.ps1 = build\version.ps1
2727
EndProjectSection
2828
EndProject
29+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AsyncUsageAnalyzers.CodeFixes", "AsyncUsageAnalyzers\AsyncUsageAnalyzers.CodeFixes\AsyncUsageAnalyzers.CodeFixes.csproj", "{BA0CD420-1E79-4FBC-B023-09C03BCDFFAC}"
30+
EndProject
31+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "documentation", "documentation", "{9E388950-B857-4C92-9429-676FE26BF115}"
32+
ProjectSection(SolutionItems) = preProject
33+
documentation\AvoidAsyncSuffix.md = documentation\AvoidAsyncSuffix.md
34+
documentation\AvoidAsyncVoid.md = documentation\AvoidAsyncVoid.md
35+
documentation\UseAsyncSuffix.md = documentation\UseAsyncSuffix.md
36+
documentation\UseConfigureAwait.md = documentation\UseConfigureAwait.md
37+
EndProjectSection
38+
EndProject
2939
Global
3040
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3141
Debug|Any CPU = Debug|Any CPU
@@ -44,6 +54,10 @@ Global
4454
{8ABF883C-450A-4D0E-8D50-BF8A07C82C1B}.Debug|Any CPU.Build.0 = Debug|Any CPU
4555
{8ABF883C-450A-4D0E-8D50-BF8A07C82C1B}.Release|Any CPU.ActiveCfg = Release|Any CPU
4656
{8ABF883C-450A-4D0E-8D50-BF8A07C82C1B}.Release|Any CPU.Build.0 = Release|Any CPU
57+
{BA0CD420-1E79-4FBC-B023-09C03BCDFFAC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
58+
{BA0CD420-1E79-4FBC-B023-09C03BCDFFAC}.Debug|Any CPU.Build.0 = Debug|Any CPU
59+
{BA0CD420-1E79-4FBC-B023-09C03BCDFFAC}.Release|Any CPU.ActiveCfg = Release|Any CPU
60+
{BA0CD420-1E79-4FBC-B023-09C03BCDFFAC}.Release|Any CPU.Build.0 = Release|Any CPU
4761
EndGlobalSection
4862
GlobalSection(SolutionProperties) = preSolution
4963
HideSolutionNode = FALSE
Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="..\..\packages\Tvl.NuGet.BuildTasks.1.0.0-alpha002\build\Tvl.NuGet.BuildTasks.props" Condition="Exists('..\..\packages\Tvl.NuGet.BuildTasks.1.0.0-alpha002\build\Tvl.NuGet.BuildTasks.props')" />
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+
<ProjectGuid>{BA0CD420-1E79-4FBC-B023-09C03BCDFFAC}</ProjectGuid>
10+
<OutputType>Library</OutputType>
11+
<AppDesignerFolder>Properties</AppDesignerFolder>
12+
<RootNamespace>AsyncUsageAnalyzers</RootNamespace>
13+
<AssemblyName>AsyncUsageAnalyzers.CodeFixes</AssemblyName>
14+
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
15+
<TargetFrameworkProfile>Profile7</TargetFrameworkProfile>
16+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
17+
</PropertyGroup>
18+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19+
<DebugSymbols>true</DebugSymbols>
20+
<DebugType>full</DebugType>
21+
<Optimize>false</Optimize>
22+
<OutputPath>bin\Debug\</OutputPath>
23+
<DefineConstants>DEBUG;TRACE</DefineConstants>
24+
<ErrorReport>prompt</ErrorReport>
25+
<WarningLevel>4</WarningLevel>
26+
</PropertyGroup>
27+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28+
<DebugType>pdbonly</DebugType>
29+
<Optimize>true</Optimize>
30+
<OutputPath>bin\Release\</OutputPath>
31+
<DefineConstants>TRACE</DefineConstants>
32+
<ErrorReport>prompt</ErrorReport>
33+
<WarningLevel>4</WarningLevel>
34+
</PropertyGroup>
35+
<PropertyGroup>
36+
<DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile>
37+
<CodeAnalysisRuleSet>..\AsyncUsageAnalyzers.ruleset</CodeAnalysisRuleSet>
38+
</PropertyGroup>
39+
<PropertyGroup>
40+
<SignAssembly>true</SignAssembly>
41+
</PropertyGroup>
42+
<PropertyGroup>
43+
<AssemblyOriginatorKeyFile Condition="'$(KeyConfiguration)' == 'Final'">..\..\build\keys\AsyncUsageAnalyzers.snk</AssemblyOriginatorKeyFile>
44+
<AssemblyOriginatorKeyFile Condition="'$(KeyConfiguration)' != 'Final'">..\..\build\keys\AsyncUsageAnalyzers.dev.snk</AssemblyOriginatorKeyFile>
45+
</PropertyGroup>
46+
<ItemGroup>
47+
<Compile Include="Helpers\CustomBatchFixAllProvider.cs" />
48+
<Compile Include="Helpers\CustomFixAllProviders.cs" />
49+
<Compile Include="Helpers\FixAllContextHelper.cs" />
50+
<Compile Include="Helpers\RenameHelper.cs" />
51+
<Compile Include="Naming\AvoidAsyncSuffixCodeFixProvider.cs" />
52+
<Compile Include="Naming\UseAsyncSuffixCodeFixProvider.cs" />
53+
<Compile Include="Properties\AssemblyInfo.cs" />
54+
<Compile Include="Usage\UseConfigureAwaitCodeFixProvider.cs" />
55+
</ItemGroup>
56+
<ItemGroup>
57+
<None Include="..\..\build\keys\AsyncUsageAnalyzers.dev.snk">
58+
<Link>AsyncUsageAnalyzers.dev.snk</Link>
59+
</None>
60+
<None Include="..\..\build\keys\AsyncUsageAnalyzers.snk">
61+
<Link>AsyncUsageAnalyzers.snk</Link>
62+
</None>
63+
<NuGetManifest Include="AsyncUsageAnalyzers.nuspec">
64+
<SubType>Designer</SubType>
65+
<Symbols>True</Symbols>
66+
<PackageAnalysis>False</PackageAnalysis>
67+
</NuGetManifest>
68+
<None Include="packages.config" />
69+
<None Include="tools\install.ps1">
70+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
71+
</None>
72+
<None Include="tools\uninstall.ps1">
73+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
74+
</None>
75+
<None Include="ReadMe.txt" />
76+
</ItemGroup>
77+
<ItemGroup>
78+
<AdditionalFiles Include="..\stylecop.json">
79+
<Link>stylecop.json</Link>
80+
</AdditionalFiles>
81+
</ItemGroup>
82+
<ItemGroup>
83+
<Reference Include="Microsoft.CodeAnalysis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
84+
<HintPath>..\..\packages\Microsoft.CodeAnalysis.Common.1.0.0\lib\portable-net45+win8\Microsoft.CodeAnalysis.dll</HintPath>
85+
<Private>True</Private>
86+
</Reference>
87+
<Reference Include="Microsoft.CodeAnalysis.CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
88+
<HintPath>..\..\packages\Microsoft.CodeAnalysis.CSharp.1.0.0\lib\portable-net45+win8\Microsoft.CodeAnalysis.CSharp.dll</HintPath>
89+
<Private>True</Private>
90+
</Reference>
91+
<Reference Include="Microsoft.CodeAnalysis.CSharp.Workspaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
92+
<HintPath>..\..\packages\Microsoft.CodeAnalysis.CSharp.Workspaces.1.0.0\lib\portable-net45+win8\Microsoft.CodeAnalysis.CSharp.Workspaces.dll</HintPath>
93+
<Private>True</Private>
94+
</Reference>
95+
<Reference Include="Microsoft.CodeAnalysis.Workspaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
96+
<HintPath>..\..\packages\Microsoft.CodeAnalysis.Workspaces.Common.1.0.0\lib\portable-net45+win8\Microsoft.CodeAnalysis.Workspaces.dll</HintPath>
97+
<Private>True</Private>
98+
</Reference>
99+
<Reference Include="System.Collections.Immutable, Version=1.1.36.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
100+
<HintPath>..\..\packages\System.Collections.Immutable.1.1.36\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll</HintPath>
101+
<Private>True</Private>
102+
</Reference>
103+
<Reference Include="System.Composition.AttributedModel, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
104+
<HintPath>..\..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.AttributedModel.dll</HintPath>
105+
<Private>False</Private>
106+
</Reference>
107+
<Reference Include="System.Composition.Convention, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
108+
<HintPath>..\..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Convention.dll</HintPath>
109+
<Private>False</Private>
110+
</Reference>
111+
<Reference Include="System.Composition.Hosting, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
112+
<HintPath>..\..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Hosting.dll</HintPath>
113+
<Private>False</Private>
114+
</Reference>
115+
<Reference Include="System.Composition.Runtime, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
116+
<HintPath>..\..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Runtime.dll</HintPath>
117+
<Private>False</Private>
118+
</Reference>
119+
<Reference Include="System.Composition.TypedParts, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
120+
<HintPath>..\..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.TypedParts.dll</HintPath>
121+
<Private>False</Private>
122+
</Reference>
123+
<Reference Include="System.Reflection.Metadata, Version=1.0.21.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
124+
<HintPath>..\..\packages\System.Reflection.Metadata.1.0.21\lib\portable-net45+win8\System.Reflection.Metadata.dll</HintPath>
125+
<Private>True</Private>
126+
</Reference>
127+
</ItemGroup>
128+
<ItemGroup>
129+
<Analyzer Include="..\..\packages\AsyncUsageAnalyzers.1.0.0-alpha003\analyzers\dotnet\AsyncUsageAnalyzers.dll" />
130+
<Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.0.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll" />
131+
<Analyzer Include="..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.0.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" />
132+
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-rc3\analyzers\dotnet\cs\Newtonsoft.Json.dll" />
133+
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-rc3\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" />
134+
<Analyzer Include="..\..\packages\StyleCop.Analyzers.1.0.0-rc3\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
135+
</ItemGroup>
136+
<ItemGroup>
137+
<ProjectReference Include="..\AsyncUsageAnalyzers\AsyncUsageAnalyzers.csproj">
138+
<Project>{4e32037d-3ee0-419a-bc68-7d28fcd453a0}</Project>
139+
<Name>AsyncUsageAnalyzers</Name>
140+
</ProjectReference>
141+
</ItemGroup>
142+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\v4.5\Microsoft.Portable.CSharp.targets" />
143+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
144+
<PropertyGroup>
145+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
146+
</PropertyGroup>
147+
<Error Condition="!Exists('..\..\packages\Tvl.NuGet.BuildTasks.1.0.0-alpha002\build\Tvl.NuGet.BuildTasks.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Tvl.NuGet.BuildTasks.1.0.0-alpha002\build\Tvl.NuGet.BuildTasks.props'))" />
148+
<Error Condition="!Exists('..\..\packages\Tvl.NuGet.BuildTasks.1.0.0-alpha002\build\Tvl.NuGet.BuildTasks.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Tvl.NuGet.BuildTasks.1.0.0-alpha002\build\Tvl.NuGet.BuildTasks.targets'))" />
149+
</Target>
150+
<Import Project="..\..\packages\Tvl.NuGet.BuildTasks.1.0.0-alpha002\build\Tvl.NuGet.BuildTasks.targets" Condition="Exists('..\..\packages\Tvl.NuGet.BuildTasks.1.0.0-alpha002\build\Tvl.NuGet.BuildTasks.targets')" />
151+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
152+
Other similar extension points exist, see Microsoft.Common.targets.
153+
<Target Name="BeforeBuild">
154+
</Target>
155+
<Target Name="AfterBuild">
156+
</Target>
157+
-->
158+
</Project>

AsyncUsageAnalyzers/AsyncUsageAnalyzers/AsyncUsageAnalyzers.nuspec renamed to AsyncUsageAnalyzers/AsyncUsageAnalyzers.CodeFixes/AsyncUsageAnalyzers.nuspec

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,18 @@
1818
<files>
1919

2020
<!-- Binaries and symbols -->
21-
<file src="bin\$Configuration$\AsyncUsageAnalyzers.dll" target="analyzers\dotnet\" />
22-
<file src="bin\$Configuration$\AsyncUsageAnalyzers.pdb" target="analyzers\dotnet\" />
21+
<file src="bin\$Configuration$\AsyncUsageAnalyzers.dll" target="analyzers\dotnet\cs" />
22+
<file src="bin\$Configuration$\AsyncUsageAnalyzers.pdb" target="analyzers\dotnet\cs" />
23+
<file src="bin\$Configuration$\AsyncUsageAnalyzers.CodeFixes.dll" target="analyzers\dotnet\cs" />
24+
<file src="bin\$Configuration$\AsyncUsageAnalyzers.CodeFixes.pdb" target="analyzers\dotnet\cs" />
2325

2426
<!-- Scripts -->
2527
<file src="tools\install.ps1" target="tools\" />
2628
<file src="tools\uninstall.ps1" target="tools\" />
2729

2830
<!-- Source code -->
29-
<file src="**\*.cs" exclude="obj\**\*.cs" target="src"/>
31+
<file src="..\AsyncUsageAnalyzers\**\*.cs" exclude="..\AsyncUsageAnalyzers\obj\**\*.cs" target="src"/>
32+
<file src="**\*.cs" exclude="obj\**\*.cs;Properties\AssemblyInfo.cs" target="src"/>
3033

3134
</files>
3235
</package>

0 commit comments

Comments
 (0)