Mark the SecretManager VSIX as IsProductComponent=true

- Update extension to be per-machine, and make installation folder more-specific
 - Update the VSIX identity
 - Set the artifact category as shipoob
This commit is contained in:
Nate McMaster 2017-12-20 12:54:47 -08:00
parent aac7ad71e1
commit 57fc6833fe
4 changed files with 22 additions and 3 deletions

View File

@ -7,6 +7,8 @@
<VSIXName>Microsoft.VisualStudio.SecretManager</VSIXName> <VSIXName>Microsoft.VisualStudio.SecretManager</VSIXName>
<VSIXProject>$(RepositoryRoot)tooling\$(VSIXName)\$(VSIXName).csproj</VSIXProject> <VSIXProject>$(RepositoryRoot)tooling\$(VSIXName)\$(VSIXName).csproj</VSIXProject>
<VSIXOutputPath>$(BuildDir)$(VSIXName).vsix</VSIXOutputPath> <VSIXOutputPath>$(BuildDir)$(VSIXName).vsix</VSIXOutputPath>
<VSIXManifestOutputPath>$(BuildDir)$(VSIXName).json</VSIXManifestOutputPath>
<VSIXArtifactCategory>shipoob</VSIXArtifactCategory>
</PropertyGroup> </PropertyGroup>
<Target <Target
@ -19,6 +21,15 @@
<ArtifactInfo Include="$(VSIXOutputPath)"> <ArtifactInfo Include="$(VSIXOutputPath)">
<ArtifactType>VsixPackage</ArtifactType> <ArtifactType>VsixPackage</ArtifactType>
<Version>$(PackageVersion)</Version> <Version>$(PackageVersion)</Version>
<Category>$(VSIXArtifactCategory)</Category>
<PackageId>$(VSIXName)</PackageId>
</ArtifactInfo>
<ArtifactInfo Include="$(VSIXManifestOutputPath)">
<ArtifactType>JsonFile</ArtifactType>
<Category>$(VSIXArtifactCategory)</Category>
<Dependencies>$(VSIXName).json</Dependencies>
<PackageId>$(VSIXName)</PackageId>
</ArtifactInfo> </ArtifactInfo>
</ItemGroup> </ItemGroup>
</Target> </Target>

View File

@ -6,6 +6,7 @@
<DotNetCoreRuntime Include="$(MicrosoftNETCoreApp20PackageVersion)" /> <DotNetCoreRuntime Include="$(MicrosoftNETCoreApp20PackageVersion)" />
<DotNetCoreRuntime Include="$(MicrosoftNETCoreApp21PackageVersion)" /> <DotNetCoreRuntime Include="$(MicrosoftNETCoreApp21PackageVersion)" />
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>
<!-- These properties are use by the automation that updates dependencies.props --> <!-- These properties are use by the automation that updates dependencies.props -->
<LineupPackageId>Internal.AspNetCore.Universe.Lineup</LineupPackageId> <LineupPackageId>Internal.AspNetCore.Universe.Lineup</LineupPackageId>

View File

@ -3,6 +3,12 @@
<PropertyGroup> <PropertyGroup>
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion> <MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<!-- Required to place the vsix in the right location by WTE MSI -->
<ExtensionInstallationRoot>CommonExtensions</ExtensionInstallationRoot>
<ExtensionInstallationFolder>Microsoft\ASP.NET Core\UserSecrets</ExtensionInstallationFolder>
<IsProductComponent>true</IsProductComponent>
<ImportDirectoryBuildProps>False</ImportDirectoryBuildProps> <ImportDirectoryBuildProps>False</ImportDirectoryBuildProps>
<ImportDirectoryBuildTargets>False</ImportDirectoryBuildTargets> <ImportDirectoryBuildTargets>False</ImportDirectoryBuildTargets>
<GenerateUserSecretsAttribute>False</GenerateUserSecretsAttribute> <GenerateUserSecretsAttribute>False</GenerateUserSecretsAttribute>

View File

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?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"> <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> <Metadata>
<Identity Id="Microsoft.VisualStudio.SecretManager.11eea7f6-8d34-4759-b618-b40f454266d4" Version="|%CurrentProject%;GetBuildVersion|" Language="en-US" Publisher="Microsoft" /> <Identity Id="Microsoft.VisualStudio.SecretManager" Version="|%CurrentProject%;GetBuildVersion|" Language="en-US" Publisher="Microsoft" />
<DisplayName>Microsoft.VisualStudio.SecretManager</DisplayName> <DisplayName>ASP.NET Core User Secrets Extension</DisplayName>
<PackageId>Microsoft.VisualStudio.SecretManager</PackageId>
<Description xml:space="preserve">Enables IVsProjectSecrets for ASP.NET Core projects that use Microsoft.Extensions.Configuration.UserSecrets.</Description> <Description xml:space="preserve">Enables IVsProjectSecrets for ASP.NET Core projects that use Microsoft.Extensions.Configuration.UserSecrets.</Description>
</Metadata> </Metadata>
<Installation> <Installation AllUsers="true">
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[15.0.26228.04,)" /> <InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[15.0.26228.04,)" />
</Installation> </Installation>
<Dependencies> <Dependencies>