Skip to content

Commit

Permalink
added support for VS2022 while keeping VS2019 intact
Browse files Browse the repository at this point in the history
  • Loading branch information
eberthold committed Aug 4, 2021
1 parent 07a5374 commit 4eed9bc
Show file tree
Hide file tree
Showing 110 changed files with 2,070 additions and 248 deletions.
185 changes: 156 additions & 29 deletions Source/Steroids.sln

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{E6451202-C6F6-4E47-86F1-2745FB353758}</ProjectGuid>
<ProjectGuid>{9AD45BA0-FA8F-42C5-A7FA-17D410F69995}</ProjectGuid>
<OutputType>library</OutputType>
<RootNamespace>SteroidsVS.CodeStructure</RootNamespace>
<AssemblyName>SteroidsVS.CodeStructure</AssemblyName>
Expand Down Expand Up @@ -38,7 +38,7 @@
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>..\..\SteroidsVs.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>..\..\..\SteroidsVs.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand All @@ -59,33 +59,6 @@
<Reference Include="PresentationFramework" />
</ItemGroup>
<ItemGroup>
<Page Include="Controls\SelectionHintControl.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Resources\ModuleResourceDictionary.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Themes\Generic.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="UI\CodeStructureView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<ItemGroup>
<Compile Include="Adorners\CodeStructureAdorner.cs" />
<Compile Include="Adorners\ICodeStructureAdorner.cs" />
<Compile Include="Controls\IndicatorButton.cs" />
<Compile Include="Controls\SelectionHintControl.xaml.cs">
<DependentUpon>SelectionHintControl.xaml</DependentUpon>
</Compile>
<Compile Include="Monikers\TypeDescriptorMonikerConverter.cs" />
<Compile Include="Monikers\TypeDescriptorMonikerNameResolver.cs" />
<Compile Include="Monikers\TypeDescriptorMonikerResolver.cs" />
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
Expand All @@ -99,38 +72,28 @@
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<Compile Include="Resources\ModuleResourceDictionary.xaml.cs">
<DependentUpon>ModuleResourceDictionary.xaml</DependentUpon>
</Compile>
<Compile Include="Text\TextSpanExtensions.cs" />
<Compile Include="UI\CodeStructureSpaceReservation.cs" />
<Compile Include="UI\CodeStructureView.xaml.cs">
<DependentUpon>CodeStructureView.xaml</DependentUpon>
</Compile>
<Compile Include="UI\LevelToThicknessConverter.cs" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="..\..\SteroidsVs.snk">
<None Include="..\..\..\SteroidsVs.snk">
<Link>SteroidsVs.snk</Link>
</None>
<None Include="app.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\BusinessLogic\CodeAnalysis\Steroids.Roslyn\Steroids.Roslyn.csproj">
<ProjectReference Include="..\..\..\BusinessLogic\CodeAnalysis\Steroids.Roslyn\Steroids.Roslyn.csproj">
<Project>{c02f84ae-8614-443d-b38c-cbae226bac77}</Project>
<Name>Steroids.Roslyn</Name>
</ProjectReference>
<ProjectReference Include="..\..\BusinessLogic\CodeStructure\Steroids.CodeStructure\Steroids.CodeStructure.csproj">
<ProjectReference Include="..\..\..\BusinessLogic\CodeStructure\Steroids.CodeStructure\Steroids.CodeStructure.csproj">
<Project>{1406F7C6-80FE-4EE2-A651-7432C0EF9CD2}</Project>
<Name>Steroids.CodeStructure</Name>
</ProjectReference>
<ProjectReference Include="..\..\BusinessLogic\Core\Steroids.Core\Steroids.Core.csproj">
<ProjectReference Include="..\..\..\BusinessLogic\Core\Steroids.Core\Steroids.Core.csproj">
<Project>{D43C1A42-A6B0-4F1B-8637-79DAACAAE487}</Project>
<Name>Steroids.Core</Name>
</ProjectReference>
Expand Down Expand Up @@ -166,5 +129,6 @@
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<Import Project="..\..\Shared\SteroidsVs.CodeStructure\SteroidsVs.CodeStructure.projitems" Label="Shared" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{58AC3D8F-294E-4389-8A93-570AE6C45808}</ProjectGuid>
<ProjectGuid>{7B19258E-102F-4AB5-B955-977E529A9A00}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Steroids.SharedUI</RootNamespace>
Expand Down Expand Up @@ -34,7 +34,7 @@
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>..\..\SteroidsVs.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>..\..\..\SteroidsVs.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="PresentationCore" />
Expand All @@ -55,26 +55,12 @@
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="Behaviors\MouseOverPopupBehavior.cs" />
<Compile Include="Converters\DiagnosticLevelToBrushConverter.cs" />
<Compile Include="Editor\IWpfTextViewExtensions.cs" />
<Compile Include="Resources\ModuleResourceDictionary.xaml.cs">
<DependentUpon>ModuleResourceDictionary.xaml</DependentUpon>
</Compile>
<Compile Include="Converters\BooleanToVisibilityConverter.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Page Include="Resources\ModuleResourceDictionary.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<None Include="..\..\SteroidsVs.snk">
<None Include="..\..\..\SteroidsVs.snk">
<Link>SteroidsVs.snk</Link>
</None>
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis">
Expand Down Expand Up @@ -106,5 +92,6 @@
<Version>1.7.0</Version>
</PackageReference>
</ItemGroup>
<Import Project="..\..\Shared\SteroidsVs.SharedUI\SteroidsVs.SharedUI.projitems" Label="Shared" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>..\..\SteroidsVs.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>..\..\..\SteroidsVs.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
Expand Down Expand Up @@ -56,23 +56,10 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Compile Include="CodeAdornments\CodeAdornmentsTextViewCreationListener.cs" />
<Compile Include="CodeAdornments\CodeAdornmentsBootstrapper.cs" />
<Compile Include="Bootstrapper.cs" />
<Compile Include="CodeAdornments\CodeStructureOpenCommand.cs" />
<Compile Include="Editor\FoldingManagerAdapter.cs" />
<Compile Include="Editor\WpfTextViewAdapter.cs" />
<Compile Include="Services\ActiveTextViewProvider.cs" />
<Compile Include="Contracts\IVsServiceProvider.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Services\DispatcherService.cs" />
<Compile Include="Services\DispatcherServiceFactory.cs" />
<Compile Include="Services\IActiveTextViewProvider.cs" />
<Compile Include="Services\VsServiceProvider.cs" />
<Compile Include="SteroidsVsPackage.cs" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\SteroidsVs.snk">
<None Include="..\..\..\SteroidsVs.snk">
<Link>SteroidsVs.snk</Link>
</None>
<None Include="app.config" />
Expand Down Expand Up @@ -111,34 +98,34 @@
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\BusinessLogic\CodeAnalysis\Steroids.Roslyn\Steroids.Roslyn.csproj">
<ProjectReference Include="..\..\..\BusinessLogic\CodeAnalysis\Steroids.Roslyn\Steroids.Roslyn.csproj">
<Project>{C02F84AE-8614-443D-B38C-CBAE226BAC77}</Project>
<Name>Steroids.Roslyn</Name>
</ProjectReference>
<ProjectReference Include="..\..\BusinessLogic\CodeQuality\Steroids.CodeQuality\Steroids.CodeQuality.csproj">
<ProjectReference Include="..\..\..\BusinessLogic\CodeQuality\Steroids.CodeQuality\Steroids.CodeQuality.csproj">
<Project>{8e125506-818b-40e4-adfb-6238c2a49ac7}</Project>
<Name>Steroids.CodeQuality</Name>
</ProjectReference>
<ProjectReference Include="..\..\BusinessLogic\CodeStructure\Steroids.CodeStructure\Steroids.CodeStructure.csproj">
<ProjectReference Include="..\..\..\BusinessLogic\CodeStructure\Steroids.CodeStructure\Steroids.CodeStructure.csproj">
<Project>{1406f7c6-80fe-4ee2-a651-7432c0ef9cd2}</Project>
<Name>Steroids.CodeStructure</Name>
</ProjectReference>
<ProjectReference Include="..\..\BusinessLogic\Core\Steroids.Core\Steroids.Core.csproj">
<ProjectReference Include="..\..\..\BusinessLogic\Core\Steroids.Core\Steroids.Core.csproj">
<Project>{d43c1a42-a6b0-4f1b-8637-79daacaae487}</Project>
<Name>Steroids.Core</Name>
</ProjectReference>
<ProjectReference Include="..\SteroidsVS.SharedUI\SteroidsVS.SharedUI.csproj">
<Project>{58ac3d8f-294e-4389-8a93-570ae6c45808}</Project>
<Name>Steroids.SharedUI</Name>
</ProjectReference>
<ProjectReference Include="..\SteroidsVS.CodeQuality\SteroidsVS.CodeQuality.csproj">
<Project>{E4C0B3CB-96AD-405D-87FB-8E6318827E5B}</Project>
<ProjectReference Include="..\SteroidsVs.CodeQuality\SteroidsVS.CodeQuality.csproj">
<Project>{6d8d8ae9-a333-480b-820c-f8e6bce3e734}</Project>
<Name>SteroidsVS.CodeQuality</Name>
</ProjectReference>
<ProjectReference Include="..\SteroidsVS.CodeStructure\SteroidsVS.CodeStructure.csproj">
<Project>{E6451202-C6F6-4E47-86F1-2745FB353758}</Project>
<Project>{9ad45ba0-fa8f-42c5-a7fa-17d410f69995}</Project>
<Name>SteroidsVS.CodeStructure</Name>
</ProjectReference>
<ProjectReference Include="..\SteroidsVS.SharedUI\SteroidsVS.SharedUI.csproj">
<Project>{7b19258e-102f-4ab5-b955-977e529a9a00}</Project>
<Name>SteroidsVS.SharedUI</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Assets\SteroidsVS_preview.png">
Expand All @@ -163,6 +150,9 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Community.VisualStudio.Toolkit">
<Version>16.0.75.103</Version>
</PackageReference>
<PackageReference Include="EnvDTE">
<Version>8.0.2</Version>
</PackageReference>
Expand All @@ -181,6 +171,9 @@
<PackageReference Include="Microsoft.VisualStudio.LanguageServices">
<Version>3.4.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.SDK">
<Version>16.0.206</Version>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Shell.15.0">
<Version>16.4.29519.181</Version>
</PackageReference>
Expand Down Expand Up @@ -210,6 +203,7 @@
<Version>5.6.0</Version>
</PackageReference>
</ItemGroup>
<Import Project="..\..\Shared\SteroidsVS.Vsix\SteroidsVS.Vsix.projitems" Label="Shared" />
<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.
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="97188178-f68c-49a6-9e5e-5fb99661bf09" Version="2021.08.04.01" Language="en-US" Publisher="Erik Berthold" />
<DisplayName>SteroidsVS 2019</DisplayName>
<Description xml:space="preserve">Improves visibility of roslyn analyzer warnings and errors in documents.
Includes an overall file quality indicator (bottom right corner, glows in specific color).
Adds code structure view as code adornment.</Description>
<MoreInfo>https://github.com/eberthold/SteroidsVS</MoreInfo>
<Icon>Assets\SteroidsVS_icon.png</Icon>
<PreviewImage>Assets\SteroidsVS_preview.png</PreviewImage>
<Tags>roslyn code quality warning error structure map</Tags>
</Metadata>
<Installation>
<InstallationTarget Version="[16.0,17.0)" Id="Microsoft.VisualStudio.Community" />
<InstallationTarget Version="[16.0,17.0)" Id="Microsoft.VisualStudio.Pro" />
<InstallationTarget Version="[16.0,17.0)" Id="Microsoft.VisualStudio.Enterprise" />
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
<!--<Dependency Id="Microsoft.VisualStudio.MPF.15.0" DisplayName="Visual Studio MPF 15.0" d:Source="Installed" Version="[15.0]" />-->
</Dependencies>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[16.0,17.0)" DisplayName="Visual Studio core editor" />
</Prerequisites>
<Assets>
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" />
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
</Assets>
</PackageManifest>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{E4C0B3CB-96AD-405D-87FB-8E6318827E5B}</ProjectGuid>
<ProjectGuid>{6D8D8AE9-A333-480B-820C-F8E6BCE3E734}</ProjectGuid>
<OutputType>library</OutputType>
<RootNamespace>SteroidsVS.CodeQuality</RootNamespace>
<AssemblyName>SteroidsVS.CodeQuality</AssemblyName>
Expand Down Expand Up @@ -38,7 +38,7 @@
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>..\..\SteroidsVs.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>..\..\..\SteroidsVs.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand All @@ -58,13 +58,6 @@
<Reference Include="PresentationFramework" />
</ItemGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="Diagnostic\ErrorListDiagnosticProvider.cs" />
<Compile Include="Diagnostic\ITableEntryExtensions.cs" />
<Compile Include="Diagnostic\TableManagerDiagnosticsProvider.cs" />
<Compile Include="UI\DiagnosticInfoAdorner.cs" />
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
Expand All @@ -78,58 +71,30 @@
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<Compile Include="Resources\ModuleResourceDictionary.xaml.cs">
<DependentUpon>ModuleResourceDictionary.xaml</DependentUpon>
</Compile>
<Compile Include="UI\DiagnosticInfoControl.cs" />
<Compile Include="UI\DiagnosticInfoLinePanel.cs" />
<Compile Include="UI\DiagnosticInfoPlacementCalculator.cs" />
<Compile Include="UI\DiagnosticInfosView.xaml.cs">
<DependentUpon>DiagnosticInfosView.xaml</DependentUpon>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="..\..\SteroidsVs.snk">
<None Include="..\..\..\SteroidsVs.snk">
<Link>SteroidsVs.snk</Link>
</None>
<None Include="app.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<Page Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Resources\ModuleResourceDictionary.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Themes\generic.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="UI\DiagnosticInfosView.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\BusinessLogic\CodeQuality\Steroids.CodeQuality\Steroids.CodeQuality.csproj">
<ProjectReference Include="..\..\..\BusinessLogic\CodeQuality\Steroids.CodeQuality\Steroids.CodeQuality.csproj">
<Project>{8e125506-818b-40e4-adfb-6238c2a49ac7}</Project>
<Name>Steroids.CodeQuality</Name>
</ProjectReference>
<ProjectReference Include="..\..\BusinessLogic\Core\Steroids.Core\Steroids.Core.csproj">
<ProjectReference Include="..\..\..\BusinessLogic\Core\Steroids.Core\Steroids.Core.csproj">
<Project>{D43C1A42-A6B0-4F1B-8637-79DAACAAE487}</Project>
<Name>Steroids.Core</Name>
</ProjectReference>
<ProjectReference Include="..\SteroidsVS.SharedUI\SteroidsVS.SharedUI.csproj">
<Project>{58ac3d8f-294e-4389-8a93-570ae6c45808}</Project>
<Name>Steroids.SharedUI</Name>
<Name>SteroidsVS.SharedUI</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
Expand All @@ -154,5 +119,6 @@
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<Import Project="..\..\Shared\SteroidsVs.CodeQuality\SteroidsVs.CodeQuality.projitems" Label="Shared" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Loading

1 comment on commit 4eed9bc

@eberthold
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

realted #30

Please sign in to comment.