Skip to content

Commit d0f83e1

Browse files
committed
fix: Add small fixes
1 parent 60977dd commit d0f83e1

File tree

8 files changed

+52
-101
lines changed

8 files changed

+52
-101
lines changed

src/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
// You can specify all the values or you can default the Build and Revision Numbers
3131
// by using the '*' as shown below:
3232
// [assembly: AssemblyVersion("1.2.*")]
33-
[assembly: AssemblyVersion("1.7.0")]
34-
[assembly: AssemblyFileVersion("1.7.0.0")]
33+
[assembly: AssemblyVersion(Constants.Vsix.Version)]
34+
[assembly: AssemblyFileVersion(Constants.Vsix.Version)]
3535
[assembly: NeutralResourcesLanguage("en-US")]
3636

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@
22
{
33
public static class Constants
44
{
5+
public static class Vsix
6+
{
7+
public const string Version = "1.7.0";
8+
}
9+
510
public const string Author = "Nikolay Chebotov (Unchase)";
611
public const string ExtensionCategory = "OpenAPI";
712
public const string ExtensionName = "Unchase OpenAPI (Swagger) Connected Service";
813
public const string ExtensionDescription = "Generates C# HttpClient code for OpenAPI (Swagger API) web service with NSwag.";
914
public const string ProviderId = "Unchase.OpenAPI.ConnectedService";
1015
public const string Website = "https://github.com/unchase/Unchase.OpenAPI.Connectedservice/";
11-
public const string Copyright = "Copyright © 2019";
16+
public const string Copyright = "Copyright © 2021";
1217

1318
public const string NuGetOnlineRepository = "https://www.nuget.org/api/v2/";
1419
public const string DefaultServiceName = "OpenAPIService";

src/Shared/Unchase.OpenAPI.Connectedservice.Shared.projitems

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<Compile Include="$(MSBuildThisFileDirectory)Common\LoggerHelper.cs" />
2020
<Compile Include="$(MSBuildThisFileDirectory)Common\ProjectHelper.cs" />
2121
<Compile Include="$(MSBuildThisFileDirectory)Common\UserSettingsPersistenceHelper.cs" />
22+
<Compile Include="$(MSBuildThisFileDirectory)Constants.cs" />
2223
<Compile Include="$(MSBuildThisFileDirectory)Converters\EqualityConverter.cs" />
2324
<Compile Include="$(MSBuildThisFileDirectory)Converters\NotConverter.cs" />
2425
<Compile Include="$(MSBuildThisFileDirectory)Converters\NotNullOrWhiteSpaceConverter.cs" />

src/Unchase.OpenAPI.ConnectedService.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
<WarningLevel>4</WarningLevel>
7979
</PropertyGroup>
8080
<ItemGroup>
81-
<Compile Include="Constants.cs" />
8281
<Compile Include="Properties\AssemblyInfo.cs" />
8382
<Compile Include="Properties\Resources.Designer.cs">
8483
<AutoGen>True</AutoGen>
@@ -615,6 +614,7 @@
615614
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
616615
<IncludeInVSIX>true</IncludeInVSIX>
617616
</Content>
617+
<Content Include="Shared\Resources\NewBug.png" />
618618
<Content Include="Shared\Resources\preview_200x200.png">
619619
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
620620
<IncludeInVSIX>true</IncludeInVSIX>

src/Unchase.OpenAPI.Connectedservice.VS22/Constants.cs

Lines changed: 0 additions & 54 deletions
This file was deleted.

src/Unchase.OpenAPI.Connectedservice.VS22/Properties/AssemblyInfo.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
using System.Reflection;
2-
using System.Runtime.CompilerServices;
32
using System.Runtime.InteropServices;
3+
using Unchase.OpenAPI.ConnectedService;
44

55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("Unchase.OpenAPI.Connectedservice.VS22")]
9-
[assembly: AssemblyDescription("")]
8+
[assembly: AssemblyTitle(Constants.ExtensionName)]
9+
[assembly: AssemblyDescription(Constants.ExtensionDescription)]
1010
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("Unchase.OpenAPI.Connectedservice.VS22")]
13-
[assembly: AssemblyCopyright("")]
11+
[assembly: AssemblyCompany(Constants.Author)]
12+
[assembly: AssemblyProduct(Constants.ProviderId)]
13+
[assembly: AssemblyCopyright(Constants.Copyright)]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

@@ -29,5 +29,5 @@
2929
// You can specify all the values or you can default the Build and Revision Numbers
3030
// by using the '*' as shown below:
3131
// [assembly: AssemblyVersion("1.0.*")]
32-
[assembly: AssemblyVersion("1.7.0")]
33-
[assembly: AssemblyFileVersion("1.7.0.0")]
32+
[assembly: AssemblyVersion(Constants.Vsix.Version)]
33+
[assembly: AssemblyFileVersion(Constants.Vsix.Version)]

src/Unchase.OpenAPI.Connectedservice.VS22/Unchase.OpenAPI.Connectedservice.VS22.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
<WarningLevel>4</WarningLevel>
4646
</PropertyGroup>
4747
<ItemGroup>
48-
<Compile Include="Constants.cs" />
4948
<Compile Include="Properties\AssemblyInfo.cs" />
5049
<Compile Include="Properties\Resources.Designer.cs">
5150
<AutoGen>True</AutoGen>
Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
<?xml version="1.0" ?>
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">
3-
<Metadata>
4-
<Identity Id="Unchase.OpenAPI.Connectedservice.63199638-6211-4285-ba8f-75b1f0326c2b" Version="1.7.0" Language="en-US" Publisher="Unchase" />
5-
<DisplayName>Unchase OpenAPI (Swagger) Connected Service</DisplayName>
6-
<Description xml:space="preserve">Connected service for Visual Studio to generate OpenAPI (Swagger) web service reference.</Description>
7-
<MoreInfo>https://github.com/unchase/Unchase.OpenAPI.Connectedservice</MoreInfo>
8-
<License>EULA.txt</License>
9-
<GettingStartedGuide>https://github.com/unchase/Unchase.OpenAPI.Connectedservice/blob/master/README.md</GettingStartedGuide>
10-
<ReleaseNotes>https://github.com/unchase/Unchase.OpenAPI.Connectedservice/blob/master/CHANGELOG.md</ReleaseNotes>
11-
<Icon>Shared\Resources\logo_128x128.png</Icon>
12-
<PreviewImage>Shared\Resources\preview_200x200.png</PreviewImage>
13-
<Tags>OpenAPI, Swagger, REST API, OAS, OAI, Web API, .NET Core, HttpClient, Swashbuckle, NSwag, NSwagStudio, Code Generation, Scaffolding, Connected Service</Tags>
14-
</Metadata>
15-
<Installation>
16-
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 18.0)">
17-
<ProductArchitecture>amd64</ProductArchitecture>
18-
</InstallationTarget>
19-
<InstallationTarget Version="[17.0,18.0)" Id="Microsoft.VisualStudio.Pro">
20-
<ProductArchitecture>amd64</ProductArchitecture>
21-
</InstallationTarget>
22-
<InstallationTarget Version="[17.0,18.0)" Id="Microsoft.VisualStudio.Enterprise">
23-
<ProductArchitecture>amd64</ProductArchitecture>
24-
</InstallationTarget>
25-
</Installation>
26-
<Dependencies>
27-
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
28-
<Dependency d:Source="Installed" Id="ConnectedServices.897486C9-63BD-48D3-8A33-CB770FBD0723" DisplayName="Microsoft Connected Services" Version="[2.0,)" />
29-
</Dependencies>
30-
<Prerequisites>
31-
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,18.0)" DisplayName="Visual Studio core editor" />
32-
</Prerequisites>
33-
<Assets>
34-
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
35-
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" />
36-
</Assets>
3+
<Metadata>
4+
<Identity Id="Unchase.OpenAPI.Connectedservice.63199638-6211-4285-ba8f-75b1f0326c2b" Version="1.7.0" Language="en-US" Publisher="Unchase" />
5+
<DisplayName>Unchase OpenAPI (Swagger) Connected Service VS2022</DisplayName>
6+
<Description xml:space="preserve">Connected service for Visual Studio 2022 to generate OpenAPI (Swagger) web service reference.</Description>
7+
<MoreInfo>https://github.com/unchase/Unchase.OpenAPI.Connectedservice</MoreInfo>
8+
<License>EULA.txt</License>
9+
<GettingStartedGuide>https://github.com/unchase/Unchase.OpenAPI.Connectedservice/blob/master/README.md</GettingStartedGuide>
10+
<ReleaseNotes>https://github.com/unchase/Unchase.OpenAPI.Connectedservice/blob/master/CHANGELOG.md</ReleaseNotes>
11+
<Icon>Shared\Resources\logo_128x128.png</Icon>
12+
<PreviewImage>Shared\Resources\preview_200x200.png</PreviewImage>
13+
<Tags>OpenAPI, Swagger, REST API, OAS, OAI, Web API, .NET Core, HttpClient, Swashbuckle, NSwag, NSwagStudio, Code Generation, Scaffolding, Connected Service</Tags>
14+
</Metadata>
15+
<Installation>
16+
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 18.0)">
17+
<ProductArchitecture>amd64</ProductArchitecture>
18+
</InstallationTarget>
19+
<InstallationTarget Version="[17.0,18.0)" Id="Microsoft.VisualStudio.Pro">
20+
<ProductArchitecture>amd64</ProductArchitecture>
21+
</InstallationTarget>
22+
<InstallationTarget Version="[17.0,18.0)" Id="Microsoft.VisualStudio.Enterprise">
23+
<ProductArchitecture>amd64</ProductArchitecture>
24+
</InstallationTarget>
25+
</Installation>
26+
<Dependencies>
27+
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
28+
<Dependency d:Source="Installed" Id="ConnectedServices.897486C9-63BD-48D3-8A33-CB770FBD0723" DisplayName="Microsoft Connected Services" Version="[2.0,)" />
29+
</Dependencies>
30+
<Prerequisites>
31+
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,18.0)" DisplayName="Visual Studio core editor" />
32+
</Prerequisites>
33+
<Assets>
34+
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
35+
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" />
36+
</Assets>
3737
</PackageManifest>

0 commit comments

Comments
 (0)