Skip to content

Commit 714c6ec

Browse files
authored
Merge pull request #70 from CursedSheep/master
Visual Studio 2022 Support
2 parents 0b21f14 + 767a8c7 commit 714c6ec

4 files changed

Lines changed: 30 additions & 20 deletions

File tree

Constants.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ public static class Constants
3939
public static readonly Dictionary<Int32, String> IdeVersions = new Dictionary<Int32, String>
4040
{
4141
{ 15, "2017" },
42-
{ 16, "2019" }
42+
{ 16, "2019" },
43+
{ 17, "2022" }
4344
};
4445
}
4546
}

DiscordRPforVS.csproj

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion>
@@ -43,7 +43,7 @@
4343
<DebugType>full</DebugType>
4444
<Optimize>false</Optimize>
4545
<OutputPath>bin\Debug\</OutputPath>
46-
<DefineConstants>DEBUG;TRACE</DefineConstants>
46+
<DefineConstants>TRACE;DEBUG</DefineConstants>
4747
<ErrorReport>prompt</ErrorReport>
4848
<WarningLevel>4</WarningLevel>
4949
<RunCodeAnalysis>false</RunCodeAnalysis>
@@ -134,17 +134,11 @@
134134
<PackageReference Include="Microsoft.VisualStudio.LiveShare">
135135
<Version>1.1.57</Version>
136136
</PackageReference>
137-
<PackageReference Include="Microsoft.VisualStudio.SDK">
138-
<Version>16.0.206</Version>
139-
</PackageReference>
140137
<PackageReference Include="Microsoft.VisualStudio.Validation">
141-
<Version>15.5.31</Version>
142-
</PackageReference>
143-
<PackageReference Include="Microsoft.VSSDK.BuildTools">
144-
<Version>16.8.8</Version>
145-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
146-
<PrivateAssets>all</PrivateAssets>
138+
<Version>17.0.16-alpha</Version>
147139
</PackageReference>
140+
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.0.0-previews-1-31410-273" ExcludeAssets="runtime" />
141+
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.0.2155-preview2" />
148142
</ItemGroup>
149143
<ItemGroup>
150144
<VSCTCompile Include="DiscordRPforVSPackage.vsct">
@@ -178,4 +172,4 @@
178172
<Target Name="AfterBuild">
179173
</Target>
180174
-->
181-
</Project>
175+
</Project>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</p>
1818
</div>
1919

20-
This extension enables on [Discord Rich Presence](https://discordapp.com/rich-presence) for Visual Studio 2017 and 2019.
20+
This extension enables on [Discord Rich Presence](https://discordapp.com/rich-presence) for Visual Studio 2017, 2019 and 2022.
2121

2222
As you're developing, this extension will automatically update your status on Discord to tell the world what you're coding.
2323

source.extension.vsixmanifest

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<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">
33
<Metadata>
4-
<Identity Id="VisualDevelopment.drpcvs" Version="5.5.3" Language="en-US" Publisher="1TheNikita" />
4+
<Identity Id="VisualDevelopment.drpcvs" Version="5.6" Language="en-US" Publisher="1TheNikita" />
55
<DisplayName>Discord Rich Presence</DisplayName>
6-
<Description xml:space="preserve">A Discord Rich Presence extension for Visual Studio 2017 and 2019.</Description>
6+
<Description xml:space="preserve">A Discord Rich Presence extension for Visual Studio 2017, 2019 and 2022.</Description>
77
<MoreInfo>https://marketplace.visualstudio.com/items?itemName=1TheNikita.drpcvs2019</MoreInfo>
88
<License>Resources\LICENSE.txt</License>
99
<ReleaseNotes>https://github.com/1TheNikita/Visual-Studio/blob/master/CHANGELOG.md</ReleaseNotes>
@@ -12,15 +12,30 @@
1212
<Tags>development,discord,discordrpc,presence,rich,rpc,visual</Tags>
1313
</Metadata>
1414
<Installation>
15-
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[15.0,)" />
16-
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[15.0,)" />
17-
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[15.0,)" />
15+
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[15.0,18.0)">
16+
<ProductArchitecture>amd64</ProductArchitecture>
17+
</InstallationTarget>
18+
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[15.0,18.0)">
19+
<ProductArchitecture>amd64</ProductArchitecture>
20+
</InstallationTarget>
21+
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[15.0,18.0)">
22+
<ProductArchitecture>amd64</ProductArchitecture>
23+
</InstallationTarget>
24+
<InstallationTarget Version="[15.0,18.0)" Id="Microsoft.VisualStudio.Community">
25+
<ProductArchitecture>x86</ProductArchitecture>
26+
</InstallationTarget>
27+
<InstallationTarget Version="[15.0,18.0)" Id="Microsoft.VisualStudio.Enterprise">
28+
<ProductArchitecture>x86</ProductArchitecture>
29+
</InstallationTarget>
30+
<InstallationTarget Version="[15.0,18.0)" Id="Microsoft.VisualStudio.Pro">
31+
<ProductArchitecture>x86</ProductArchitecture>
32+
</InstallationTarget>
1833
</Installation>
1934
<Dependencies>
2035
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
2136
</Dependencies>
2237
<Prerequisites>
23-
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0,)" DisplayName="Visual Studio core editor" />
38+
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,18.0)" DisplayName="Visual Studio core editor" />
2439
</Prerequisites>
2540
<Assets>
2641
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />

0 commit comments

Comments
 (0)