Skip to content

Commit 860eee2

Browse files
committed
Allow installer to work on Visual Studio 2022 and beyond.
1 parent 390d2ac commit 860eee2

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

BuildTT/VersionSetter.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,19 @@ private void UpdateVsixmanifest()
7373
tt.WriteLine(" <Tags>Reverse Poco, Data, Entity Framework, Code Generator, Database, reverse engineering, C#, SQL Server, PostgreSQL, POCO, Code First, CodeFirst</Tags>");
7474
tt.WriteLine(" </Metadata>");
7575
tt.WriteLine(" <Installation>");
76-
tt.WriteLine(" <InstallationTarget Version=\"[14.0,17.0)\" Id=\"Microsoft.VisualStudio.Community\" />");
77-
tt.WriteLine(" <InstallationTarget Version=\"[14.0,17.0)\" Id=\"Microsoft.VisualStudio.Pro\" />");
78-
tt.WriteLine(" <InstallationTarget Version=\"[14.0,17.0)\" Id=\"Microsoft.VisualStudio.Enterprise\" />");
79-
tt.WriteLine(" <InstallationTarget Version=\"[14.0,17.0)\" Id=\"Microsoft.VisualStudio.VSWinExpress\" />");
80-
tt.WriteLine(" <InstallationTarget Version=\"[14.0,17.0)\" Id=\"Microsoft.VisualStudio.VWDExpress\" />");
81-
tt.WriteLine(" <InstallationTarget Version=\"[14.0,17.0)\" Id=\"Microsoft.VisualStudio.VSWinDesktopExpress\" />");
76+
tt.WriteLine(" <InstallationTarget Version=\"[14.0,]\" Id=\"Microsoft.VisualStudio.Community\" />");
77+
tt.WriteLine(" <InstallationTarget Version=\"[14.0,]\" Id=\"Microsoft.VisualStudio.Pro\" />");
78+
tt.WriteLine(" <InstallationTarget Version=\"[14.0,]\" Id=\"Microsoft.VisualStudio.Enterprise\" />");
79+
tt.WriteLine(" <InstallationTarget Version=\"[14.0,]\" Id=\"Microsoft.VisualStudio.VSWinExpress\" />");
80+
tt.WriteLine(" <InstallationTarget Version=\"[14.0,]\" Id=\"Microsoft.VisualStudio.VWDExpress\" />");
81+
tt.WriteLine(" <InstallationTarget Version=\"[14.0,]\" Id=\"Microsoft.VisualStudio.VSWinDesktopExpress\" />");
8282
tt.WriteLine(" </Installation>");
8383
tt.WriteLine(" <Assets>");
8484
tt.WriteLine(" <Asset Type=\"Microsoft.VisualStudio.ItemTemplate\" d:Source=\"File\" Path=\"ItemTemplates\" d:TargetPath=\"ItemTemplates\\efrpoco.zip\" />");
8585
tt.WriteLine(" </Assets>");
8686
tt.WriteLine(" <Prerequisites>");
87-
tt.WriteLine(" <Prerequisite Id=\"Microsoft.VisualStudio.Component.TextTemplating\" Version=\"[14.0,17.0)\" DisplayName=\"Text Template Transformation\" />");
88-
tt.WriteLine(" <Prerequisite Id=\"Microsoft.VisualStudio.Component.CoreEditor\" Version=\"[14.0,17.0)\" DisplayName=\"Visual Studio core editor\" />");
87+
tt.WriteLine(" <Prerequisite Id=\"Microsoft.VisualStudio.Component.TextTemplating\" Version=\"[14.0,]\" DisplayName=\"Text Template Transformation\" />");
88+
tt.WriteLine(" <Prerequisite Id=\"Microsoft.VisualStudio.Component.CoreEditor\" Version=\"[14.0,]\" DisplayName=\"Visual Studio core editor\" />");
8989
tt.WriteLine(" </Prerequisites>");
9090
tt.Write("</PackageManifest>");
9191
}
Lines changed: 9 additions & 9 deletions
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="EntityFramework_Reverse_POCO_Generator..d542a934-8bd6-4136-b490-5f0049d62033" Version="3.4.0" Language="en-US" Publisher="Simon Hughes" />
4+
<Identity Id="EntityFramework_Reverse_POCO_Generator..d542a934-8bd6-4136-b490-5f0049d62033" Version="3.4.1" Language="en-US" Publisher="Simon Hughes" />
55
<DisplayName>EntityFramework Reverse POCO Generator</DisplayName>
66
<Description xml:space="preserve">Reverse engineers an existing database and generates EntityFramework Code First POCO classes, Configuration mappings and DbContext.</Description>
77
<MoreInfo>https://github.com/sjh37/EntityFramework-Reverse-POCO-Code-First-Generator</MoreInfo>
@@ -11,18 +11,18 @@
1111
<Tags>Reverse Poco, Data, Entity Framework, Code Generator, Database, reverse engineering, C#, SQL Server, PostgreSQL, POCO, Code First, CodeFirst</Tags>
1212
</Metadata>
1313
<Installation>
14-
<InstallationTarget Version="[14.0,17.0)" Id="Microsoft.VisualStudio.Community" />
15-
<InstallationTarget Version="[14.0,17.0)" Id="Microsoft.VisualStudio.Pro" />
16-
<InstallationTarget Version="[14.0,17.0)" Id="Microsoft.VisualStudio.Enterprise" />
17-
<InstallationTarget Version="[14.0,17.0)" Id="Microsoft.VisualStudio.VSWinExpress" />
18-
<InstallationTarget Version="[14.0,17.0)" Id="Microsoft.VisualStudio.VWDExpress" />
19-
<InstallationTarget Version="[14.0,17.0)" Id="Microsoft.VisualStudio.VSWinDesktopExpress" />
14+
<InstallationTarget Version="[14.0,]" Id="Microsoft.VisualStudio.Community" />
15+
<InstallationTarget Version="[14.0,]" Id="Microsoft.VisualStudio.Pro" />
16+
<InstallationTarget Version="[14.0,]" Id="Microsoft.VisualStudio.Enterprise" />
17+
<InstallationTarget Version="[14.0,]" Id="Microsoft.VisualStudio.VSWinExpress" />
18+
<InstallationTarget Version="[14.0,]" Id="Microsoft.VisualStudio.VWDExpress" />
19+
<InstallationTarget Version="[14.0,]" Id="Microsoft.VisualStudio.VSWinDesktopExpress" />
2020
</Installation>
2121
<Assets>
2222
<Asset Type="Microsoft.VisualStudio.ItemTemplate" d:Source="File" Path="ItemTemplates" d:TargetPath="ItemTemplates\efrpoco.zip" />
2323
</Assets>
2424
<Prerequisites>
25-
<Prerequisite Id="Microsoft.VisualStudio.Component.TextTemplating" Version="[14.0,17.0)" DisplayName="Text Template Transformation" />
26-
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[14.0,17.0)" DisplayName="Visual Studio core editor" />
25+
<Prerequisite Id="Microsoft.VisualStudio.Component.TextTemplating" Version="[14.0,]" DisplayName="Text Template Transformation" />
26+
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[14.0,]" DisplayName="Visual Studio core editor" />
2727
</Prerequisites>
2828
</PackageManifest>

0 commit comments

Comments
 (0)