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 Visual Studio 2017 Problems (Read 3114 times)
radders
Junior Member
**
Offline


Posts: 13
Location: Coventry, UK
Joined: May 31st, 2018
Visual Studio 2017 Problems
Jul 4th, 2018 at 8:19am
Print Post  
Hello,
I have had to un-install the latest versions of Visual Micro due to problems it causes with VS2017.

Firstly, the install and updates claim to fail, although it appears to still work ok.
The error seems to be with a Redgate SQL prompt (which I don't use/don't have).

The second problem is that Visual Micro prevents VS from debugging a .NET Core 2.x application.

Microsoft told me about this when I asked them why I couldn't debug a .NET Core app.

For me this is a show-stopper - I need to do that, so Visual Micro has to go until this issue is fixed...

Please let me know when both the issues are resolved, and I will happily try it again.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio 2017 Problems
Reply #1 - Jul 4th, 2018 at 12:04pm
Print Post  
Thanks for the post.

Visual Micro is unconnected to redgate sql and does not have any red gate software linked or used. Microsoft do have a lot of bugs in their installer and vs 2017 so they should look to themselves first.

I will test .net core issue over the next week, thanks
  
Back to top
IP Logged
 
radders
Junior Member
**
Offline


Posts: 13
Location: Coventry, UK
Joined: May 31st, 2018
Re: Visual Studio 2017 Problems
Reply #2 - Jul 4th, 2018 at 2:31pm
Print Post  
Thanks Tim.
  
Back to top
 
IP Logged
 
radders
Junior Member
**
Offline


Posts: 13
Location: Coventry, UK
Joined: May 31st, 2018
Re: Visual Studio 2017 Problems
Reply #3 - Jul 4th, 2018 at 3:18pm
Print Post  
Tim,

I just tried re-installing, and it failed again.
I've attached the log, which clearly shows that your install is trying to install Redgate SQL stuff.
Has your download been 'got at'....?

Dave
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
radders
Junior Member
**
Offline


Posts: 13
Location: Coventry, UK
Joined: May 31st, 2018
Re: Visual Studio 2017 Problems
Reply #4 - Jul 4th, 2018 at 3:34pm
Print Post  
Tim,
You plug-in seems to work OK despite the 'fail' message.
Debugging .NET Core 2.x apps also works ok.

I recall that I also had your GDB installed and removed it too earlier. I haven't re-installed that.

Maybe it is that which upsets .NET Core...

Regards, Dave
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio 2017 Problems
Reply #5 - Jul 4th, 2018 at 3:41pm
Print Post  
This is typical of Microsoft. I can make life easier for you by explaining a few things

1) Microsoft manage the entire install process. No Visual Micro code runs during install
2) Visual Micro produces a VSIX file that Microsoft installs.
3) A VSIX file is actually just a zip that you can open.
4) The only way to tell Microsoft what an extension needs is to add it to the manifest text file that you will see in the VSIX. 
5) All Visual Micro needs is for C++ to be installed. If you have not installed the C++ module then Microsoft will attempt to install it.
6) I don't see any Visual Micro stuff in your installer trace. I do see a lot of extensions and modules that Visual Studio is not entirely happy with and that indicates the Visual Studio installer is attempting to complete installation of other partially installed software.

We can see in your trace file that redgate is attempting to install something and I think the above shows how we can be sure it is unrelated to Visual Micro.

Sorry it's a pain. I suggest asking redgate what has happened. Keep in mind that some software runs via a normal installer but attempts to install VS extensions at the same time. I would check you Control Panel > Add or remove programs. Also keep in mind that Visual Studio will only install one package at a time.

I am happy to take any direction from Microsoft but I can't see there is much room for error on Visual Micro's part.

Code (C++)
Select All

04/07/2018 15:52:45 - Package 'Redgate.SQLPrompt.VsPackage,version=8.2.5.2924' failed to install. System.IO.IOException: The file 'C:\Program Files (x86)\Microsoft Visual d.Net20.dll' already exists.
   at tall|28_1(PackagePart part, Boolean saveExtensionManifest, <>c__DisplayClass28_0& , <>c__DisplayClass28_1& , <>c__DisplayClass28_2& , <>c__DisplayClass28_3& , <>c__DisplayClass28_4& )
   at Microsoft.VisualStudio.Setup.Installer.VsixInstaller.InstallCoreInternal(String localPath, String installDir, InstallablePackage pkg)
   at llCore>b__0()
   at Microsoft.VisualStudio.Setup.Installer.FileInstaller.DoAction(Func`1 action)
   at Microsoft.VisualStudio.Setup.Installer.FileInstaller.InstallCore(String localPath, String installDir, InstallablePackage pkg)
   at Microsoft.VisualStudio.Setup.Installer.InstallerBase.InstallHelper(InstallData installData)
04/07/2018 15:52:45 - Skipping cache of package 'Component.Redgate.SQLPrompt.VsPackage,version=8.2.5.2924' since the package or a parent package had a vital failure.
04/07/2018 15:53:04 - Install Error : Microsoft.VisualStudio.Setup.PackageFailureException: Package 'Redgate.SQLPrompt.VsPackage' failed to install
   at Microsoft.VisualStudio.Setup.InstallOperation.Run(CancellationToken token)
   at Microsoft.VisualStudio.Setup.Engine.RunOperation(InstallOperation installOperation, CancellationToken token, ExecuteAction action, ITelemetryOperation telemetryOperation)
   at Microsoft.VisualStudio.Setup.Engine.RunCoreOperation(InstallOperation coreOperation, ExecuteAction action, ITelemetryOperation telemetryOperation, CancellationToken token)
   at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)
   at stall(InstallableExtensionImpl extension, Boolean installPerMachine, Boolean isPackComponent, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, IProgress`1 progress, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion, IInstalledExtension& newExtension)
   at allableExtensionImpl extension, InstallFlags installFlags, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, IProgress`1 progress, Version targetedVsVersion)
   at lableExtension installableExtension, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion)
   at llableExtension extension, InstallFlags installFlags, AsyncOperation asyncOp) 

« Last Edit: Jul 4th, 2018 at 3:42pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint