How to share a custom Visual Studio template - visual-studio

I am making a custom Visual Studio project template for test automation and want to make it available for download through visual studio to my team to avoid having to manually hand the .zip file around or store it in a file-share. Is there a way to do this, perhaps in a manner similar to how we can add packages to the nuget feed to make them available to our team/other teams?

Related

Visual Studio macOS can't generate HTML documentation for Xamarin.Forms app

I have created a Xamarin.Forms application on a Mac, and I understand that there's a way to generate the methods and classes documentation into HTML. But most of the tools mentioned online do not seem to work on Visual Studio for macOS.
I've tried the recommended eVisual Studio Extensions MacOS version of Visual Studio does not seem to be able to implement Visual Studio extensions ( .vsix files).
Is there a way to generate documentation in Visual Studio?
Or do I have to move the project to a Windows machine with Visual Studio to Generate the docs?
There are a number of cross-platform html generation tools that support the XML document schema that MSBuild produces via:
globally in a solution via GenerateDocumentationFile in a prop file
the DocumentationFile filename property in individual projects .csproj
Tools such as Doxygen, DocFX, etc.. run on Windows|macOS|Linux, but these tools, outside of Windows, are mainly cmd-line based.
The ones that I use:
https://dotnet.github.io/docfx/
http://www.doxygen.nl
Do a Google/Bing for more alternatives.

Is it possible to work on the same project in Visual Studio from several places online?

I would like to be able to do a collaborative work in Visual Studio. For now I know only how to create and access the project off-line. Is it possible to work on a project on-line?
You could use a version control system, like GitHub. Visual Studio is already integrated to work with GitHub or other VCSs.

Use Visual Studio for custom script language

We are using a commercial software that has its own scripting language with which you can customize the product. It is very tedious to write code in it without any help from an IDE and it has its own compiler.
Is it possible to use Visual Studio and create an environment for me to write scripts in this language and get the help of intellisense and syntax highlightning and other good things you find in an IDE? Ideally I would like to bind a button in VS to launch the external compiler and compile the code so I don't have to switch windows all the time as well.
If this is possible is it a very hard thing to accomplish?
Yes, this is certainly possible. You need to create a Visual Studio Shell add-in with custom language services and text editors. You need to install the appropriate Visual Studio SDK and then you'd continue to:
Create a custom Editor and/or designer
Add a language service
Add Project and Item templates
You're allowed to ship Visual Studio Isolated Shell with your application (license required and there are some limitations) so that your users don't need to have Visual Studio Professional installed.
There are a number of open-source projects that provide a custom editor, language services etc in Visual Studio, these could provide a nice place to research how things are done, next to teh Visual Studio SDK documentation:
PyTools, which is a Visual Studio editor for IronPython
Phalanger, which contains a Visual Studio editor for PHP
PoShTools, a Visual Studio service for PowerShell editing right inside Visual Studio
You'll probably want to dig into MsBuild as well, since Visual Studio will expect you to create a project file if you want to edit a collection of files and compile them. MsBuild could in turn call your own compiler, like it calls csc to compile C# code for example.
Creating Project Types

Automating VSIX deployment to Visual Studio Galleries

We would like to automate the upload of Visual Studio Extensions that we have written to the Visual Studio Gallery.
We currently use a combination of CruiseControl.Net, Msbuild files and Powershell scripts to automate the deployment of all the bits and pieces of our framework.
However we would like to automate the deployment of the development tools that we have created to the Visual Studio Gallery.
These tools are built using Visual Studio 2012.
Thanks for any helpful advice or pointers.
It's possible to do this with Canopy and FAKE. I just did it in https://github.com/fsprojects/Paket.VisualStudio/blob/master/build.fsx#L177
Unfortunately there is no good way to do this. There is no publicly exposed API for uploading extensions. The only way I'm aware of is to create an instance of a web browser and simply automate the process of filling out the forms and navigating through the menus.

Visual studio 2010: advanced project templates techniques

Ok, i already know how to create a new project template using export template feature from visual studio 2010. Now, what I'd like to know is how can I create an item or add a reference to an dll dynamically based on user selected option in wizard interface.
I know that is possible to use conditional and loops within visual studio project template, but how can I change the output project?

Resources