Skip to content

Commit

Permalink
Update VS extension metadata (#376)
Browse files Browse the repository at this point in the history
Add icon, license, and update ID
  • Loading branch information
jeffkl authored May 24, 2022
1 parent e145f38 commit 31d9b11
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 33 deletions.
11 changes: 1 addition & 10 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ variables:
DotNet5Version: '5.x'
DotNet6Version: '6.x'
DotNet7Version: '7.x'
MSBuildArgs: '"/p:Platform=$(BuildPlatform)" "/p:Configuration=$(BuildConfiguration)" "/BinaryLogger:$(Build.SourcesDirectory)\$(ArtifactsDirectoryName)\msbuild.binlog"'
MSBuildArgs: '"/Property:Platform=$(BuildPlatform);Configuration=$(BuildConfiguration)" "/BinaryLogger:$(Build.SourcesDirectory)\$(ArtifactsDirectoryName)\msbuild.binlog"'
SignType: 'Test'

trigger:
Expand All @@ -22,15 +22,6 @@ trigger:
exclude:
- '*.md'

pr:
branches:
include:
- 'main'
- 'rel/*'
paths:
exclude:
- '*.md'

stages:
- stage:
displayName: 'Build'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
<Compile Update="VSPackage.Designer.cs" AutoGen="true" DesignTime="true" DependentUpon="VSPackage.resx" />
</ItemGroup>
<ItemGroup>
<None Include="source.extension.vsixmanifest" SubType="Designer" />
<None Include="source.extension.vsixmanifest" Generator="VsixManifestGenerator" SubType="Designer" />
<Content Include="..\..\LICENSE.txt" CopyToOutputDirectory="PreserveNewest" IncludeInVSIX="true" />
<Content Include="..\..\branding\Icon.png" CopyToOutputDirectory="PreserveNewest" IncludeInVSIX="true" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Build" ExcludeAssets="Runtime" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ namespace Microsoft.VisualStudio.SlnGen.Extension
/// <summary>
/// Represents the main entry point for the package.
/// </summary>
[InstalledProductRegistration("#110", "#112", ThisAssembly.AssemblyInformationalVersion, LanguageIndependentName = "SlnGen")]
[PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
[ProvideAutoLoad(VSConstants.UICONTEXT.SolutionOpening_string, PackageAutoLoadFlags.BackgroundLoad)]
[Guid(PackageGuidString)]
Expand Down
18 changes: 18 additions & 0 deletions src/Microsoft.VisualStudio.SlnGen.Extension/VSPackage.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/Microsoft.VisualStudio.SlnGen.Extension/VSPackage.resx
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,10 @@
<data name="2" xml:space="preserve">
<value>Traversal Project Files (dirs.proj);dirs.proj</value>
</data>
<data name="110" xml:space="preserve">
<value>SlnGen</value>
</data>
<data name="112" xml:space="preserve">
<value>Generates a solution file containing all of a project's references and adds support for opening traversal projects (dirs.proj) in Visual Studio.</value>
</data>
</root>
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<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">
<Metadata>
<Identity Id="SlnGen.7f489eef-951a-410b-a5b8-777ee38447d5" Version="|%CurrentProject%;GetBuildVersion|" Language="en-US" Publisher="Microsoft Corporation" />
<DisplayName>SlnGen</DisplayName>
<Description xml:space="preserve">When opening a single project, generates a solution file containing all of the project's references. Also adds support for opening traversal projects (dirs.proj) in Visual Studio.</Description>
<MoreInfo>https://github.com/Microsoft/SlnGen</MoreInfo>
<Preview>true</Preview>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
</Dependencies>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,18.0)" DisplayName="Visual Studio core editor" />
</Prerequisites>
<Assets>
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" />
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
</Assets>
<Metadata>
<Identity Id="Microsoft.VisualStudio.SlnGen.Extension" Version="|%CurrentProject%;GetBuildVersion|" Language="en-US" Publisher="Microsoft" />
<DisplayName>SlnGen</DisplayName>
<Description xml:space="preserve">Generates a solution file containing all of a project's references and adds support for opening traversal projects (dirs.proj) in Visual Studio.</Description>
<MoreInfo>https://github.com/microsoft/slngen</MoreInfo>
<License>LICENSE.txt</License>
<Preview>true</Preview>
<Icon>Icon.png</Icon>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
</Dependencies>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,18.0)" DisplayName="Visual Studio core editor" />
</Prerequisites>
<Assets>
<Asset Type="Microsoft.VisualStudio.MefComponent" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" />
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
</Assets>
</PackageManifest>

0 comments on commit 31d9b11

Please sign in to comment.