diff --git a/README.md b/README.md index 26355da..ad05978 100644 --- a/README.md +++ b/README.md @@ -310,43 +310,6 @@ Press F5 to launch the Visual Studio Experimental Instance with your extension l Extensions are only deployed to the Experimental Instance when building inside Visual Studio. This prevents errors when building from the command line. -### 📋 Publish Manifest Generation - -The SDK automatically generates a `publish.manifest.json` file for publishing to the VS Marketplace. All values are extracted from your VSIX manifest: - -```json -{ - "$schema": "http://json.schemastore.org/vsix-publish", - "categories": [ - "your", "tags", "here" - ], - "identity": { - "internalName": "MyExtension" - }, - "overview": "README.md", - "publisher": "Your Name", - "qna": true, - "repo": "https://github.com/you/your-repo" -} -``` - -| JSON Field | Source | -|------------|--------| -| `publisher` | `Identity/@Publisher` in VSIX manifest | -| `categories` | `Tags` element in VSIX manifest | -| `repo` | `MoreInfo` element in VSIX manifest | -| `internalName` | Project name | -| `overview` | Configurable via `VsixPublishOverview` property (default: `README.md`) | -| `qna` | Configurable via `VsixPublishQnA` property (default: `true`) | - -To disable publish manifest generation: - -```xml - - false - -``` - ## ⚙️ Configuration ### Properties @@ -360,9 +323,6 @@ To disable publish manifest generation: | `EnableDefaultVsixItems` | `true` | Auto-include VSIX-related files | | `EmitCompilerGeneratedFiles` | `true` | Write generated source files to disk | | `CompilerGeneratedFilesOutputPath` | `Generated/` | Location for generated source files | -| `GeneratePublishManifest` | `true` | Generate `publish.manifest.json` for VS Marketplace | -| `VsixPublishOverview` | `README.md` | Path to README for marketplace overview | -| `VsixPublishQnA` | `true` | Enable Q&A on marketplace listing | > \* Only when `Configuration=Debug` AND building inside Visual Studio diff --git a/samples/SampleExtension/SampleExtension.csproj b/samples/SampleExtension/SampleExtension.csproj index 697dbe4..b10d44c 100644 --- a/samples/SampleExtension/SampleExtension.csproj +++ b/samples/SampleExtension/SampleExtension.csproj @@ -16,7 +16,6 @@ - diff --git a/samples/SampleExtension/publish.manifest.json b/samples/SampleExtension/publish.manifest.json deleted file mode 100644 index fc4ef1a..0000000 --- a/samples/SampleExtension/publish.manifest.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$schema": "http://json.schemastore.org/vsix-publish", - "categories": [ - "sample", "test" - ], - "identity": { - "internalName": "SampleExtension" - }, - "overview": "README.md", - "publisher": "Coding With Calvin", - "qna": true, - "repo": "https://github.com/CodingWithCalvin/VsixSdk" -} diff --git a/src/CodingWithCalvin.VsixSdk/Sdk/Sdk.Vsix.props b/src/CodingWithCalvin.VsixSdk/Sdk/Sdk.Vsix.props index 5ae0c77..97fb2ff 100644 --- a/src/CodingWithCalvin.VsixSdk/Sdk/Sdk.Vsix.props +++ b/src/CodingWithCalvin.VsixSdk/Sdk/Sdk.Vsix.props @@ -99,25 +99,6 @@ 1.0.0 - - - - true - - - README.md - - - true - - - - - - <_VsixNsForPeek><Namespace Prefix='vsix' Uri='http://schemas.microsoft.com/developer/vsx-schema/2011'/> - - - - - - - - - - - - - - - - - - - - - <_VsixTagsNormalized>$(_VsixTags.Replace(', ', ',')) - <_CategoriesJson>$(_VsixTagsNormalized.Replace(',', '", "')) - <_CategoriesJson>"$(_CategoriesJson)" - <_QnAValue Condition="'$(VsixPublishQnA)' == 'true'">true - <_QnAValue Condition="'$(VsixPublishQnA)' != 'true'">false - <_RepoLine Condition="'$(_VsixMoreInfo)' != ''">, - "repo": "$(_VsixMoreInfo)" - <_RepoLine Condition="'$(_VsixMoreInfo)' == ''"> - - - - - <_PublishManifestContent> - - - - - - -