diff --git a/build/extension-manifest.json b/build/extension-manifest.json deleted file mode 100644 index 96821920f..000000000 --- a/build/extension-manifest.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$schema": "http://json.schemastore.org/vsix-publish", - "categories": [ - "Coding" - ], - "identity": { - "internalName": "Meziantou-Analyzer", - "tags": [ - "analyzer" - ] - }, - "overview": "../README.md", - "priceCategory": "free", - "publisher": "Meziantou", - "private": false, - "qna": true, - "repo": "https://github.com/meziantou/Meziantou.Analyzer" -} \ No newline at end of file diff --git a/build/publish-vsix.ps1 b/build/publish-vsix.ps1 deleted file mode 100644 index aa3102e23..000000000 --- a/build/publish-vsix.ps1 +++ /dev/null @@ -1,14 +0,0 @@ -$PersonalAccessToken = $args[0] -$VsixPath = "$PSScriptRoot\..\src\Meziantou.Analyzer.Vsix\bin\Release\Meziantou.Analyzer.vsix" -$ManifestPath = "$PSScriptRoot\extension-manifest.json" - -$Installation = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -prerelease -format json | ConvertFrom-Json -$Path = $Installation.installationPath - -Write-Output $Path -$VsixPublisher = Join-Path -Path $Path -ChildPath "VSSDK\VisualStudioIntegration\Tools\Bin\VsixPublisher.exe" -Resolve - -Write-Output $VsixPublisher -Test-Path $VsixPublisher - -& $VsixPublisher publish -payload $VsixPath -publishManifest $ManifestPath -personalAccessToken $PersonalAccessToken -ignoreWarnings "VSIXValidatorWarning01,VSIXValidatorWarning02,VSIXValidatorWarning08" diff --git a/build/update-version.ps1 b/build/update-version.ps1 deleted file mode 100644 index b61c656e7..000000000 --- a/build/update-version.ps1 +++ /dev/null @@ -1,24 +0,0 @@ -$VerbosePreference="Continue" -$ErrorActionPreference="Stop" - -$version = $args[0] -if (!$version) { - $version = "0.0.0" -} - -Write-Output "Version: $version" - -# Update NuGet package version -$FullPath = Resolve-Path $PSScriptRoot\..\src\Meziantou.Analyzer\Meziantou.Analyzer.csproj -Write-Output $FullPath -[xml]$content = Get-Content $FullPath -$packageVersion = Select-Xml -Xml $content -XPath /Project/PropertyGroup/PackageVersion -$packageVersion.Node.InnerText = $version -$content.Save($FullPath) - -# Update VSIX version -$FullPath = Resolve-Path $PSScriptRoot\..\src\Meziantou.Analyzer.Vsix\source.extension.vsixmanifest -Write-Output $FullPath -[xml]$content = Get-Content $FullPath -$content.PackageManifest.Metadata.Identity.Version = $version -$content.Save($FullPath)