Custom visual studio extension error: "the extension manifest is invalid" - c#

I am trying to edit a small and simple visual studio extension project. Everything builds, but when I double click on the vsix file to install, I get a popup with the message "the extension manifest is invalid". What could cause this/where can I start looking?
I am developing in and targeting Visual Studio 2012.

this error will occur when the target VS edition does not present in your computer. so please check configuration for "Supported VS Edition" of vsixmanifest file. There are several editions: Ultimate, Premium, Professional and Express Edition. Be sure that you have the supported VS edition being configured installed in your computer.
hope this will be helpful.

Related

visual studio 2017 unsupported file on a project built in VS 2017 - csproj issue

the issue i am having is, on a project i've been working on for a week, ONLY IN VS 2017, it now is unsupported. this is the error code i am getting:
Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- theFileThatIsAnIssue.csproj"
No changes required
These projects can be opened in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
- MyProjectTitle, "C:\Users\meAsAUser\Desktop\MyProjectTitle\MyProjectSolution.sln"
I have gone through and deleted all .user files, tried cloning from my remote repo, opened the sln in notepad to make sure it was any CPU (it is), and restarted both VS and my computer.
it has now put the little "15" marker on all the solutions on my computer, which means this will be an issue for my other projects as well.

How to use VersionControlEx in Visual Studio 2017?

I have a Visual Studio 2013 extension that has a reference to Microsoft.VisualStudio.TeamFoundation.VersionControl.dll, from which the following type can be obtained:
Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlEx
Today I uninstalled all previous installations of Visual Studio and then installed Visual Studio 2017 Enterprise with the options ".NET desktop development" and "Visual Studio extension development".
I opened the project with Visual Studio 2017 and had to replace some of the references (EnvDTE, envdte80, Microsoft.VisualStudio.Shell.15, etc) and also installed the nuget package Microsoft.TeamFoundation.VersionControl.All.
Unfortunately the namespace Microsoft.VisualStudio.TeamFoundation and therefore VersionControlEx are not recognized.
I have searched the file on my machine with FileLocator Lite and it does not exist.
Any idea how has this changed in Visual Studio 2017?
I basically to access the PendingChanges window.
Thanks in advance.
By doing a search, I was able to find the file in there:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer
I also found copies associated with other versions of Visual Studio. Given the path of the file, it appears to be included along with Team Explorer.
I suspect the reason you were not able to find the file on your machine is that you had uninstalled your prior versions of Visual Studio and Visual Studio 2017 did not release with Team Explorer.
If you update your version of Visual Studio or you run the standalone installer, I expect that you will be able to find the file.

error while create Installation setup in vs 2015

I am using visual studio 2015 community version.
I have create one windows application(desktop) with c#.
While i am trying to publish it, It shows following error
An error occurred while signing: SignTool.exe was not found at path C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\signtool.exe.
What does its mean? and where to find this signtool.exe.
i had this problem once. Check if there are updates available for VS and widows 7. I have to had service pack one of windows 7. or visual studio. then the problem was solved.

"Visual Studio" "Extensions and Updates" compatibility between versions & years. Is it safe to tell VS to install it anyway?

Q: Modifying a VSIX file to declare it compatible with Visual Studio Comunity 2015. Is this a good idea, and if so, how can I do this?
More information, a specific example:
I'm trying to add either of the following to Visual Studio Community 2015 on Windows 8.1:
For VS 2010: https://visualstudiogallery.msdn.microsoft.com/ba57efa3-4061-4cdf-97f5-51715c4f120a
For VS 2012 & 2013: https://visualstudiogallery.msdn.microsoft.com/b61cc443-4790-42b7-b7ab-2691119667d2
The file provided opens with "Microsoft Visual Studio Version Selector".
Specific example continued, Installation Failed:
I'm then presented with an "Installation Failed" message and a log file, these are the important parts:
Name: SharpGL
...
Supported Products:
Microsoft.VisualStudio.Ultimate
Microsoft.VisualStudio.Premium
Microsoft.VisualStudio.Pro
Microsoft.VisualStudio.VCSExpress
...
This does not seem to include my product, but then:
Searching for applicable products...
Found installed product - Microsoft Visual Studio Community 2015
Found installed product - Microsoft Visual Studio 2015 Shell (Integrated)
Found installed product - Global Location
Great, I have a compatible product! However:
VSIXInstaller.NoApplicableSKUsException:
This extension is not installable on any currently installed products.
at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)
at VSIXInstaller.App.InitializeInstall()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Confusing!
VS Community appears to have replaced and be very similar to VS Express. Today trying to download VS Express from the Microsoft website yields only VS Community.
VS Community Edition was released as a replacement for VS Express Editions.
Express editions don't support Extensions / Plugins.
for VXIS packages the version of VS supported is decided by the package itself when you execute it to install (it's basically msi installation package that gives you a list of supported versions)
Usually the supported versions is in the manifest inside the package, getting support in for a different version I believe requires a fresh compile.
In other words ...
If you want to install a VSIX extension in to a particular version of VS you need the version of the VSIX that matches that version of VS

Visual Studio 2015 Enterprise installation error

I am having difficulty in installing Visual Studio 2015 Enterprise (Update 1). After installation completes, I get a warning saying "Not all features installed correctly". See below snip for details
In control panel programs list I found that VC++ 14.0.23506 (both x64 and x86) are installed.
I am able to open visual studio, but when I try to create a new project I get following error regrading c# compiler error
I know performing a clean install again is a solution, but I have poor internet speed and would like to avoid downloading the whole thing again. Any help in fixing this would be great.
PS: I have VS 2013 professional and VS 2012 express also installed, both of which are working fine
Try uninstalling Visual Studio 2015, those VC++ 2015 x86 and x64 runtimes, and reinstalling Visual Studio 2015. Looks like it didn't finish installing properly because you already had the runtimes installed.

Categories

Resources