Author Topic: Message box keeps popping up with 21.0.3  (Read 3976 times)

bengle

  • Senior Community Member
  • Posts: 168
  • Hero Points: 4
Message box keeps popping up with 21.0.3
« on: June 13, 2017, 05:53:27 PM »
After upgrading to SlickEdit 21.0.3, the following message box pops up over and over, when I open my Visual Studio 2017 solution:

Unable to determine Visual Studio year from version=15.0

It is very annoying.  I think it pops up once for each project in the solution, which would be 30 times.

Any help in resolving this would be greatly appreciated.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: Message box keeps popping up with 21.0.3
« Reply #1 on: June 15, 2017, 08:01:43 PM »
Please post a sample solution and project. No source files needed.

Mike

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 100
  • Hero Points: 21
Re: Message box keeps popping up with 21.0.3
« Reply #2 on: June 16, 2017, 02:28:02 PM »
Unfortunately, SlickEdit 2016 does not support Visual Studio 2017 solutions.

SlickEdit 2017 (v22) will support the latest Visual Studio release and will be released later this year.

erik

  • Junior Community Member
  • Posts: 9
  • Hero Points: 0
Re: Message box keeps popping up with 21.0.3
« Reply #3 on: July 14, 2017, 11:28:01 PM »
Is there a hotfix or anything that will suppress the popups? I'm accumulating more 2017 solutions as time goes on and the repeated messages are getting more than a little annoying. "later this year" seems like a lot of popups between now and then ::) thanks!

Graeme

  • Senior Community Member
  • Posts: 2793
  • Hero Points: 347
Re: Message box keeps popping up with 21.0.3
« Reply #4 on: July 15, 2017, 12:00:04 AM »
Load the following code in a macro file of your own but comment out the call to message box.
If you don't have a macro file, record a trivial macro then open vusrmac.e from your config folder.  To load it use the load command on the macro menu.  In wkspace.e in the installation macros folder there is GetCompilerPackage() that also has message boxes.  To fix that you need to modify wkspace.e and reload it.

Code: [Select]
_str _visualStudioVersionToYear(_str Version) {
   if (Version>=15) {
      _message_box('Unable to determine Visual Studio year from version='Version);
      return '2015';
   } else if (Version >=14) {
      return '2015';
   } else if (Version >=12) {
      return '2013';
   } else if (Version == 11) {
      return '2012';
   } else if (Version == 10) {
      return '2010';
   } else if (Version >= 9) {
      return '2008';
   } else if (Version >=8) {
      return '2005';
   } else if (Version >=7) {
      return '2003';
   } else {
      _message_box('Unable to determine Visual Studio year from version='Version);
      return '2003';
   }
}

erik

  • Junior Community Member
  • Posts: 9
  • Hero Points: 0
Re: Message box keeps popping up with 21.0.3
« Reply #5 on: July 15, 2017, 02:15:50 AM »
Thank you Graeme! That worked perfectly.

dickb

  • New Community Member
  • Posts: 2
  • Hero Points: 0
Re: Message box keeps popping up with 21.0.3
« Reply #6 on: August 15, 2017, 09:52:52 AM »
We're just moving to VS 2017 and it looks like I can't use SlickEdit 21.0.3 for work. The response "SlickEdit 2017 (v22) will support the latest Visual Studio release and will be released later this year." is unhelpful.

VS2017 has been out since May 30th. This is not my first experience of SlickEdit not keeping pace with Visual Studio and I would really appreciate better efforts by Slickedit to keep up.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6826
  • Hero Points: 526
Re: Message box keeps popping up with 21.0.3
« Reply #7 on: August 15, 2017, 12:47:58 PM »
If you need SlickEdit to support VS 2017 now, download the SlickEdit 2017 beta 2. Beta testing would be appreciated.

https://community.slickedit.com/index.php/topic,15386.0.html