Thank you DPE PH for another year!

Late post! So the MVP and DPE here in PH was out last Dec 20, 2013 for the dinner and the drinks! See you all at our next MVP events!

Advertisements

Me using Visual Studio 2013 and TFS on VisualStudio.com

Some background: This I can share, it’s a personal project that I am doing. Its without the strict NDA stuffs like “if-you-share-this-I-own-your-soul” kinda agreement. So I’m really exited to share this experience. Although, I’m still blacking out some areas in screenshots – my app hasn’t been published yet :). Yea, I do some Windows Phone apps on my own and hopefully I can finish this one before these long breaks end or whenever..

This is not the install VS2013 thingy, I’ve already installed VS2013 here and I had issues last week but I left it working (also finishing some workitems) – so, lets use this today! I normally work in my laptop these past few days, sometimes I do some edits on my new apps in between stressful meetings or whenever I felt like doing. Today, I’m home for a longer period of time and I have a chance to use my Eyefinity enabled rig.

Using this PC, will enable me to be more ‘productive’, minus the steam sale. But its just nice to have an option to transfer from laptop to desktop or to other PC that I have. But the thing is, how would I transfer the Solution Files? My options:

A. USB Stick copy-paste.

B. Network Share / Homegroup

C. Skydrive this 500KB thing!

D. Use TFS.

 

Lets go with TFS Shall we?

On the new Visual Studio, you can now sign-in with your Microsoft Account, I have a few accounts and a personal account, you can do the switch account thing seamlessly if you want to. Mine is already logged in, since last installation.

w0

Click connect to Team Foundation Server and select your Server and Team Project.

We can switch user here, but ill leave it to this user as this user has access to my account.

image

Once you are in your Team Explorer home, you are prompted that hey you havent setup any workspace for this! Wana configure? 🙂 Click Configure your workspace link.

w1

If I remember correctly, In other versions of Visual Studio you will be prompted with the Manage Workspace window and you have to add the edit mappings. Now this is is only in the ‘Advanced…’ link, all VS2013 will ask you is what project do you want to download where. I think by default its on your user profile.

w2

Since I do not put project on my C:\ Drive, I will put the project on my S:\ (Storage) internal HDD. Imagine if you have SSD and you put your projects there! Id rather use it for something else and keep it clean.

At this moment, we click Map & Get. Finally a one step Map and then Get latest version!

w3

Lets wait for it to finish. Speed depends and varies in location etc etc as always. Mine finished in less than a minute.

w4

Once you have mapped your Workspace for this project, there would be a list of solutions here at the home tab of the Team Explorer. Just doubleclick the solution to open it.

w5

So heres the loading project screen, as you can see I have some projects setup here on this account.

w6

So there you have it, the solution is now opened and it’s the latest version.

w7

So Time to open VS, setup workspace and open solution done in like under 5 mins. Much faster than me writing this quick blog post. Also very convenient when transferring solutions and sharing these files to other computers, for a developer on the go – like me or even when you need to rebuild again. Oh yea, I got to do some layouts in my projects today so bye for now and happy coding!

Visual Studio 2013 Setup Blocked: The product version that you are trying to set up is earlier than the version already installed on this computer. [FIXED]

So I was rebuilding my personal machine for the holidays and an error:

image

So basically saying that I already installed VS2013 here, odd.

To fix this, simply opening  the log file by clicking the link to it and it will open notepad.

I read latest entry on this log, before the error occurred.

image

 

 

 

 

 

 

 

 

 

 

So it says that it saw a ‘bundle’ that’s of version 12.0.21005.13. I bet this is in the registry!

Here’s a snip of my log:

[1940:2F1C][2013-12-23T19:05:47]i102: Detected related bundle: {cd09eea6-d0b3-4246-bb80-e047ceadf61f}, type: Upgrade, scope: PerMachine, version: 12.0.21005.13, operation: Downgrade
[1940:2F1C][2013-12-23T19:05:47]i000: MUX:  Detected related bundle. Installing bundle Lcid:1033  related bundle tag: vs_ultimate,1033
[1940:2F1C][2013-12-23T19:05:47]i000: MUX:  A higher version bundle has already been installed.
[1940:2F1C][2013-12-23T19:05:47]e000: Error 0x80070642: BA aborted detect related bundle.
[1940:2F1C][2013-12-23T19:05:47]e000: Error 0x80070642: Failed to report detected related bundles.
[1940:2F1C][2013-12-23T19:05:47]i000: MUX:  Success Block: HigherVersionBlock : The product version that you are trying to set up is earlier than the version already installed on this computer.
[1940:2F1C][2013-12-23T19:05:47]i000: MUX:  Detect Completed
[1940:2F1C][2013-12-23T19:05:47]i000: MUX:  Wait for View to be loaded
[1940:0464][2013-12-23T19:05:47]i000: MUX:  Detect Completed, now create view
[1940:2F1C][2013-12-23T19:05:47]i000: MUX:  View loaded
[1940:2F1C][2013-12-23T19:05:47]i000: MUX:  Go to Blocker page.
[1940:2F1C][2013-12-23T19:05:47]i199: Detect complete, result: 0x80070642

As you can see, it has a GUID, copy this and lets fire up our registry editor (Win + R, Regedit).

On the Registry Editor, click Edit then Find or CTRL + F. On the find dialog box, paste the copied GUID then click Find Next.

image

Found this entry on the registry:

image

<Insert DOG Here with Caption: I don’t have idea what I’m doing>

image

I really don’t have any idea what’s going to happen at this point, Its just it has a GUID and it has versions… It’s a leap of faith… But not to do this on production, its MY Personal machine so I can do this..

Looking back at the error its telling us that we are installing a lowever version or what I think is that the actual operator is if Less than or EQUAL. That’s why its saying theres already a version installed in my PC.

The next logical thing to do is to ‘downgrade’ the one on the registry. To do this, doubleclick the entry and edit the value to a lower decimal.

image

Me, I replaced the Bundle Version 12.0.21005.13 to 12.0.21000.13. (Then Chuckles Internally).

 

Click OK and then, we may want to edit also the Display Version, just in case.

image

Then lets try to install again!

image

Viola! Problem Solved! (I think)

image

Setup is running nicely and I moved to E: drive, where all of my programs reside.

So there you have it, a registry entry fix for installing VS2013.

Microsoft Virtual Academy

Hey have you seen MVA? It’s a FREE online Microsoft training with a lot of courses such as

Windows Server:

http://www.microsoftvirtualacademy.com/product-training/windows-server?mtag=MVP4027248

Windows Azure:

http://www.microsoftvirtualacademy.com/product-training/windows-azure?mtag=MVP4027248

Visual Studio:

http://www.microsoftvirtualacademy.com/product-training/visual-studio-courses?mtag=MVP4027248

And many more!

image