Platform Toolset change on VS 2015 - visual-studio-2012

I need to do some Assembly coding on VS 2015 and for it I need to use an include file that uses certain C functions. The file worked perfectly on VS 2012 and 2013, but due to some library changes on VS 2015 (as far as I understand), it gives an error on the linking process. So, I was advised to set my Platform Toolset back to VS 2012 or lower, but the only ones that appear on the changing menu are the 2015 ones. I tried to download and install the said toolkits, but even then they don't appear in the drop-out menu. Is there something I'm doing wrong, or is there another way to do this? (eg. an include file with basic print and _getch functions that works on VS 2015) Here is a screenshot of the Toolset selection screen, if it helps:

Related

Change version of Visual Studio from 2015 to 2005

I use SFML library version2.4 on Visual Studio(VS) 2015. Now, I want to use VS 2005 instead and SMFL(2.4) does not support it. I want to use some functions in SFML(2.4). How can I solve this problem?
Is there any specific reason you're going back?
Besides that, it should most likely work. All you have to do is compile SFML yourself (and possibly the dependencies as well) to get the right files for your version.

visual studio 2015 c++ editor broken, solution?

After an install in VS2015 (intel mkl library with vs integration) the c/c++ editor fails to show anything except the tab on top. No window, no text, nothing.
I dug a bit deeper: a .txt file displays fine, .cs as well. When I set in options that filetype .txt needs editing in C/C++ editor, .txt stopped displaying too.
I have compared every option in tools->options, including the environment options, to a normal working rig, found nothing.
Resetting to default options did not help, nor did changing the color scheme.
Removed the Intel directory from common7/IDE/extensions, no improvement.
I do not know where more secrets are kept, tried a registry search, but found no clues. Everything appears to match, up to the dll for language specialization in vxpackages.
Anyone, before I try to repair the installation?
Thanks in advance,
Jan
Edit: I got the editor back on track by disabling Productivity Power Tools 2015. This took me half a day. Any connection to the Intel install is doubtful!

Visual Studio 2012 - Locals not shown

I am using Visual Studio 2012 with the Intel Fortran Compiler XE 13.0 (from Parallel Studio 2013) to code in Fortran.
When debugging a project, the "Locals" and "Auto" windows don't show any variable. Similarly, when hovering over a variable name in the code, I don't get any datatip showing its value. Lastly, when trying to evaluate a variable or expression in the Watches I always get an "Unable to evaluate expression". So, as far as I understand, there's some problem involving debugger symbols or something like this.
Here's what I tried:
restarting VS and Windows
creating a new solution with default configuration
checking the Debugging options for any obvious setting which could case this
followed this answer, even if it looks like it's for a slightly different problem (VS recognizes a local variable, but saying it's out of scope)
repairing my Intel Parallel Studio XE 2013 installation
I never enabled optimization. Here's a screenshot so that you can clearly see what it's going on here.
P.S: as a last hint, I found a similar bug affecting VS2010, but 1) yeah, I've got VS2012 and I suppose it should have been fixed 2) it affects C++ (don't know if this matters though) 3) the patch is not directly available online.

Show file type icons on tabs on visual studio 2012

I wass looking for quite some time now how I could see the file type icon of each file I have opened in visual studio 2012 tab well, like it was shown on previous versions of visual studio. This was completely removed from vs 12, couldn't find any option enabling this. This is something extemely usefull when having many open files.
I found that this option exists on the registry!
So you go here:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\DialogPage\Microsoft.CustomDocWell.Options
and change the IconInTabs property from false to True!
File type icons are displayed again next to each tab!!!!
Edit: In order for this to work you must have installed Productivity Power Tools 2012 plugin

Where can I locate themes for VS2012

Okay, the lack of color on VS2012 is gross.
Is there someplace I can get a theme pack or something for it so that it actually looks reasonable? I really liked the look of VS2010. However, the new one reminds me way too much of 1984.
While we are at it, is there anyway to have it stop shouting at me? ALL CAPS menus are pretty hard to read. [ note: caps was resolved, thanks Konamiman]
Yes, luckily you can revert the Visual Studio 2012 ALL CAPS menus to normal menus by hacking the registry:
Launch regedit and navigate to
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\General
Create a DWORD value named SuppressUppercaseConversion with value 1.
NOTE: As explained in the answer pointed by Yahoo Serious, the VisualStudio part on the registry key name should be changed to VSWinExpress for Visual Studio Express, and to VWDExpress for Visual Studio Express for Web.
UPDATE:
I have applied this hack in another machine and at first it did not work. It turned out that I had selected the key name from this response by double clicking it, then copied it, then pasted it in regedit. Well, by doing so I had inadvertently created the key with a trailing space in the name! And hence it did not work.
So, if you apply this hack and it seems to not work, ensure that there are no trailing spaces in the key name.
New Theme editor Specifically for 2012:
http://visualstudiogallery.msdn.microsoft.com/366ad100-0003-4c9a-81a8-337d4e7ace05
Comes w/ VS 2010 style blue and a few others...
Here is a shot of my VS2012 install that almost looks like the familiar 2010 we are all used to. It makes me feel normal again!
Here is exactly how I did this, step-by-step:
1) Close all instances of Visual Studio
2) Download vsip and extract it to a temp directory. (as of 1/3/2013 the current version is 1.5.2)
3) Open up a command prompt with "Run as administrator"
4) Go to the temp directory and run VSIP.exe - This will run an interactive program that accepts commands.
4a) Type "backup --version=2012" - This will backup all of your VS2012 UI dlls, just in case something gets messed up and you want to uninstall VSIP.
4b) Type "extract" - This will extract all of the old icons from your installation of VS2010 (per VS2010 license VSIP can not distribute those icons so we have to have a local install to pull them from).
4c) Type "inject" - This will inject all of the old 2010 icons from the previous step into the VS2012 DLLs.
4d) Type "menus -n" - This will change the menus so they are NOT ALL CAPITALIZED!
5) Download and install NiceVS - do not download the one dated 10/14 or you will be missing icons. As of 1/3/2013 I downloaded the file named "NiceVS.0.8.1.1 Beta.Full.vsix".
6) Download and install VS2012 Color Theme Editor - The next time you start VS2012 select the "Blue" theme from the color select window.
Now you should have a nice install of VS2012 that looks like my screen shot above! It takes three different applications to patch that hideous UI but it's certainly workable now! If you don't have VS2010 installed on the same machine as VS2012 then you will have to run 4b on a machine with VS2010 and then copy the VSIP Images directory to your 2012 development machine.
Update: If you install "VS 2012 Update 1" after running these steps you will need to re-run step 4c from the VSIP admin prompt (or all of step 4 if you didn't keep the extract of the VS2010 images). The file menu icons and color scheme stay as they are but the update reverts the icons in the solution explorer back to the ugly ones. Re-running the VSIP inject fixes it right up!
I feel your pain, and have been checking daily for a solution. I've now discovered this site, which includes a theme editor, as well as drumroll a VS2010 theme for VS2012!
http://bchavez.bitarmory.com/archive/2012/08/27/modify-visual-studio-2012-dark-and-light-themes.aspx
Edit - I just noticed that Brian Chavez already posted the same link as me. However, I don't think it included a premade 2010 theme until today.
Edit 2 - Another theme editor - http://visualstudiogallery.msdn.microsoft.com/366ad100-0003-4c9a-81a8-337d4e7ace05
AND ICONS!!! - http://vsip.codeplex.com/
http://studiostyl.es/
The themes for 2010 work for 2012 as well
This extension was just released a couple of days ago:
Visual Studio 2012 Color Theme Editor
If you want to change the VS shell environment themes in Visual Studio 2012, try this utility:
Modify Visual Studio 2012 Dark (and Light) Themes
Source Code
The quick option to look is VSColorOutput extension for VS2012. Just look at Tools->Extensions and NUGet package will help you to locate it asap.
Another option would be downloading and Visual Studio Color Schemes. http://studiostyles.info/ . Here is a link to Scott Gu's blog which describes how to apply your preferred schema.

Resources