Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

using VSLangProj;


namespace NuGetReferenceSwitcher.Presentation.Models
{
public class ReferenceModel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@
<AssemblyOriginatorKeyFile>StrongNameKey.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<EmbedInteropTypes>True</EmbedInteropTypes>
</Reference>
<Reference Include="envdte100, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<EmbedInteropTypes>False</EmbedInteropTypes>
</Reference>
Expand All @@ -50,29 +47,24 @@
<EmbedInteropTypes>True</EmbedInteropTypes>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.VisualStudio.Interop, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.VisualStudio.Interop.17.2.32505.113\lib\net472\Microsoft.VisualStudio.Interop.dll</HintPath>
</Reference>
<Reference Include="Microsoft.VisualStudio.OLE.Interop" />
<Reference Include="Microsoft.VisualStudio.Shell.15.0, Version=16.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
<Reference Include="Microsoft.VisualStudio.Shell.15.0, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\NugetSwitcher\src\NuGetReferenceSwitcher.Presentation\bin\Debug\Microsoft.VisualStudio.Shell.15.0.dll</HintPath>
</Reference>
<Reference Include="Microsoft.VisualStudio.Shell.Immutable.14.0, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
<Reference Include="Microsoft.VisualStudio.Shell.Interop" />
<Reference Include="Microsoft.VisualStudio.Shell.Interop.8.0" />
<Reference Include="Microsoft.VisualStudio.Shell.Interop.9.0" />
<Reference Include="Microsoft.VisualStudio.Shell.Interop.10.0" />
<Reference Include="Microsoft.VisualStudio.Shell.Interop.11.0">
<EmbedInteropTypes>true</EmbedInteropTypes>
</Reference>
<Reference Include="Microsoft.VisualStudio.Shell.Interop.12.0">
<EmbedInteropTypes>true</EmbedInteropTypes>
</Reference>
<Reference Include="Microsoft.VisualStudio.TextManager.Interop" />
<Reference Include="Microsoft.VisualStudio.Shell.Immutable.10.0" />
<Reference Include="Microsoft.VisualStudio.Shell.Immutable.11.0" />
<Reference Include="Microsoft.VisualStudio.Shell.Immutable.12.0" />
<Reference Include="MyToolkit">
<HintPath>..\packages\MyToolkit.2.3.12.0\lib\portable-net45+wp8+win8+wpa81\MyToolkit.dll</HintPath>
</Reference>
<Reference Include="MyToolkit.Extended">
<HintPath>..\packages\MyToolkit.Extended.2.3.12.0\lib\net45\MyToolkit.Extended.dll</HintPath>
</Reference>
<Reference Include="netstandard" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
Expand All @@ -84,8 +76,9 @@
<Reference Include="System.Xaml" />
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="VSLangProj, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<EmbedInteropTypes>True</EmbedInteropTypes>
<Reference Include="VSLangProj, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\NugetSwitcher\src\NuGetReferenceSwitcher.Presentation\bin\Debug\VSLangProj.dll</HintPath>
</Reference>
<Reference Include="WindowsBase" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/NuGetReferenceSwitcher.Presentation/Views/MainDialog.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
WindowStartupLocation="CenterScreen">

<Window.Resources>
<viewModels:MainDialogModel x:Key="ViewModel" />
<!--<viewModels:MainDialogModel x:Key="ViewModel" />
<converters:NotConverter x:Key="NotConverter" />
<converters:VisibilityConverter x:Key="VisibilityConverter" />
<converters1:NuGetToProjectModeConverter x:Key="NuGetToProjectModeConverter" />
<converters1:NotNuGetToProjectModeConverter x:Key="NotNuGetToProjectModeConverter" />
<converters1:NotNuGetToProjectModeConverter x:Key="NotNuGetToProjectModeConverter" />-->
</Window.Resources>

<Grid DataContext="{StaticResource ViewModel}">
Expand Down
1 change: 1 addition & 0 deletions src/NuGetReferenceSwitcher.Presentation/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.VisualStudio.Interop" version="17.2.32505.113" targetFramework="net472" />
<package id="MyToolkit" version="2.3.12.0" targetFramework="net45" />
<package id="MyToolkit.Extended" version="2.3.12.0" targetFramework="net45" />
</packages>
47 changes: 47 additions & 0 deletions src/NuGetReferenceSwitcher.VS22.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.2.32602.215
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{ACE60C03-4FB9-498F-A6E3-8D20C10F0C4E}"
ProjectSection(SolutionItems) = preProject
IntegrationTests.testsettings = IntegrationTests.testsettings
UnitTests.testsettings = UnitTests.testsettings
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NuGetReferenceSwitcher.VS22", "NuGetReferenceSwitcher.VS22\NuGetReferenceSwitcher.VS22.csproj", "{738F6C75-AA84-44ED-9999-084522C47122}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NuGetReferenceSwitcher.Presentation", "NuGetReferenceSwitcher.Presentation\NuGetReferenceSwitcher.Presentation.csproj", "{72D2BBE2-B1F7-4782-B7BD-CA377F895746}"
EndProject
Global
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
{738F6C75-AA84-44ED-9999-084522C47122}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{738F6C75-AA84-44ED-9999-084522C47122}.Debug|Any CPU.Build.0 = Debug|Any CPU
{738F6C75-AA84-44ED-9999-084522C47122}.Debug|x86.ActiveCfg = Debug|x86
{738F6C75-AA84-44ED-9999-084522C47122}.Debug|x86.Build.0 = Debug|x86
{738F6C75-AA84-44ED-9999-084522C47122}.Release|Any CPU.ActiveCfg = Release|Any CPU
{738F6C75-AA84-44ED-9999-084522C47122}.Release|Any CPU.Build.0 = Release|Any CPU
{738F6C75-AA84-44ED-9999-084522C47122}.Release|x86.ActiveCfg = Release|x86
{738F6C75-AA84-44ED-9999-084522C47122}.Release|x86.Build.0 = Release|x86
{72D2BBE2-B1F7-4782-B7BD-CA377F895746}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{72D2BBE2-B1F7-4782-B7BD-CA377F895746}.Debug|Any CPU.Build.0 = Debug|Any CPU
{72D2BBE2-B1F7-4782-B7BD-CA377F895746}.Debug|x86.ActiveCfg = Debug|Any CPU
{72D2BBE2-B1F7-4782-B7BD-CA377F895746}.Debug|x86.Build.0 = Debug|Any CPU
{72D2BBE2-B1F7-4782-B7BD-CA377F895746}.Release|Any CPU.ActiveCfg = Release|Any CPU
{72D2BBE2-B1F7-4782-B7BD-CA377F895746}.Release|Any CPU.Build.0 = Release|Any CPU
{72D2BBE2-B1F7-4782-B7BD-CA377F895746}.Release|x86.ActiveCfg = Release|Any CPU
{72D2BBE2-B1F7-4782-B7BD-CA377F895746}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A693A6CB-F451-44A6-A2E1-66CAB6974F7A}
EndGlobalSection
EndGlobal
11 changes: 11 additions & 0 deletions src/NuGetReferenceSwitcher.VS22/GlobalSuppressions.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project. Project-level
// suppressions either have no target or are given a specific target
// and scoped to a namespace, type, member, etc.
//
// To add a suppression to this file, right-click the message in the
// Error List, point to "Suppress Message(s)", and click "In Project
// Suppression File". You do not need to add suppressions to this
// file manually.

[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1017:MarkAssembliesWithComVisible")]
15 changes: 15 additions & 0 deletions src/NuGetReferenceSwitcher.VS22/Guids.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Guids.cs
// MUST match guids.h

using System;

namespace RicoSuter.NuGetReferenceSwitcher
{
static class GuidList
{
public const string guidNuGetReferenceSwitcherPkgString = "87a7b0e9-e41c-47c8-953c-b81650401edb";
public const string guidNuGetReferenceSwitcherCmdSetString = "ae6a9753-b188-45b5-8563-70bc990bf707";

public static readonly Guid guidNuGetReferenceSwitcherCmdSet = new Guid(guidNuGetReferenceSwitcherCmdSetString);
};
}
Binary file added src/NuGetReferenceSwitcher.VS22/Key.snk
Binary file not shown.
Binary file not shown.
Binary file added src/NuGetReferenceSwitcher.VS22/MyToolkit.dll
Binary file not shown.
Loading