Skip to content

Commit ec8833a

Browse files
authored
Merge pull request #63 from Aiko-IT-Systems/main
fix: add support for visual studio 2026 (insiders)
2 parents c7d4ce4 + b7eff89 commit ec8833a

11 files changed

Lines changed: 258 additions & 6 deletions

File tree

RELEASE_NOTES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
1.7.6
2+
- Support for Visual Studio 2026 (Insiders)
3+
14
1.7.5
25
- Added ".http" extension to the .ASP icons group;
36
- Do not show the update message for the first time.

VisualStudioDiscordRPC.Dev16/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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="VisualStudioDiscordRPC.Dev16.a715f0c1-87e1-4f52-8483-aebf95fd6eee" Version="1.7.5" Language="en-US" Publisher="Reavert" />
4+
<Identity Id="VisualStudioDiscordRPC.Dev16.a715f0c1-87e1-4f52-8483-aebf95fd6eee" Version="1.7.6" Language="en-US" Publisher="Reavert" />
55
<DisplayName>Discord RPC for Visual Studio 2019</DisplayName>
66
<Description xml:space="preserve">Discord Rich Presence client for your activity in the Visual Studio 2019.</Description>
77
<License>LICENSE.txt</License>

VisualStudioDiscordRPC.Dev17/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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="VisualStudioDiscordRPC.Dev17.d4a3981d-7790-4946-b044-18e7c2f22af7" Version="1.7.5" Language="en-US" Publisher="Reavert" />
4+
<Identity Id="VisualStudioDiscordRPC.Dev17.d4a3981d-7790-4946-b044-18e7c2f22af7" Version="1.7.6" Language="en-US" Publisher="Reavert" />
55
<DisplayName>Discord RPC for Visual Studio 2022</DisplayName>
66
<Description xml:space="preserve">Discord Rich Presence client for your activity in the Visual Studio 2022.</Description>
77
<License>LICENSE.txt</License>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
[assembly: AssemblyTitle("VisualStudioDiscordRPC.Dev17")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("VisualStudioDiscordRPC.Dev17")]
13+
[assembly: AssemblyCopyright("")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Setting ComVisible to false makes the types in this assembly not visible
18+
// to COM components. If you need to access a type in this assembly from
19+
// COM, set the ComVisible attribute to true on that type.
20+
[assembly: ComVisible(false)]
21+
22+
// Version information for an assembly consists of the following four values:
23+
//
24+
// Major Version
25+
// Minor Version
26+
// Build Number
27+
// Revision
28+
//
29+
// You can specify all the values or you can default the Build and Revision Numbers
30+
// by using the '*' as shown below:
31+
// [assembly: AssemblyVersion("1.0.*")]
32+
[assembly: AssemblyVersion("1.0.0.0")]
33+
[assembly: AssemblyFileVersion("1.0.0.0")]
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<MinimumVisualStudioVersion>18.0</MinimumVisualStudioVersion>
5+
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
6+
<UseCodebase>true</UseCodebase>
7+
</PropertyGroup>
8+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
9+
<PropertyGroup>
10+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
11+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
12+
<SchemaVersion>2.0</SchemaVersion>
13+
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
14+
<ProjectGuid>{18BA03DB-BD8A-4BC1-873A-02E458D99D36}</ProjectGuid>
15+
<OutputType>Library</OutputType>
16+
<AppDesignerFolder>Properties</AppDesignerFolder>
17+
<RootNamespace>VisualStudioDiscordRPC.Dev18</RootNamespace>
18+
<AssemblyName>VisualStudioDiscordRPC.Dev18</AssemblyName>
19+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
20+
<GeneratePkgDefFile>true</GeneratePkgDefFile>
21+
<IncludeAssemblyInVSIXContainer>true</IncludeAssemblyInVSIXContainer>
22+
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>
23+
<IncludeDebugSymbolsInLocalVSIXDeployment>true</IncludeDebugSymbolsInLocalVSIXDeployment>
24+
<CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory>
25+
<CopyOutputSymbolsToOutputDirectory>true</CopyOutputSymbolsToOutputDirectory>
26+
<StartAction>Program</StartAction>
27+
<StartProgram Condition="'$(DevEnvDir)' != ''">$(DevEnvDir)devenv.exe</StartProgram>
28+
<StartArguments>/rootsuffix Exp</StartArguments>
29+
</PropertyGroup>
30+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
31+
<DebugSymbols>true</DebugSymbols>
32+
<DebugType>full</DebugType>
33+
<Optimize>false</Optimize>
34+
<OutputPath>bin\Debug\</OutputPath>
35+
<DefineConstants>DEBUG;TRACE</DefineConstants>
36+
<ErrorReport>prompt</ErrorReport>
37+
<WarningLevel>4</WarningLevel>
38+
<DeployExtension>True</DeployExtension>
39+
</PropertyGroup>
40+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
41+
<DebugType>pdbonly</DebugType>
42+
<Optimize>true</Optimize>
43+
<OutputPath>bin\Release\</OutputPath>
44+
<DefineConstants>TRACE</DefineConstants>
45+
<ErrorReport>prompt</ErrorReport>
46+
<WarningLevel>4</WarningLevel>
47+
<DeployExtension>False</DeployExtension>
48+
</PropertyGroup>
49+
<ItemGroup>
50+
<Compile Include="Properties\AssemblyInfo.cs" />
51+
</ItemGroup>
52+
<ItemGroup>
53+
<Content Include="..\RELEASE_NOTES.txt">
54+
<Link>RELEASE_NOTES.txt</Link>
55+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
56+
<IncludeInVSIX>true</IncludeInVSIX>
57+
</Content>
58+
<Content Include="..\LICENSE.txt">
59+
<Link>LICENSE.txt</Link>
60+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
61+
<IncludeInVSIX>true</IncludeInVSIX>
62+
</Content>
63+
<Content Include="..\VisualStudioDiscordRPC.Shared\Configs\*.*">
64+
<Link>Configs\%(Filename).%(Extension)</Link>
65+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
66+
<IncludeInVSIX>true</IncludeInVSIX>
67+
</Content>
68+
<Content Include="..\VisualStudioDiscordRPC.Shared\Translations\*.*">
69+
<Link>Translations\%(Filename).%(Extension)</Link>
70+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
71+
<IncludeInVSIX>true</IncludeInVSIX>
72+
</Content>
73+
<Content Include="..\lib\**\**\*.*">
74+
<Link>lib\%(RecursiveDir)%(Filename)%(Extension)</Link>
75+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
76+
<IncludeInVSIX>true</IncludeInVSIX>
77+
</Content>
78+
<None Include="source.extension.vsixmanifest">
79+
<SubType>Designer</SubType>
80+
</None>
81+
</ItemGroup>
82+
<ItemGroup>
83+
<PackageReference Include="DiscordRichPresence">
84+
<Version>1.2.1.24</Version>
85+
</PackageReference>
86+
<PackageReference Include="LibGit2Sharp">
87+
<Version>0.26.2</Version>
88+
</PackageReference>
89+
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.4.33103.184" ExcludeAssets="runtime">
90+
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
91+
</PackageReference>
92+
<PackageReference Include="Microsoft.VisualStudio.Shell.Framework">
93+
<Version>17.4.33103.184</Version>
94+
</PackageReference>
95+
<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="17.4.2124">
96+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
97+
<PrivateAssets>all</PrivateAssets>
98+
</PackageReference>
99+
<PackageReference Include="Newtonsoft.Json">
100+
<Version>13.0.3</Version>
101+
</PackageReference>
102+
</ItemGroup>
103+
<ItemGroup>
104+
<Reference Include="Microsoft.CSharp" />
105+
<Reference Include="PresentationCore" />
106+
<Reference Include="PresentationFramework" />
107+
<Reference Include="System" />
108+
<Reference Include="System.ComponentModel.Composition" />
109+
<Reference Include="System.Data" />
110+
<Reference Include="System.Data.DataSetExtensions" />
111+
<Reference Include="System.Design" />
112+
<Reference Include="System.Drawing" />
113+
<Reference Include="System.Windows.Forms" />
114+
<Reference Include="System.Xaml" />
115+
<Reference Include="System.Xml" />
116+
<Reference Include="WindowsBase" />
117+
</ItemGroup>
118+
<ItemGroup>
119+
<VSCTCompile Include="..\VisualStudioDiscordRPC.Shared\VisualStudioDiscordRPCPackage.vsct">
120+
<ResourceName>Menus.ctmenu</ResourceName>
121+
</VSCTCompile>
122+
</ItemGroup>
123+
<ItemGroup>
124+
<Content Include="..\VisualStudioDiscordRPC.Shared\icon.png">
125+
<Link>icon.png</Link>
126+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
127+
<IncludeInVSIX>true</IncludeInVSIX>
128+
</Content>
129+
</ItemGroup>
130+
<Import Project="..\VisualStudioDiscordRPC.Shared\VisualStudioDiscordRPC.Shared.projitems" Label="Shared" />
131+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
132+
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
133+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
134+
Other similar extension points exist, see Microsoft.Common.targets.
135+
<Target Name="BeforeBuild">
136+
</Target>
137+
<Target Name="AfterBuild">
138+
</Target>
139+
-->
140+
</Project>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "http://json.schemastore.org/vsix-publish",
3+
"categories": [
4+
"coding",
5+
"other"
6+
],
7+
"identity": {
8+
"internalName": "vsdrp2026"
9+
},
10+
"overview": "../overview.md",
11+
"priceCategory": "free",
12+
"publisher": "Ryavel",
13+
"private": false,
14+
"qna": true,
15+
"repo": "https://github.com/Ryavell/VisualStudioDiscordRPC"
16+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<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">
3+
<Metadata>
4+
<Identity Id="VisualStudioDiscordRPC.Dev18.b74ae963-b471-4b6a-85f4-b2db1612fa52" Version="1.7.6" Language="en-US" Publisher="Reavert" />
5+
<DisplayName>Discord RPC for Visual Studio 2026</DisplayName>
6+
<Description xml:space="preserve">Discord Rich Presence client for your activity in the Visual Studio 2026.</Description>
7+
<License>LICENSE.txt</License>
8+
<Icon>icon.png</Icon>
9+
<PreviewImage>icon.png</PreviewImage>
10+
<Tags>discord;rpc;visual-studio;rich-presence;2026</Tags>
11+
<Preview>true</Preview>
12+
</Metadata>
13+
<Installation>
14+
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[18.0, 19.0)">
15+
<ProductArchitecture>amd64</ProductArchitecture>
16+
</InstallationTarget>
17+
<InstallationTarget Version="[18.0, 19.0)" Id="Microsoft.VisualStudio.Pro">
18+
<ProductArchitecture>amd64</ProductArchitecture>
19+
</InstallationTarget>
20+
<InstallationTarget Version="[18.0, 19.0)" Id="Microsoft.VisualStudio.Enterprise">
21+
<ProductArchitecture>amd64</ProductArchitecture>
22+
</InstallationTarget>
23+
<InstallationTarget Version="[18.0, 19.0)" Id="Microsoft.VisualStudio.Community">
24+
<ProductArchitecture>arm64</ProductArchitecture>
25+
</InstallationTarget>
26+
<InstallationTarget Version="[18.0, 19.0)" Id="Microsoft.VisualStudio.Pro">
27+
<ProductArchitecture>arm64</ProductArchitecture>
28+
</InstallationTarget>
29+
<InstallationTarget Version="[18.0, 19.0)" Id="Microsoft.VisualStudio.Enterprise">
30+
<ProductArchitecture>arm64</ProductArchitecture>
31+
</InstallationTarget>
32+
</Installation>
33+
<Dependencies>
34+
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
35+
</Dependencies>
36+
<Assets>
37+
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
38+
</Assets>
39+
<Prerequisites>
40+
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[18.0, 19.0)" DisplayName="Visual Studio core editor" />
41+
</Prerequisites>
42+
</PackageManifest>

VisualStudioDiscordRPC.Shared/Configs/vs_assets_map.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
{
88
"key": "vs_2019",
99
"version": "16"
10+
},
11+
{
12+
"key": "vs_2026",
13+
"version": "18"
1014
}
1115
]
1216
}

VisualStudioDiscordRPC.Shared/Utils/VisualStudioHelper.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ public static class VisualStudioHelper
88
private static Dictionary<string, string> VsVersions = new Dictionary<string, string>
99
{
1010
{ "16", "2019" },
11-
{ "17", "2022" }
11+
{ "17", "2022" },
12+
{ "18", "2026" }
1213
};
1314

1415
public static string GetVersionByDevNumber(string version)

VisualStudioDiscordRPC.sln

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 17
4-
VisualStudioVersion = 17.0.31912.275
3+
# Visual Studio Version 18
4+
VisualStudioVersion = 18.0.11010.61 d18.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "VisualStudioDiscordRPC.Shared", "VisualStudioDiscordRPC.Shared\VisualStudioDiscordRPC.Shared.shproj", "{B7A0BE51-E514-4008-B20C-0590BB489EC3}"
77
EndProject
88
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VisualStudioDiscordRPC.Dev17", "VisualStudioDiscordRPC.Dev17\VisualStudioDiscordRPC.Dev17.csproj", "{75C7717A-0757-4C5B-B95E-9E78410CE532}"
99
EndProject
1010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VisualStudioDiscordRPC.Dev16", "VisualStudioDiscordRPC.Dev16\VisualStudioDiscordRPC.Dev16.csproj", "{DD3C72EA-8654-4623-885B-67229ED3BD8F}"
1111
EndProject
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VisualStudioDiscordRPC.Dev18", "VisualStudioDiscordRPC.Dev18\VisualStudioDiscordRPC.Dev18.csproj", "{18BA03DB-BD8A-4BC1-873A-02E458D99D36}"
13+
EndProject
1214
Global
1315
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1416
Debug|Any CPU = Debug|Any CPU
@@ -33,6 +35,14 @@ Global
3335
{DD3C72EA-8654-4623-885B-67229ED3BD8F}.Release|Any CPU.Build.0 = Release|Any CPU
3436
{DD3C72EA-8654-4623-885B-67229ED3BD8F}.Release|x86.ActiveCfg = Release|x86
3537
{DD3C72EA-8654-4623-885B-67229ED3BD8F}.Release|x86.Build.0 = Release|x86
38+
{18BA03DB-BD8A-4BC1-873A-02E458D99D36}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
39+
{18BA03DB-BD8A-4BC1-873A-02E458D99D36}.Debug|Any CPU.Build.0 = Debug|Any CPU
40+
{18BA03DB-BD8A-4BC1-873A-02E458D99D36}.Debug|x86.ActiveCfg = Debug|x86
41+
{18BA03DB-BD8A-4BC1-873A-02E458D99D36}.Debug|x86.Build.0 = Debug|x86
42+
{18BA03DB-BD8A-4BC1-873A-02E458D99D36}.Release|Any CPU.ActiveCfg = Release|Any CPU
43+
{18BA03DB-BD8A-4BC1-873A-02E458D99D36}.Release|Any CPU.Build.0 = Release|Any CPU
44+
{18BA03DB-BD8A-4BC1-873A-02E458D99D36}.Release|x86.ActiveCfg = Release|x86
45+
{18BA03DB-BD8A-4BC1-873A-02E458D99D36}.Release|x86.Build.0 = Release|x86
3646
EndGlobalSection
3747
GlobalSection(SolutionProperties) = preSolution
3848
HideSolutionNode = FALSE
@@ -41,6 +51,7 @@ Global
4151
SolutionGuid = {54EECED7-0E6F-4C41-9049-C6885D5D0650}
4252
EndGlobalSection
4353
GlobalSection(SharedMSBuildProjectFiles) = preSolution
54+
VisualStudioDiscordRPC.Shared\VisualStudioDiscordRPC.Shared.projitems*{18ba03db-bd8a-4bc1-873a-02e458d99d36}*SharedItemsImports = 4
4455
VisualStudioDiscordRPC.Shared\VisualStudioDiscordRPC.Shared.projitems*{75c7717a-0757-4c5b-b95e-9e78410ce532}*SharedItemsImports = 4
4556
VisualStudioDiscordRPC.Shared\VisualStudioDiscordRPC.Shared.projitems*{b7a0be51-e514-4008-b20c-0590bb489ec3}*SharedItemsImports = 13
4657
VisualStudioDiscordRPC.Shared\VisualStudioDiscordRPC.Shared.projitems*{dd3c72ea-8654-4623-885b-67229ed3bd8f}*SharedItemsImports = 4

0 commit comments

Comments
 (0)