Skip to content

Commit

Permalink
V4.0.0 2021/12/05
Browse files Browse the repository at this point in the history
- Added support for Visual Studio 2022.
  • Loading branch information
mayerwin committed Dec 5, 2021
1 parent 35b9f91 commit 4e0832b
Show file tree
Hide file tree
Showing 19 changed files with 283 additions and 202 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*.vbproj.user
*.bak
[Bb]in
[Dd]ebug*/
obj/
[Rr]elease*/
_ReSharper*/
Expand Down
27 changes: 25 additions & 2 deletions DisableNoSourceAvailableTab.sln
Original file line number Diff line number Diff line change
@@ -1,20 +1,43 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.489
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DisableNoSourceAvailableTab", "DisableNoSourceAvailableTab\DisableNoSourceAvailableTab.csproj", "{D061A7EA-8B32-4AD2-8320-E5BD46ED4C27}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DisableNoSourceAvailableTab2022", "DisableNoSourceAvailableTab2022\DisableNoSourceAvailableTab2022.csproj", "{F34197DD-8AD1-44A6-A07A-F06C34B544E1}"
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "DisableNoSourceAvailableTabShared", "DisableNoSourceAvailableTabShared\DisableNoSourceAvailableTabShared.shproj", "{BE8861AF-61BB-4EE4-A25F-2422E85A5565}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
DisableNoSourceAvailableTabShared\DisableNoSourceAvailableTabShared.projitems*{be8861af-61bb-4ee4-a25f-2422e85a5565}*SharedItemsImports = 13
DisableNoSourceAvailableTabShared\DisableNoSourceAvailableTabShared.projitems*{d061a7ea-8b32-4ad2-8320-e5bd46ed4c27}*SharedItemsImports = 4
DisableNoSourceAvailableTabShared\DisableNoSourceAvailableTabShared.projitems*{f34197dd-8ad1-44a6-a07a-f06c34b544e1}*SharedItemsImports = 4
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D061A7EA-8B32-4AD2-8320-E5BD46ED4C27}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D061A7EA-8B32-4AD2-8320-E5BD46ED4C27}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D061A7EA-8B32-4AD2-8320-E5BD46ED4C27}.Debug|x86.ActiveCfg = Debug|x86
{D061A7EA-8B32-4AD2-8320-E5BD46ED4C27}.Debug|x86.Build.0 = Debug|x86
{D061A7EA-8B32-4AD2-8320-E5BD46ED4C27}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D061A7EA-8B32-4AD2-8320-E5BD46ED4C27}.Release|Any CPU.Build.0 = Release|Any CPU
{D061A7EA-8B32-4AD2-8320-E5BD46ED4C27}.Release|x86.ActiveCfg = Release|x86
{D061A7EA-8B32-4AD2-8320-E5BD46ED4C27}.Release|x86.Build.0 = Release|x86
{F34197DD-8AD1-44A6-A07A-F06C34B544E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F34197DD-8AD1-44A6-A07A-F06C34B544E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F34197DD-8AD1-44A6-A07A-F06C34B544E1}.Debug|x86.ActiveCfg = Debug|x86
{F34197DD-8AD1-44A6-A07A-F06C34B544E1}.Debug|x86.Build.0 = Debug|x86
{F34197DD-8AD1-44A6-A07A-F06C34B544E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F34197DD-8AD1-44A6-A07A-F06C34B544E1}.Release|Any CPU.Build.0 = Release|Any CPU
{F34197DD-8AD1-44A6-A07A-F06C34B544E1}.Release|x86.ActiveCfg = Release|x86
{F34197DD-8AD1-44A6-A07A-F06C34B544E1}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
57 changes: 29 additions & 28 deletions DisableNoSourceAvailableTab/DisableNoSourceAvailableTab.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>..\DisableNoSourceAvailableTabSharedFolder\Key.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
Expand All @@ -25,7 +25,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ErwinMayerLabs.DisableNoSourceAvailableTab</RootNamespace>
<AssemblyName>DisableNoSourceAvailableTab</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<GeneratePkgDefFile>true</GeneratePkgDefFile>
<UseCodebase>true</UseCodebase>
<IncludeAssemblyInVSIXContainer>true</IncludeAssemblyInVSIXContainer>
Expand Down Expand Up @@ -55,19 +55,16 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Compile Include="GuidList.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="DisableNoSourceAvailableTabPackage.cs" />
<Compile Include="source.extension.cs">
<DependentUpon>source.extension.vsixmanifest</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="Key.snk" />
<None Include="..\DisableNoSourceAvailableTabSharedFolder\Key.snk">
<Link>Key.snk</Link>
</None>
<None Include="source.extension.vsixmanifest">
<SubType>Designer</SubType>
<Generator>VsixManifestGenerator</Generator>
<LastGenOutput>source.extension.resx</LastGenOutput>
<LastGenOutput>source.extension1.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
Expand All @@ -82,35 +79,39 @@
</PackageReference>
</ItemGroup>
<ItemGroup>
<Content Include="Icon.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<Content Include="..\DisableNoSourceAvailableTabSharedFolder\Icon.png">
<Link>Icon.png</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="License.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<Content Include="..\DisableNoSourceAvailableTabSharedFolder\License.txt">
<Link>License.txt</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="Screenshot.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<Content Include="..\DisableNoSourceAvailableTabSharedFolder\Screenshot.png">
<Link>Screenshot.png</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="source.extension.ico">
<DependentUpon>source.extension.vsixmanifest</DependentUpon>
</Content>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="source.extension.resx">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>source.extension.vsixmanifest</DependentUpon>
<MergeWithCTO>true</MergeWithCTO>
<ManifestResourceName>VSPackage</ManifestResourceName>
</EmbeddedResource>
</ItemGroup>
<Import Project="..\DisableNoSourceAvailableTabShared\DisableNoSourceAvailableTabShared.projitems" Label="Shared" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup>
<PostBuildEvent>if $(ConfigurationName) == Release copy /Y "$(TargetDir)$(TargetName).vsix" "$(SolutionDir)Releases\$(TargetName) (new).vsix"
<PostBuildEvent>if "$(ConfigurationName)" neq "Release" (
exit /b 0
)

if not exist "$(SolutionDir)Releases\" (
mkdir "$(SolutionDir)Releases\"
if errorlevel 1 goto Error
)

copy /Y "$(TargetDir)$(TargetName).vsix" "$(SolutionDir)Releases\$(TargetName)2019 (new).vsix"
if errorlevel 1 goto Error

exit /b 0

:Error
exit /b 1
</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
24 changes: 0 additions & 24 deletions DisableNoSourceAvailableTab/source.extension.cs

This file was deleted.

Binary file removed DisableNoSourceAvailableTab/source.extension.ico
Binary file not shown.
136 changes: 0 additions & 136 deletions DisableNoSourceAvailableTab/source.extension.resx

This file was deleted.

3 changes: 1 addition & 2 deletions DisableNoSourceAvailableTab/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?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="5126c493-138a-46d7-a04d-ad772f6be155" Version="3.2" Language="en-US" Publisher="Erwin Mayer" />
<Identity Id="5126c493-138a-46d7-a04d-ad772f6be155" Version="4.0.0" Language="en-US" Publisher="Erwin Mayer" />
<DisplayName>Disable No Source Available Tab</DisplayName>
<Description xml:space="preserve">This small extension will prevent the tool window with title 'No Source Available' from appearing in Visual Studio, and preserve the focus on the currently active tab.

Expand All @@ -20,7 +20,6 @@ This extension should work with all locales of Visual Studio.</Description>
<InstallationTarget Version="[14.0,)" Id="Microsoft.VisualStudio.Community" />
<InstallationTarget Version="[14.0,)" Id="Microsoft.VisualStudio.Pro" />
<InstallationTarget Version="[14.0,)" Id="Microsoft.VisualStudio.Enterprise" />
<InstallationTarget Version="[14.0,)" Id="Microsoft.VisualStudio.IntegratedShell" />
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
Expand Down
Loading

0 comments on commit 4e0832b

Please sign in to comment.