I uploaded an extension to the visual studio online gallery, but when I install it through visual studio I get this exception at the end of the installation
This error only happens when I install it from visual studio. If I download the vsix and double click it to install, I do not see this error.
Any pointers to why this might be happening? Right now I don't have any way to debug this or get logs for this.
This was due to a bad value in the "Getting started guide" field of the vsixmanifest. I discovered this by attaching the vs debugger to the instance of visual studio that was throwing the error and observing the stack trace (after enabling break when CLR exceptions thrown in the debugger).
This was the exception in the debugger
System.NullReferenceException occurred
HResult=-2147467261
Message=Object reference not set to an instance of an object.
Source=Microsoft.VisualStudio.ExtensionManager.Implementation
StackTrace:
at Microsoft.VisualStudio.ExtensionManager.UI.ExtensionManagerWindow.NavigateToGettingStartedGuide(Uri gettingStartedGuideUri)
Related
I am trying to overcome this error in Designer Mode of any ASPX page,
for example, CS203100 out-of-box:
I am not sure when the error began, and not sure if this could be related to any recent Windows Update. I am working with AcumaticaERP version 18.1.102.0048 under VS2015 on Windows 10 Enterprise. The error occurs under TargetFramework 4.5.2 and also after updating to 4.7.1. Any help please would be great, thanks!
We ran into the same issue with a colleague and it turns out that Visual Studio was not running with administrative privileges. It looks like PXLicenseObserver tries to create a log file on initialization and it fails when Visual Studio is not running in Administrator mode.
I'm making a Node.js app in VS 2017 using Node.js Tools for Visual Studio. When an exception happens, I get an empty Exception Unhandled dialog, does anyone know how to correct this? I want to know what the exception is or it's description, so that I can fix it.
You probably should handle the exception. If you want your program to fail with an error, then it's working as intended and you silence the VisualStudio warning with a pragma like this :
#pragma Exception Unhandled
I'm debugging Node.js application on Visual Studio 2015. It works great but there is one issue I find a big time-waster. If my program runs into an error I see the error on the console, but debugger does NOT stop where the error happened. I have to look up the line-number from the console-log then locate that line in the source-code.
It works better when debugging browser-based JavaScript on Visual Studio, the debugger halts whenever an error is thrown, which is REALLY great.
Is it possible to get the Visual Studio debugger to halt when the debugged program running on Node.js throws an error?
You could install the Node.js Tools for Visual Studio and use the Exception settings windows under Debug->Windows. It would throw or catch the Exception.
http://nodejstools.codeplex.com/discussions/538432
I am creating a project in VS2015. template i have choose is blank Universal app.
An error occurred trying to load the page.
Property accessor 'TargetDescriptions' on object
'Microsoft.VisualStudio.ProjectFlavoring.Automation.Project.CommonProjectExtender'
threw the following exception:'Value cannot be null. Parameter name:
targets'.
I get issues accessing some projects properties due to addins I've added to my VS (GhostDoc): can you try to disable all your addins to check of that work ?
I reinsatlled the nuget package manger: https://visualstudiogallery.msdn.microsoft.com/5d345edc-2e2d-4a9c-b73b-d53956dc458d
I restart the visual studio
and it works fine for me.
I've tried to install allegro for my MS Visual Studio 2012. I was fallowing instructions from allegro wiki. Everything succed with compiling example application, but there is one error that i can't find help about. After running application I'm reciving this error: 1.
It says that application wasn't run properly. Do you have any idea why is it? It's my first meet with allegro so I don't have any clue.
Edit:
First my system was missing msvcr120d.dll so I've downloaded them and put in Windows\System32 and then I've recived this error.
Error message says: "Application wasn't properly launched (0xc000007b). Click OK button to close application."
What MS Visual Studio says: "Unhandled exception at 0x7779E052 (ntdll.dll) in Allegro1.exe: 0xC000007B: Program %hs isn't dedicated to launch in system Windows or contains error."