Roslyn Project Templates VS 2015 RC - visual-studio

I can't find any Project Templates for Roslyn Extensions in the current released Visual Studio 2015 RC. Are they not available in the Release Candidate or just well hidden?
I am missing the whole Roslyn folder.
I have installed the Visual Studio 2015 SDK RC, do I still miss something?

They have moved to the Extensibility folder, and don't have Roslyn in the name. Instead they are named after what they actually do.
Additionally, they aren't part of the base Visual Studio install. You need to install the VS SDK, and the Roslyn templates VSIX at https://visualstudiogallery.msdn.microsoft.com/e2e07e91-9d0b-4944-ba40-e86bcbec1599.

Related

Visual Studio 2022 is unable to install extensions

I want download AsmDude extension for Visual Studio 2022 assembly highlighting.
But it show me an error
Logs:
How to solve the problem?
The extension doesn't include compatibility for x64, which visual studio 2022 now is and it doesn't include compatibility for the new major version of visual studio 2022. Each extension ships with an extension manifest in which the author declares which requirements the extension has.
Once the extension is updated by the author it should become installable.
For now you'll need to stick to visual studio 2019.

Setup projects on Visual Studio 2022

In Visual studio 2019 and earlier versions Setup projects were part of the project templates I could add to any solution.
Now I've tried to open an old solution in VS 2022 and it says there is no compatibility for this kind of project.
Is that so, or am I missing something? Is there anything I can do about it?
I know there are some new solutions for installers integrated with VS, but Setup project just works for me and I never felt the need to change.
For Visual Studio 2022 support for Visual Studio Installer Projects must now be installed as an official Microsoft extension from here:
https://marketplace.visualstudio.com/items?itemName=VisualStudioClient.MicrosoftVisualStudio2022InstallerProjects
I found this by googling "Visual Studio 2022 Installer Project".

I upgraded my project from visual studio 2010 to visual studio 2015 but i is there any need to upgrade the msbuild

I am upgrading my project from visual studio 2010 to visual studio 2015
please tell me is there any need to upgraded the ms-build project.
Follow these steps to upgrade project created in earlier versions of VS this may help you:
In VS, on the File menu, click Open and then click Project/Solution,
Web Site, or File, depending on the kind of project you are
upgrading.
In the Open Project dialog box, select a project file, and then click
Open. If VS detects that the project or file was created in an earlier version of Visual Studio, the Visual Studio Conversion Wizard opens.
Complete the Visual Studio Conversion Wizard.
Refrence
is there any need to upgraded the ms-build project?
The answer is No. That because since start with Visual Studio 2013, Visual Studio team made a number of exciting changes to MSBuild for Visual Studio 2013. Now the 2013 version of MSBuild will ship as a part of Visual Studio instead of the .NET Framework. See this blog MSBuild is now part of Visual Studio! for more detail info.
You can find the MSBuild.exe from the directory: C:\Program Files (x86)\MSBuild\14.0\Bin
Since it ships as a part of Visual Studio 2013, just as Michael said, MSBuild upgrade should happen with the VS installation. So you do not need to upgrade the MSBuild separately.
Hope this helps.

VSIX visual studio 2010 compatible

I am trying to extend some functionality using VSIX.
When I double click on the VSIX installer it, the following screen pops up. Visual studio 2013 is the only option it provides. But we use Visual studio 2010 for our development.
Can something suggest how to modify the manifest file and steps to make this VSIX 2010 compatible?
Thank you
No, you will most likely have to get the source code of the existing extension, and then build a new one for vs 2010 using the 2010 sdk
As ErikEJ already said, you need to use VSIX Manifest Version 1.
I did it using the instructions here. There is documentation of VSIX Manifest Version 1 here.
You must target Framework Version 4, but there is no need to build with Visual Studio 2010.

Roslyn VSIX analyzer does not work with VS2013

Short story - my Roslyn .vsix analyzer does not do anything in VS 2013.
I have a VS extension (.vsix) built with Roslyn, quite close to the ones described here tutorial for analyzers and tutorial for fixes .
I used VS 2015 Community to develop the extension. It works ok in debug instance of VS 2015 and, when I install the resulting .vsix, in normal VS 2015.
I have configured the manifest to also allow installation into VS 2012 and 2013 and installed it into VS 2013 Community on the same machine, however, it doesn't work. It shows up in the list of installed extensions (and the studio was launched after it was installed), but does not show diagnostics and code fix suggestions.
Am I doing something wrong, or are Roslyn .vsix extensions only for VS 2015 and later?
Roslyn was only introduced to VS in VS2015, so no, Roslyn based VSIXes will not work in VS2013.

Resources