Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic VS community 2019 Freezes (Read 3256 times)
Abbott HMG
Junior Member
**
Offline


Posts: 56
Location: Bedford, NY, USA
Joined: May 10th, 2019
VS community 2019 Freezes
Aug 13th, 2019 at 7:24pm
Print Post  
When I attempt to run a sketch (which runs properly in the Arduino IDE). As soon as the uploading message appears, VS freezes. I have to cancel it with Task . 
I've tried uninstalling and reinstalling your vix module to no avail.
When I compile & run a 15 project asp.net solution I'm maintaining in VS2019, it compiles & runs properly.
Any suggestions?
Thanks
Abbott
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS community 2019 Freezes
Reply #1 - Aug 13th, 2019 at 7:37pm
Print Post  
Hi

Some questions

What is the full version of vs2019 from help about? 15.x....

Is the tool bar set to Release or Debug? Setting to Release gives simplest test.

Please follow the guide above in the yellow box and Build but don't try to upload so we can see which board and usb drivers etc.

When you do try upload, the guide in the yellow box, will also show more clearly on-screen what is happening during the freeze.

Does pulling the usb cable after a freeze, unfreeze vs?



  
Back to top
WWW  
IP Logged
 
cerberus
Newbies
*
Offline


Posts: 3
Joined: Dec 24th, 2016
VS community 2019 Freezes After Update
Reply #2 - Aug 20th, 2019 at 4:33am
Print Post  
Hi, 

Just updated my Visual Studio 2019 Community Edition with Visual Micro installed before the update. Now getting error saying plugin should be disbaled due to freezing - the ActivityLog.xml file shows :
<entry>
    <record>866</record>
    <time>2019/08/20 04:23:08.301</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.InvalidCastException: Unable to cast COM object of type &apos;System.__ComObject&apos; to interface type &apos;Microsoft.VisualStudio.CppSvc.Internal.IVCPreferences&apos;. This operation failed because the QueryInterface call on the COM component for the interface with IID &apos;{20EEA973-013D-484D-B0C1-64F36A3A37B8}&apos; failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).&#x000D;&#x000A;   at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr&amp; ppTarget, Boolean&amp; pfNeedsRelease)&#x000D;&#x000A;   at er_1()&#x000D;&#x000A;   at Microsoft.VisualStudio.VC.Utilities.GetSearchURL(String input, Boolean sanitize)&#x000D;&#x000A;   at Microsoft.VisualStudio.VC.IntelliSenseErrorSnapshot.TryGetValue(Int32 index, String columnName, Object&amp; content)&#x000D;&#x000A;   at odel.TryGetValue(String columnName, Object&amp; content)</description>
  </entry>


I attached the verbose build file.

My Visual Studio About :

Microsoft Visual Studio Community 2019
Version 16.2.2
VisualStudio.16.Release/16.2.2+29209.62
Microsoft .NET Framework
Version 4.7.03190

Installed Version: Community

Visual C++ 2019   00435-60000-00000-AA104
Microsoft Visual C++ 2019

Arduino IDE for Visual Studio by Visual Micro   19.0
Visual Micro is an Arduino Compatible IDE for Visual Studio 2015-2019. For more information and forum please visit www.visualmicro.com.

ASP.NET and Web Tools 2019   16.2.290.48383
ASP.NET and Web Tools 2019

C# Tools   3.2.0-beta4-19380-04+5e176ad8aea2724fe6787495c6fcc9144c550de1
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Image Optimizer   4.0.132
Uses industry standard tools to optimize any JPEG, PNG and Gifs - including animated Gifs. Can do both lossy and lossless optimization.

Image Watch   1.0


Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards

Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package

NuGet Package Manager   5.2.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Open Command Line   2.1.218
Opens a command line at the root of the project. Support for all consoles such as CMD, PowerShell, Bash etc. Provides syntax highlighting, Intellisense and execution of .cmd and .bat files.

Productivity Power Tools 2017/2019   16.0
Installs the individual extensions of Productivity Power Tools 2017/2019

ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

Qt Visual Studio Tools   2.3.4
The Qt Visual Studio Tools allow developers to use the standard development environment without having to worry about any Qt-related build steps or tools.

Test Adapter for Boost.Test   1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test.  The use terms and Third Party Notices are available in the extension installation directory.

Test Adapter for Google Test   1.0
Enables Visual Studio's testing tools with unit tests written for Google Test.  The use terms and Third Party Notices are available in the extension installation directory.

Visual Basic Tools   3.2.0-beta4-19380-04+5e176ad8aea2724fe6787495c6fcc9144c550de1
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual C++ for Linux Development   1.0.9.29110
Visual C++ for Linux Development

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for CMake   1.0
Visual Studio Tools for CMake

Visual Studio Tools for CMake   1.0
Visual Studio Tools for CMake

Thanks
Marcus



  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS community 2019 Freezes
Reply #3 - Aug 20th, 2019 at 9:17am
Print Post  
The error in the activity log does not appear related to Visual Micro.

Not sure if this is related. We have a log that microsoft are looking into that causes a 5-8 second freeze first time vs runs after update or installing an extension. The freeze is in their code not ours but they report it as our extension.
  
Back to top
WWW  
IP Logged
 
Abbott HMG
Junior Member
**
Offline


Posts: 56
Location: Bedford, NY, USA
Joined: May 10th, 2019
Re: VS community 2019 Freezes
Reply #4 - Aug 20th, 2019 at 7:30pm
Print Post  
After uninstalling rebooting reinstalling visualmicro ...also upgraded vs2019.- All is working well.
Not sure how it got screwed up
Thanks
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint