Migrate your Visual Studio Online to On-Premises TFS


For a limited time, you can move your Visual Studio Online to on-premises TFS. This feature is turned OFF by default and you need to contact VSOExportSupport@Microsoft.com to turn it on. You also need to upgrade your on-premises TFS to Update 2.  

Microsoft has published step by step article on how to prepare you on-premises environment, export your projects, and import them

http://msdn.microsoft.com/en-us/library/7cb80f0d-0119-4277-82e8-719a8db1796e

 

 

TFS Work Items: Queries more than one state


How can I create a query and filter on more than one state? I had this question last week at a client location. If you are interested in a short answer then the answer is to comma separate the states and you use the In operator. For step by step instructions, read the rest of the article.

In Web Access,

Click on the Work tab

Click on Queries

image

Click on New

Click on New query

image

In this example, I want to select all bugs that are Approved and Committed

From the Work Item Type Value field, select Bug

Select In in the State’s Operator field and Approved,Committed in the Value field.

image

You can click the play button to test your query

Save your query

Categories: TFS Tags: ,

Microsoft Virtual Academy free training


If you are looking for free training, make sure you visit the Microsoft Virtual Academy site at http://www.microsoftvirtualacademy.com/?prid=ca_mvpaa&mtag=MVP5000005 . The website contains many videos related to the Microsoft ecosystem and I am confident that you will enjoy it.

Categories: Uncategorized Tags: ,

PackageWeb Zip Error DestinationFiles refers to 2 item(s), and SourceFiles refers 1


Today I got this error while publishing my web and wcf application in Visual Studio 2013 using PackageWeb Zip Nuget package.

Error “DestinationFiles” refers to 2 item(s), and “SourceFiles” refers to 1 item(s). They must have the same number of items.

This error was generated by the PackageWeb.ZipExtension.targets under the -Package folder specifically by the following statement

<Copy SourceFiles=”$(_ZipPs1)”
DestinationFiles=”@(_PkgLoc->’%(rootdir)%(directory)Zip-Interactive.ps1′)”
Condition=” ‘@(_PkgLoc)’ != ” “/>

I added the Message task before the copy task to view the value of _PkgLoc

<Message Text=”***_PkgLoc:@(_PkgLoc->’%(rootdir)%(directory)’” Importance=”high” />

For some weird reason, the _PkgLoc list had two identical items.  

***_PkgLoc:c:\publish\;c:\publish\

To fix this error I added the KeepDuplicates attribute to the _PkgLoc tasks as follows:

<ItemGroup>
<_PkgLoc Include=”$(DesktopBuildPackageLocation)” Condition=” ‘$(DesktopBuildPackageLocation)’!=” ” KeepDuplicates=”false” />
<_PkgLoc Include=”$(PackageDestinationRoot)” Condition=” ‘@(_PkgLoc)’==” ” KeepDuplicates=”false”/>
</ItemGroup>

I am not the expert when it comes to MSBuild. If you have a better way to handle this, you can add a comment below

Categories: ALM Tags: , , ,

Azure: Provisioning a Visual Studio 2013 Ultimate VM in minutes!!


As you may already know, some MSDN Subscriptions come with Windows Azure Credit that can be used for Dev and Test usage. As of October 24, 2013, you can get upto $150 to spend on your Windows Azure account. For more detail visit

http://www.windowsazure.com/en-us/pricing/member-offers/msdn-benefits-details/

How?

In this post we will provision a new VM on Windows Azure with Visual Studio 2013 Ultimate. All steps and screen shots were done and taken on October 24, 2013.

Activate Your MSDN Windows Azure

Login to MSDN

Click on MSDN Subscriptions

image

Click on the Access benefits button

image

 

Click the Activate Windows Azure link

image

Windows Azure Portal

The previous steps should activate your Windows Azure account and take you the Windows Azure Portal. If you have already activated it before, you can go directly to www.WindowsAzure.com and sign in with your account

image

Select your subscription

image

Click on the Portal button

image

Click Virtual Machines link on the left and then click new on the bottom

image

From the Menu, click on the From Gallery menu item

image

I am selecting Visual Studio 2013 Ultimate on WS 2012 but feel free to select another VM image and click on the arrow at bottom right corner

image

Give the VM a name

Select the VM Size

Create a username and password (we will use that username to login using remote desktop)

Click next

image

Select a Cloud Service if you have one or choose Create a new cloud service

Give it a name

Select a location

Click next

image

 

I am leaving all fields as default value

Click the check mark at the bottom right

image

The VM now is being created, it took around 5 minutes to complete the provisioning of the VM

image

When provisioning is completed, you will get notified at the bottom of the screen

Click on the connect button

Double click the downloaded rdp file or open it from your browser

image

Enter your username and password and you

SQL Server Data Tools – September 2013 update


Microsoft has released the September 2013 update for SQL Server Data Tools (SSDT). It contains a fix for the schema compare when working with large display text or high DPI.

http://blogs.msdn.com/b/ssdt/archive/2013/09/18/updated-sql-server-data-tools-for-september-2013.aspx

Visual Studio 2013 Release Date


Microsoft has announced that Release Date for Visual Studio 2013 is November 13, 2013. October 18, 2013

Along with the RC release today, we announced the VS 2013 RTM (Oct 18th) and launch dates (Nov 13th).

http://blogs.msdn.com/b/bharry/archive/2013/09/09/visual-studio-2013-amp-tfs-2013-rc-is-available.aspx

The launch date is still Nov 13, 2013. You can join the Virtual Launch event at http://events.visualstudio.com

In the meanwhile, you can still download RC version of Visual Studio/TFS 2013

http://www.microsoft.com/visualstudio/eng/2013-downloads

 

 

Follow

Get every new post delivered to your Inbox.

Join 350 other followers