-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc76cc6
commit b169b7e
Showing
4 changed files
with
267 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,170 @@ | ||
# NOTE: Requires **VS2019 16.3** or later | ||
|
||
# Rules for JustMyCodeToggle | ||
# Description: Code analysis rules for JustMyCodeToggle. | ||
|
||
# Code files | ||
[*.{cs,vb}] | ||
|
||
|
||
dotnet_diagnostic.CA1001.severity = warning | ||
|
||
dotnet_diagnostic.CA1009.severity = warning | ||
|
||
dotnet_diagnostic.CA1016.severity = warning | ||
|
||
dotnet_diagnostic.CA1033.severity = warning | ||
|
||
dotnet_diagnostic.CA1049.severity = warning | ||
|
||
dotnet_diagnostic.CA1060.severity = warning | ||
|
||
dotnet_diagnostic.CA1061.severity = warning | ||
|
||
dotnet_diagnostic.CA1063.severity = warning | ||
|
||
dotnet_diagnostic.CA1065.severity = warning | ||
|
||
dotnet_diagnostic.CA1301.severity = warning | ||
|
||
dotnet_diagnostic.CA1400.severity = warning | ||
|
||
dotnet_diagnostic.CA1401.severity = warning | ||
|
||
dotnet_diagnostic.CA1403.severity = warning | ||
|
||
dotnet_diagnostic.CA1404.severity = warning | ||
|
||
dotnet_diagnostic.CA1405.severity = warning | ||
|
||
dotnet_diagnostic.CA1410.severity = warning | ||
|
||
dotnet_diagnostic.CA1415.severity = warning | ||
|
||
dotnet_diagnostic.CA1821.severity = warning | ||
|
||
dotnet_diagnostic.CA1900.severity = warning | ||
|
||
dotnet_diagnostic.CA1901.severity = warning | ||
|
||
dotnet_diagnostic.CA2002.severity = warning | ||
|
||
dotnet_diagnostic.CA2100.severity = warning | ||
|
||
dotnet_diagnostic.CA2101.severity = warning | ||
|
||
dotnet_diagnostic.CA2108.severity = warning | ||
|
||
dotnet_diagnostic.CA2111.severity = warning | ||
|
||
dotnet_diagnostic.CA2112.severity = warning | ||
|
||
dotnet_diagnostic.CA2114.severity = warning | ||
|
||
dotnet_diagnostic.CA2116.severity = warning | ||
|
||
dotnet_diagnostic.CA2117.severity = warning | ||
|
||
dotnet_diagnostic.CA2122.severity = warning | ||
|
||
dotnet_diagnostic.CA2123.severity = warning | ||
|
||
dotnet_diagnostic.CA2124.severity = warning | ||
|
||
dotnet_diagnostic.CA2126.severity = warning | ||
|
||
dotnet_diagnostic.CA2131.severity = warning | ||
|
||
dotnet_diagnostic.CA2132.severity = warning | ||
|
||
dotnet_diagnostic.CA2133.severity = warning | ||
|
||
dotnet_diagnostic.CA2134.severity = warning | ||
|
||
dotnet_diagnostic.CA2137.severity = warning | ||
|
||
dotnet_diagnostic.CA2138.severity = warning | ||
|
||
dotnet_diagnostic.CA2140.severity = warning | ||
|
||
dotnet_diagnostic.CA2141.severity = warning | ||
|
||
dotnet_diagnostic.CA2146.severity = warning | ||
|
||
dotnet_diagnostic.CA2147.severity = warning | ||
|
||
dotnet_diagnostic.CA2149.severity = warning | ||
|
||
dotnet_diagnostic.CA2200.severity = warning | ||
|
||
dotnet_diagnostic.CA2202.severity = warning | ||
|
||
dotnet_diagnostic.CA2207.severity = warning | ||
|
||
dotnet_diagnostic.CA2212.severity = warning | ||
|
||
dotnet_diagnostic.CA2213.severity = warning | ||
|
||
dotnet_diagnostic.CA2214.severity = warning | ||
|
||
dotnet_diagnostic.CA2216.severity = warning | ||
|
||
dotnet_diagnostic.CA2220.severity = warning | ||
|
||
dotnet_diagnostic.CA2229.severity = warning | ||
|
||
dotnet_diagnostic.CA2231.severity = warning | ||
|
||
dotnet_diagnostic.CA2232.severity = warning | ||
|
||
dotnet_diagnostic.CA2235.severity = warning | ||
|
||
dotnet_diagnostic.CA2236.severity = warning | ||
|
||
dotnet_diagnostic.CA2237.severity = warning | ||
|
||
dotnet_diagnostic.CA2238.severity = warning | ||
|
||
dotnet_diagnostic.CA2240.severity = warning | ||
|
||
dotnet_diagnostic.CA2241.severity = warning | ||
|
||
dotnet_diagnostic.CA2242.severity = warning | ||
|
||
dotnet_diagnostic.CS1573.severity = silent | ||
|
||
dotnet_diagnostic.CS1591.severity = silent | ||
|
||
dotnet_diagnostic.CS1712.severity = silent | ||
|
||
# IDE0003 duplicates functionality provided by SX1101 | ||
dotnet_diagnostic.IDE0003.severity = none | ||
|
||
dotnet_diagnostic.SA1101.severity = none | ||
|
||
# https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/2275 | ||
dotnet_diagnostic.SA1139.severity = none | ||
|
||
dotnet_diagnostic.SA1202.severity = none | ||
|
||
dotnet_diagnostic.SA1204.severity = none | ||
|
||
dotnet_diagnostic.SA1309.severity = none | ||
|
||
dotnet_diagnostic.SA1412.severity = warning | ||
|
||
dotnet_diagnostic.SA1600.severity = none | ||
|
||
dotnet_diagnostic.SA1601.severity = none | ||
|
||
dotnet_diagnostic.SA1602.severity = none | ||
|
||
dotnet_diagnostic.SA1611.severity = none | ||
|
||
dotnet_diagnostic.SA1615.severity = none | ||
|
||
dotnet_diagnostic.SX1101.severity = warning | ||
|
||
dotnet_diagnostic.SX1309.severity = warning | ||
|
||
dotnet_diagnostic.SX1309S.severity = warning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
104 changes: 56 additions & 48 deletions
104
Tvl.VisualStudio.JustMyCodeToggle/Tvl.VisualStudio.JustMyCodeToggle.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,94 +1,102 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.props" /> | ||
|
||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<TargetFramework>net45</TargetFramework> | ||
|
||
<MinimumVisualStudioVersion>17.0</MinimumVisualStudioVersion> | ||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> | ||
</PropertyGroup> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<Description>Adds the Just My Code command button to Visual Studio.</Description> | ||
<Company>Tunnel Vision Laboratories, LLC</Company> | ||
<Copyright>Copyright © Sam Harwell 2017</Copyright> | ||
<Version>1.3.0.0</Version> | ||
<FileVersion>1.3.0.0</FileVersion> | ||
<InformationalVersion>1.3.0-dev</InformationalVersion> | ||
|
||
<Version>1.4.0.0</Version> | ||
<FileVersion>1.4.0.0</FileVersion> | ||
<InformationalVersion>1.4.0-dev</InformationalVersion> | ||
<ProjectGuid>{10CAD392-E083-41EB-92C9-B5F3142FA9F8}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<GeneratePkgDefFile>true</GeneratePkgDefFile> | ||
<UseCodebase>true</UseCodebase> | ||
<IncludeAssemblyInVSIXContainer>true</IncludeAssemblyInVSIXContainer> | ||
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer> | ||
<IncludeDebugSymbolsInLocalVSIXDeployment>false</IncludeDebugSymbolsInLocalVSIXDeployment> | ||
<CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory> | ||
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory> | ||
|
||
<SignAssembly>true</SignAssembly> | ||
<AssemblyOriginatorKeyFile>SharedKey.snk</AssemblyOriginatorKeyFile> | ||
<CopyOutputSymbolsToOutputDirectory>true</CopyOutputSymbolsToOutputDirectory> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(BuildingInsideVisualStudio)' != 'true'"> | ||
<!-- This property disables extension deployment for command line builds; required for AppVeyor --> | ||
<DeployExtension>False</DeployExtension> | ||
|
||
<!-- Ideally this is always enabled, but that tends to hurt developer productivity --> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'"> | ||
<DebugType>full</DebugType> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)' == 'Release'"> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<DebugSymbols>true</DebugSymbols> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
|
||
<!-- StyleCop Analyzers configuration --> | ||
<PropertyGroup> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)..\JustMyCodeToggle.ruleset</CodeAnalysisRuleSet> | ||
<CodeAnalysisRuleSet> | ||
</CodeAnalysisRuleSet> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="StyleCop.Analyzers" Version="1.1.0-beta008" PrivateAssets="all" /> | ||
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.0.32112.339" ExcludeAssets="runtime" /> | ||
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.5.4065"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<AdditionalFiles Include="$(MSBuildThisFileDirectory)..\stylecop.json" Link="stylecop.json" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="JustMyCodeToggleConstants.cs" /> | ||
<Compile Include="JustMyCodeTogglePackage.cs" /> | ||
<None Include="$(CodeAnalysisRuleSet)" Condition="'$(CodeAnalysisRuleSet)' != ''" Link="%(Filename)%(Extension)" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="15.1.192" PrivateAssets="All" /> | ||
<PackageReference Include="Microsoft.VisualStudio.Shell.14.0" Version="14.0.23205" /> | ||
<PackageReference Include="Microsoft.VisualStudio.Shell.Interop.10.0" Version="10.0.30319" /> | ||
<PackageReference Include="EnvDTE" Version="8.0.1" /> | ||
<None Include="source.extension.vsixmanifest"> | ||
<SubType>Designer</SubType> | ||
</None> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="$(MSBuildProjectFileDirectory)$(AssemblyOriginatorKeyFile)" Link="%(Filename)%(Extension)" /> | ||
<None Include="source.extension.vsixmanifest" /> | ||
<Reference Include="System" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Content Include="..\LICENSE.txt"> | ||
<Link>LICENSE.txt</Link> | ||
<IncludeInVSIX>true</IncludeInVSIX> | ||
</Content> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<VSCTCompile Include="JustMyCodeToggle.vsct"> | ||
<ResourceName>1000</ResourceName> | ||
<SubType>Designer</SubType> | ||
</VSCTCompile> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<EmbeddedResource Update="VSPackage.resx"> | ||
<LogicalName>VSPackage.resources</LogicalName> | ||
<MergeWithCTO>true</MergeWithCTO> | ||
</EmbeddedResource> | ||
</ItemGroup> | ||
|
||
<Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" /> | ||
|
||
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="Exists('$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets')" /> | ||
|
||
</Project> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
Oops, something went wrong.