Visual Studio 2013 Cool Features!

Hey,

At work today we updated all development machines that myself and colleague use to Visual Studio 2013 (not really update but we installed it along side 2010). I must say, I was a huge skeptic of the new IDE but after using it for 8 hours today… I am a huge believer!

Why? Here are four features that I love:

1. User settings are now synced with your account you use with VS2013… this will save me a huge amounts of time. Why? Well my department is also in charge of evaluating, testing and preparing new models of computers in the environment and every year it seems someone comes to me and hands me a laptop and says “use this now”… I comply and roll my eyes knowing that I will spend the next business day setting it up to be perfect (I like everything to be in a particular way). Now… I will install VS2013 through a deployment machine (automated), I will fire it up and log on with my live account and boom…. all settings are synced. No more turning on line numbers or changing the VS theme to blue. Its all done for me ¬† ūüôā

2. Code Peeking, at first I didn’t know about this one, but in the afternoon I was in a WebEx meeting with our Microsoft go to person and I was running through the code for Hyper-V 2012 R2 integration and was clicking on methods and hitting F12 to jump to it, like any programmer would do. All I heard on the phone was “No, no, no… Alt+F12 Matt!”… my mind was blown. It showed me the code while still being on the same page!

Code Peeking, awesome!!
Code Peeking, awesome!!

3. Not really a VS2013 feature but one of my favorites that came along, 64 bit Edit and Continue – If you are starting any new projects of have the possibility to convert an existing one to .NET Framework 4.5.1, I highly suggest you do so for the sole reason of debugging on the fly. Just like the 32 bit .NET applications, you can now debug the application and make changes while still debugging… no more error messages!!

vs2013_01

4.¬†Code Map¬†(this is only available in Visual Studio 2013 Ultimate), you ever wonder what code is talking to or linked together? Now you can right click and choose “Show on Code Map” and boom… A graph appears showing this exact information. I believe this was introduced in VS2012 but I never used that version (it was the Vista of Visual Studio, haha).

One word of warning though, do not go deleting or commenting out code just because it is not linked to something else. For example, WPF data binding does not show on Code Map… investigate the same way you would before before doing something stupid ¬†ūüôā

vs2013_02

vs2013_03

Enjoy!

/Matt

Windows 8.1 “Sorry, there was a problem mounting the file” ISO issue

Quite recently, I installed the Windows 8.1 RTM version on my home PC for testing purposes which came along with my MSDN account. I must say, I am really liking the changes that Microsoft has implemented to the new operating system… from the start button making a return to the start screen changes (tile sizes, personalizing colors and themes, application docking, etc.). However, I have had a few problems that a little <insert your favorite search engine> + “ing” and sysinternal tools took care of in solving… one – being not able to mount any ISO files.

After receiving the error message:

158146

 

I started to think I either had a driver problem or something was corrupt… I re-downloaded the ISO file and gave it a try again… same problem. Then tried another ISO from Microsoft, same issue.

Then Mark Russinovich spoke to me like god himself – “Remember what I taught you at TechEd!?”…. Yeah, yeah Mark… I got it. Started up sysinternal tool ProcMon¬†http://technet.microsoft.com/en-us/sysinternals/bb896653¬†¬†and saw what was going ¬†on… seemed my system had some registry problems with the driver…. weird?

Instead of just mucking around in the registry (if you do decide to do that, please export the registry first!!), I did more research and viola!, after some trail and error, I found this post http://support.microsoft.com/kb/314060. Anyway, follow these steps:

* I am not responsible for you messing up your computer, proceed with caution *

  1. Press the Windows logo key+R to open the Run dialog box.
  2. Type regedit in the Run dialog box, then press Enter. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow
  3. In the navigation pane, locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlClass{4D36E965-E325-11CE-BFC1-08002BE10318}
  4. In the right pane, click UpperFilters.
    Note You may also see an UpperFilters.bak registry entry. You do not have to remove that entry. Click UpperFilters only. If you do not see the UpperFilters registry entry, you still might have to remove the LowerFilters registry entry. To do this, go to step 7.
  5. On the Edit menu, click Delete.
  6. When you are prompted to confirm the deletion, click Yes.
  7. In the right pane, click LowerFilters.
    Note If you do not see the LowerFilters registry entry, go to Method 4.
  8. On the Edit menu, click Delete.
  9. When you are prompted to confirm the deletion, click Yes.
  10. Exit Registry Editor.
  11. Restart the computer.

Anyway, hopefully this helps people if they run into the same issue!

Regards,
Matt