Co-authored-by: Matteo Prosperi <maprospe@microsoft.com>
This commit is contained in:
Matteo Prosperi 2023-08-08 10:46:59 -07:00 коммит произвёл GitHub
Родитель 870056fe02
Коммит 58f0fac0d0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
26 изменённых файлов: 159 добавлений и 28 удалений

Просмотреть файл

@ -13,9 +13,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.6.36389" ExcludeAssets="runtime" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.8.13-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.8.13-preview-1" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -12,6 +12,16 @@ using Microsoft.VisualStudio.Extensibility;
[VisualStudioContribution]
public class CommandParentingSampleExtension : Extension
{
/// <inheritdoc/>
public override ExtensionConfiguration ExtensionConfiguration => new()
{
Metadata = new(
id: "CommandParentingSample.c30b7870-76bc-4ef6-93e8-15b9a54c9e2b",
version: this.ExtensionAssemblyVersion,
publisherName: "Microsoft",
displayName: "Command Parenting Sample Extension"),
};
/// <inheritdoc/>
protected override void InitializeServices(IServiceCollection serviceCollection)
{

Просмотреть файл

@ -13,8 +13,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.8.13-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.8.13-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.SDK" Version="17.6.36389" ExcludeAssets="runtime" />
</ItemGroup>

Просмотреть файл

@ -12,8 +12,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.8.13-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.8.13-preview-1" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -12,6 +12,16 @@ using Microsoft.VisualStudio.Extensibility;
[VisualStudioContribution]
public class DialogSampleExtension : Extension
{
/// <inheritdoc/>
public override ExtensionConfiguration ExtensionConfiguration => new()
{
Metadata = new(
id: "DialogSampleExtension.8709efb4-fe22-4848-8533-594f444861a1",
version: this.ExtensionAssemblyVersion,
publisherName: "Microsoft",
displayName: "Dialog Sample Extension"),
};
/// <inheritdoc/>
protected override void InitializeServices(IServiceCollection serviceCollection)
{

Просмотреть файл

@ -12,8 +12,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.8.13-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.8.13-preview-1" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -12,6 +12,16 @@ using Microsoft.VisualStudio.Extensibility;
[VisualStudioContribution]
public class DocumentSelectorSampleExtension : Extension
{
/// <inheritdoc/>
public override ExtensionConfiguration ExtensionConfiguration => new()
{
Metadata = new(
id: "DocumentSelectorSampleExtension.541ed9b9-4dfa-4e0a-8184-65c09ea44343",
version: this.ExtensionAssemblyVersion,
publisherName: "Microsoft",
displayName: "Document Selector Sample Extension"),
};
/// <inheritdoc/>
protected override void InitializeServices(IServiceCollection serviceCollection)
{

Просмотреть файл

@ -12,8 +12,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.8.13-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.8.13-preview-1" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -12,6 +12,16 @@ using Microsoft.VisualStudio.Extensibility;
[VisualStudioContribution]
public class InsertGuidExtension : Extension
{
/// <inheritdoc/>
public override ExtensionConfiguration ExtensionConfiguration => new()
{
Metadata = new(
id: "InsertGuid.c5481000-68da-416d-b337-32122a638980",
version: this.ExtensionAssemblyVersion,
publisherName: "Microsoft",
displayName: "Insert Guid Sample Extension"),
};
/// <inheritdoc/>
protected override void InitializeServices(IServiceCollection serviceCollection)
{

Просмотреть файл

@ -12,8 +12,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.8.13-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.8.13-preview-1" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -15,6 +15,16 @@ using Microsoft.VisualStudio.Extensibility.Editor;
[VisualStudioContribution]
public class MarkdownLinterExtension : Extension
{
/// <inheritdoc/>
public override ExtensionConfiguration ExtensionConfiguration => new()
{
Metadata = new(
id: "MarkdownLinter.0cf26ba2-edd5-4419-8646-a55d0a83f7d8",
version: this.ExtensionAssemblyVersion,
publisherName: "Microsoft",
displayName: "Markdown Linter Sample Extension"),
};
/// <inheritdoc />
protected override ResourceManager? ResourceManager => Strings.ResourceManager;

Просмотреть файл

@ -12,8 +12,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.8.13-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.8.13-preview-1" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -13,6 +13,16 @@ using Microsoft.VisualStudio.Extensibility;
[VisualStudioContribution]
public class OutputWindowSampleExtension : Extension
{
/// <inheritdoc/>
public override ExtensionConfiguration ExtensionConfiguration => new()
{
Metadata = new(
id: "OutputWindowSample.f739efb2-fdb2-4ecf-b857-d8e11fd1e5d3",
version: this.ExtensionAssemblyVersion,
publisherName: "Microsoft",
displayName: "Output Window Sample Extension"),
};
/// <inheritdoc />
protected override ResourceManager? ResourceManager => Strings.ResourceManager;

Просмотреть файл

@ -13,8 +13,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.8.13-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.8.13-preview-1" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -12,6 +12,16 @@ using Microsoft.VisualStudio.Extensibility;
[VisualStudioContribution]
internal class RegexMatchVisualizerExtension : Extension
{
/// <inheritdoc/>
public override ExtensionConfiguration ExtensionConfiguration => new()
{
Metadata = new(
id: "RegexMatchVisualizer.29d15448-6b97-42e5-97c7-bb12ded13b89",
version: this.ExtensionAssemblyVersion,
publisherName: "Microsoft",
displayName: "Regex Match Debugger Visualizer Sample Extension"),
};
/// <inheritdoc/>
protected override void InitializeServices(IServiceCollection serviceCollection)
{

Просмотреть файл

@ -12,8 +12,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.8.13-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.8.13-preview-1" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -12,6 +12,16 @@ using Microsoft.VisualStudio.Extensibility;
[VisualStudioContribution]
public class SimpleRemoteCommandSampleExtension : Extension
{
/// <inheritdoc/>
public override ExtensionConfiguration ExtensionConfiguration => new()
{
Metadata = new(
id: "SimpleRemoteCommandSample.585f62b4-1416-4ed4-a7e8-2d9b2f37f01e",
version: this.ExtensionAssemblyVersion,
publisherName: "Microsoft",
displayName: "Simple Remote Command Sample Extension"),
};
/// <inheritdoc/>
protected override void InitializeServices(IServiceCollection serviceCollection)
{

Просмотреть файл

@ -12,8 +12,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.8.13-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.8.13-preview-1" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -12,6 +12,16 @@ using Microsoft.VisualStudio.Extensibility;
[VisualStudioContribution]
public class ToolWindowSampleExtension : Extension
{
/// <inheritdoc/>
public override ExtensionConfiguration ExtensionConfiguration => new()
{
Metadata = new(
id: "ToolWindowSampleExtension.4ca466cb-dc8d-4216-8323-b5c45f8e0da5",
version: this.ExtensionAssemblyVersion,
publisherName: "Microsoft",
displayName: "Tool Window Sample Extension"),
};
/// <inheritdoc/>
protected override void InitializeServices(IServiceCollection serviceCollection)
{

Просмотреть файл

@ -12,8 +12,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.8.13-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.8.13-preview-1" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -12,6 +12,16 @@ using Microsoft.VisualStudio.Extensibility;
[VisualStudioContribution]
public class UserPromptSampleExtension : Extension
{
/// <inheritdoc/>
public override ExtensionConfiguration ExtensionConfiguration => new()
{
Metadata = new(
id: "UserPromptSample.5948e29e-4d51-4b7a-91e4-e574ee4f3ccd",
version: this.ExtensionAssemblyVersion,
publisherName: "Microsoft",
displayName: "User Prompt Sample Extension"),
};
/// <inheritdoc/>
protected override void InitializeServices(IServiceCollection serviceCollection)
{

Просмотреть файл

@ -12,8 +12,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.8.13-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.8.13-preview-1" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -3,6 +3,7 @@
namespace VSProjectQueryAPISample;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.Extensibility;
/// <summary>
@ -11,4 +12,19 @@ using Microsoft.VisualStudio.Extensibility;
[VisualStudioContribution]
public class VSProjectQueryAPISampleExtension : Extension
{
/// <inheritdoc/>
public override ExtensionConfiguration ExtensionConfiguration => new()
{
Metadata = new(
id: "VSProjectQueryAPISample.e1fc7832-0ad7-4fc2-bf23-c7c5c6e95047",
version: this.ExtensionAssemblyVersion,
publisherName: "Microsoft",
displayName: "Project Query API Sample Extension"),
};
/// <inheritdoc/>
protected override void InitializeServices(IServiceCollection serviceCollection)
{
base.InitializeServices(serviceCollection);
}
}

Просмотреть файл

@ -3,6 +3,7 @@
namespace WordCountMarginSample;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.Extensibility;
/// <summary>
@ -12,4 +13,19 @@ using Microsoft.VisualStudio.Extensibility;
[VisualStudioContribution]
internal class WordCountMarginSampleExtension : Extension
{
/// <inheritdoc/>
public override ExtensionConfiguration ExtensionConfiguration => new()
{
Metadata = new(
id: "WordCountMarginSample.9d845a9e-a3a9-4efe-97f9-002a3945f9f5",
version: this.ExtensionAssemblyVersion,
publisherName: "Microsoft",
displayName: "Word Count Margin Sample Extension"),
};
/// <inheritdoc/>
protected override void InitializeServices(IServiceCollection serviceCollection)
{
base.InitializeServices(serviceCollection);
}
}

Просмотреть файл

@ -12,8 +12,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.7.19-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Sdk" Version="17.8.13-preview-1" />
<PackageReference Include="Microsoft.VisualStudio.Extensibility.Build" Version="17.8.13-preview-1" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -41,7 +41,7 @@ Documentation is currently available for the following:
## Install VisualStudio.Extensibility
The current VisualStudio.Extensibility preview works with Visual Studio 2022 version 17.7 Preview 1 or higher with the `.Net desktop development` workload to be installed.
The current VisualStudio.Extensibility preview works with Visual Studio 2022 version 17.8 Preview 1 or higher with the `.Net desktop development` workload to be installed.
Install the [VisualStudio.Extensibility Project System](https://marketplace.visualstudio.com/items?itemName=vsext.gladstone) extension. This extension contains project and item templates, and it will allow you to debug extension projects using F5.