Giter Club home page Giter Club logo

extensionscripts's Introduction

Automation scripts for Visual Studio extensions

If you are building Visual Studio extensions (VSIX) then this is for you.

This script can do the following:

  1. increment

extensionscripts's People

Contributors

13thirteen avatar adilmughal avatar conniey avatar dalibormesaric avatar dbolkensteyn avatar duncansmart avatar gep13 avatar jberezanski avatar madskristensen avatar reduckted avatar sayedihashimi avatar tom-englert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

extensionscripts's Issues

Add URL parameter for README.md location

Corresponds to madskristensen/VsixGallery#10 and madskristensen/VsixGallery#21

I've added a readmeUrl query parameter to the upload API where you can specify the URL of the readme file. It can be relative (in which case it's assumed to be on GitHub) or absolute.

I'm not sure exactly what's needed in vsix.ps1, but I imagine the Vsix-PublishToGallery function would at least need a new optional parameter that allows you to specify the URL of the readme file.

If you didn't specify a readme URL, then perhaps the script could determine the name of the branch (master, main, develop, etc.) and specify the readme URL as master/README.md or main/README.md, etc.

Vsix-UpdateBuildVersion support for solutions with multiple source.extension.vsixmanifest files

Thanks for your very usefull build scripts!

With the breaking changes form VS 2022, I often have to create two versions of an extension: one for VS2019 and before and one for VS2022. These share the same code and the same solution, but build with different project files and manifest files.

Currently Vsix-UpdateBuildVersion only processess the first manifest file and leaves the second one alone.

It would be nice to have all source.extension.vsixmanifest processed.

Vsix-PushArtifacts and Vsix-PublishToGallery crash on encountering a folder that ends with .Vsix

Here's what happens when Vsix-PushArtifacts is invoked when vsix project folder is called Something.Vsix: https://ci.appveyor.com/project/HellBrick/hellbrick-refactorings/build/1.2.4#L37

I have a partial fix that you might find useful at HellBrick@6f9d360. It doesn't fix Vsix-PublishToGallery though (which suffers from the same problem): I've found it's easier to just do Vsix-PushArtifacts -publishToGallery instead of messing with Vsix-PublishToGallery =)

Support for semver!

I'm setting appveyor to use the version format "1.0.0.{build}" (Major.Minor.Patch.Build), which is what I'm using on my extension's manifest.

However, after the build is done the extension version is changed to the format "Major.Minor.Build"

Tried to modify the script myself, but my Powershell skills didn't help me!

Any ideas?

Problem installing Chocolatey Package version of Visual Studio Extensions

When installing something like trailingwhitespace, when Visual Studio 2017 is installed, results in the following:

capture

This is due to the fact that the Install-ChocolateyVsixPackage cmdlet isn't able to detect the currently installed version of Visual Studio.

There is a Visual Studio Chocolatey Extension package that has an API compatible cmdlet that handles the additional work that is required to make this installation work:

https://chocolatey.org/packages/chocolatey-visualstudio.extension

Namely, the Install-VisualStudioVsixExtension cmdlet.

I am working on a PR to update the Extension Script to use this cmdlet instead of the one that is currently being used.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.