Tag | Visual Studio Posts

Once again, in this series of posts I look at features of Visual Studio that may seem trivial, but can help improve your efficiency as a developer. The index of all my past little wonders posts can be found here. Well, my friends, this post will be a bit short because I’m in the middle of a bit of a move at the moment. But, that said, I didn’t want to let the blog go completely silent this week, so I decided to add another Little Wonder to the list for the Visual Studio IDE. How often have you wanted ...
So this week I decided I’d do a Little Wonder of a different kind and focus on an underused IDE improvement: Visual Studio’s Box Selection capability. This is a handy feature that many people still don’t realize was made available in Visual Studio 2010 (and beyond). True, there have been other editors in the past with this capability, but now that it’s fully part of Visual Studio we can enjoy it’s goodness from within our own IDE. So, for those of you who don’t know what box selection is and what ...
Windows 8 is here (or at least very close) and that was the main feature of this morning’s key note. Antoine LeBlond started off by apologizing to the IT professionals since he planned on showing code. I’m not sure if IT Pros are that easily confused or why you would need such a disclaimer. Developers do real work, IT Pros just play with toys (just kidding). The highlights of the Windows 8 keynote for me started with some of the UI design elements that I had not seen when I was shown one of the Build ...
At http://blogs.msdn.com/b/jas... Jason Zander has discussed the roadmap for Visual Studio 11 Ultimate. There are great advantages to Ultimate, if it is available to you, use it.At http://msdn.microsoft.com/e... there is a list of feature packs for Visual Studio 10. Well worth a look if you have Visual Studio 10 Professional or Ultimate ...
My most recent project has been to migrate a bunch of sites from WSS 3.0 (SharePoint 2007) to SharePoint Server 2010. The users are currently working with WSS 3.0 and Office 2003, so the new ribbon based UI in 2010 will be completely new. My client wants to avoid the new SharePoint 2010 look and feel until they’ve had time to train their users, so we’ve been testing the upgrades by keeping them with the 2007 user interface. Permission to perform the Visual Upgrade One of the first things we noticed ...

If you installed the latest MVVM Light version for Windows 8, you may encounter an issue where code snippets are not displayed correctly in the Intellisense popup. I am working on a fix, but for now here is how you can solve the issue manually.

Read the rest of this entry »

I am not sure if you guys know Aaron Stebner. Aaron works at Microsoft, and has pulled thorns from my side many many times already.

Read the rest of this entry »

I recently wanted to have a console application that had configuration specific settings. For instance, if I had two configurations “Debug” and “Release”, depending on the currently selected configuration I wanted it to use a specific configuration file (either debug or config). If you are wanting to do something similar, here is a potential solution that worked for me. Setting up a demo app to illustrate the point First, let’s set up an application that will demonstrate the most basic concept. using ...
What is ALMing in Hinglish => Introduction ????? ?????? ??? ?????? ????, ?????? ??????? ?? ?????? ?????? ?? ????? ?????? ?????? 8 ?????? ?????? ??????????? ?? ?????? ???????? ?? ???? ???. ??? ???? ???????????? ????? ??????? 2011 ?? ?????? ?? ?? ???? ????? ?????? 8 ?????? ?????? ??????????? ?? ?????? ???????? ??. ALMing in Hinglish–Windows 8 Metro Style App manual testing using MTM11 In this second in the series of videos I bring to you Shubhra Maji who is a Program Manager on the Visual Studio ...
Today I received an email from Microsoft stating that: Dear Jakob Ehn, Congratulations! We are pleased to present you with the 2012 Microsoft® MVP Award! This award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others. We appreciate your outstanding contributions in Visual Studio ALM technical communities during the past year. This is incredibles news and I really want to thank both the people at Microsoft who nominated me and ...
Hey everyone, I just discovered this great post yesterday that shows how to have msbuild build projects in parallel Basically all you need to do is… Read more at http://blog.danskingdom.com... ...
Having been in IT for 32+ years, I have worked on a variety of hardware. I suppose the slowest computer I used was an IBM 360/25 (total RAM 15K), however the slowest PC to run Visual Studio was at a particular client site. In the morning after logging in, we would start our PCs, lock the keyboard and go to the drinks machine. We would stand there and drink one drink, get another and then go back to our PCs. After giving the three-finger salute (ctrl-alt-delete) and entering out password, visual studio ...
Today's deal of the day from Microsoft Press at http://shop.oreilly.com/pro... is Getting More Productive with Microsoft® Visual Studio®"Take a detailed look into Visual Studio—and learn practical techniques to help you work more efficiently. This fully revised and expanded version of Visual Studio Tips: 251 Ways to Improve Your Productivity includes a comprehensive collection of tips and shortcuts for working with the code editor, visual designers, searches, debugger, and other ...
In the previous post I demonstrated how to implement a very basic transport extension over an in memory message bus that supports request reply MEP. At the end of that post I created a console application and establish the service and client directly through the channel listener (on the server side) and the channel factory (on the client side). But this is not the WCF usage that we are familiar with. If you have been using the WCF for a while the common pattern is to create a ServiceHost on the server ...
This post is continued HERE. Go to Part 1 – List of Product Updates for information on Visual Studio and TFS 2012 updates Looking for the VS 2010 extensions ? Go to Visual Studio 2010 - List of Product Updates (Part 1) + Extensions (Part 2). Looking for links to the test adapters, go to this blog post. UPDATE Aug 18th 2013: Updates: Visual Studio Tools for Git, TypeScript, ReSharper, TFS Power Tools, Code Contracts, Build Manager, Web Essentials, Code Contracts, tangible T4 editor , Just Decompile, ...
The beta for BIDS Helper 1.6 was just released. We have not updated the version notification just yet as we would like to get some feedback on people's experiences with the SQL 2012 version. So if you are using SQL 2012, go grab it and let us know how you go (you can post a comment on this blog post or on the BIDS Helper site itself). This is the first release that supports SQL 2012 and consequently also the first release that runs in Visual Studio 2010. A big thanks to Greg Galloway for doing the ...
In my early development days, I used Microsoft Access for building databases. It made things easy since I only needed to package the database with the installation package so my clients would have access to it. When we began the development of a new package in Visual Studio .NET I decided to use SQL Server Express. It was free and provided good tools - also free. I thought it was a tremendous idea until it came time to distribute our new software! What a surprise. The nightmare Ah, the choices! Detach ...
The default NuGet template for MVC3 pushes down jQuery 1.5.1. You can upgrade to a new version (1.7.1 is current when this was written) to avoid a problem with the creation of “unknown” HTML5 tags in IE6-8: Take this sample HTML page using HTML5Shiv to provide support for new HTML5 tags in IE6 – IE8. The page has a number of <article> tags that are backwards compatible in Internet Explorer 6-8 thanks to the HTML5Shiv. After the article elements there is a jQuery 1.5.1 script tag, and a ready() ...
Eric Ligman, from Microsoft, posted a great blog post this week listing all of the SharePoint 2010 Virtual Labs that are available from Microsoft. His blog entry is here: http://blogs.msdn.com/b/mss... He also posted other resources as well. I’ve copied his Virtual Lab links here: SharePoint Server 2010 Virtual Labs MSDN Virtual Lab: SharePoint Server 2010: Introduction ...
The Problem I got a compilation error in my ASP.NET MVC3 project that tested my sanity today. (As always, names are changed to protect the innocent) The type or namespace name 'FishViewModel' does not exist in the namespace 'Company.Product.Applicatio... (are you missing an assembly reference?) Sure looks easy! There must be something in the project referring to a FishViewModel. The Confusing Part The first thing I noticed was the that error was occuring in a folder clearly not in my project ...
With the Windows 8 Consumer Preview version out in the open and the Visual Studio 11 Beta also available, I’ve been putting some more effort into trying them both out. The first impression of the new Visual Studio 11 build was: Why doesn’t it work at all on Windows 8?! The issues I encountered were odd to say the least. Visual Studio did install correctly, which was a good sign, but when I started it, I was greeted with a multitude of popups each telling me that some package could not be loaded. ...
If you're like a lot of people I've known, worked with, and been, you have a history of either installing Visual Studio (or getting a computer from IT with Visual Studio already installed), selecting a preset option from the "what kind of development work do you do?" menu, and coding away. I spent years occasionally hearing words like "CodeRush" and "Resharper" without really knowing what these things were or giving a second thought to how a productivity tool like them could help my work. A couple ...
Simplify your HTML Syntax This is the first in the series of demos from the “Using HTML5 Today” talk. One of the great features HTML5 offers is the chance to minimize some of the longer tags in your template, reducing the size of the document and increasing readability and maintainability. Below we cover a few of the easy, cross-browser, backwards-compatible changes. Why are these changes backwards compatible? Because we, the authors of the content on the Internet, are pretty bad at writing proper ...
I will begin this in the traditional, blunt fashion that you've come to expect from me. I am an idiot. There. I said it. I'm not a proud man. I can admit when I invoke my inner moron. Now, ask you, why all this build up? Simple, remember that impression of the Visual Studio 11 Beta from last week? You see, it turns out, I didn't install the Visual Studio 11 Beta that was released a few weeks ago. I installed the Visual Studio 11 Developer's Preview from last September. It was a simple mistake. A ...
It is with some sadness that I write this post as my last for the Redmond Diary blog on the Redmond Developer News and Visual Studio Magazine Web sites. Eleven days ago, I started a new blog for ZDNet covering Big Data, at http://zdnet.com/blog/big-d... There’s been a ton of interest around Big Data in the industry lately and the topic ties into the database and BI work that I’ve done throughout most of my career. So when I was asked to write the blog, I really couldn’t say no. I agreed to write ...
Prior to SSIS 2012 it was not possible to re-use or share the same cache across packages. What that meant is if you created a cache you will be able to consume it only in the very package where the cache was instantiated. Therefore, a developer could take only two routes from here – either make as much heavy ETL processing as possible inside the same package where the cache resides, or populate yet another cache object in every other package where it is needed. The latter was especially harmful leading ...
I’ve received a .csv report from TripWire logs, where each entry is a long text strings.I needed to extract some substring from each row, e.g “ErrorCode: ABC1234” where preceding text is constant, but actual error code could be different. In TSQL I can do someting similar using patIndex and substring, e.g.select text,substring(TEXT,PATINDEX ('%ErrorCode:%',TEXT),10)In C# I can do it using RightAfter and TrimLength from My StringHelperRightAfter(Text... But I was able to ...
Deployment of custom checkin policies can be done using either an MSI or VSIX. There are many reasons to prefer using the VSIX format. It is more lightweight, and thus more suitable for small components for VS, as it will not “pollute” the installed programs store. Further, since the Visual Studio setup projects have been cut from Visual Studio 11, the VSIX is a better choice, being supported both in VS 2010 and VS 11. VSIX is also very easy to create, once you know how, and it is very fast running ...
I wanted to use http://cache.codeplex.com/ in my solution, but it caused compile errorAssembly generation failed -- Referenced assembly does not have a strong nameREASON: When you compile an assembly with a strong name, any referenced assemblies must also have strong name.I could sign Cache project using Visual Studio or using commands as described in “Tip related to strong name”. But It also required to sign referenced DLLs, like BplusTree from http://bplusdotnet.sourcefo... I’ve ...
With as often as I write code that does not perform as well as I would like for it to, I can’t believe how hard it is to write slow code on purpose! My last post gave a mile-high overview of the new version of Redgate’s ANTS Performance Profiler and promised more detail to come. True to my word (this time), this post aims to take a fairly simple application with common “opportunities” and use ANTS Performance Profiler to quantify these opportunities and measure the results. If you’re working along ...
As announced earlier, Microsoft has released the Visual Studio 2012 Consumer Preview. This is the VS Ultimate SKU Beta available for download. You can get it from the link below. http://www.microsoft.com/vi... ...
I decided to download and install the Windows 8 and Visual Studio 11 previews. I figured I had an Acer Inspire One netbook that BARELY met min specs that was holding down paper (as on does with an Acer netbook....) I will not tell you about the installation of Win8. This is because I had my brother download and install it. I will say that he had already downloaded and created the install package on a USB drive. I gave him the netbook at 1PM. He sent me a text saying it was done at 5PM. To me, that's ...
NDepend is a Visual Studio add-in designed for intense code analysis with the goal of high code quality. NDepend uses a number of metrics and aggregates the data in pleasing static and active visual reports. My evaluation of NDepend will be broken up into several different parts.In the first part of the evaluation I looked at the installation for the add-in. In this installment I cover my first impressions resulting from the initial profiling of the solution that I use throughout my evaluation. The ...
If you have not heard the latest technical news yet, the SQL Server 2012 Virtual Launch event is today March 8, 2012! Register to not to miss this opportunity to interact with technology experts and win cool prizes! I am thrilled and excited! Why? Because like in the automotive industry, every new iteration of a vehicle is more fuel efficient, safer, more polished, looking more attractive and fun to drive. Sure, the the new version of the SQL Server is ready to take me further in what I can deliver ...
What is ALMing in Hinglish => Introduction ???? ?????? ??? ???????? ???? ?? ????? ?????? ???????? ??????? ?? ???? ???. ???????? ???? ??????? ???????? ??????? ???? ?? ?? ???? ???, ?? ???????? ??????? ?? ???????????? ????? ??????? 2011 ?? ?????? ?? ?? ???? ?????. In this first in the series of videos I interview Nivedita Bawa who is a Program Manager on the Visual Studio team. Nivedita wonderfully explains what exploratory testing is, what are it’s advantages, why people refrain from using it and ...
????? ??? ??????? ??? ???? ?????? ???????? 11 ????? ?? ??????????? ???? ?? ?? 1000 ?? ???? ??? ??????? ???? ??? ??. ?? ?? ???? ??????? ???? ?? ??? ??? ?? ??? ?? ???? ??? ??? ???? ?? ???. ??? ???????? ??? ???? ??????? ??????? ????????? ?? ???? ??? ?? ‘ALMing in Hinglish’ ?? ?????? ?? ????. Hinglish (?????? + ????????) ?????? ?? ???????? ??? ?? ???????????? ?????? ???????? ?.??.?? ???????? ?? ??? ?????? ?????? ??? ?? ????? ?? ??? ????. ???? ?? ?????? / ??????????? / ????? ?? ??? ????? ?????? ???? ... ...
So far Visual Studio is fine. The only things missing are:
  • StyleCop does not recognise the current Resharper 7 EAP build
  • Need the updated GhostDoc Pro

I have migrated one of my VS2010 projects to VS 11 Beta and no problems.


Those hard-working developers at Jetbrains are making Resharper 7 for Visual Studio 11 Beta available by what they refer to as the Early Adopter Program (EAP).Build 7 EAP is just for Visual Studio 11 Beta and will run alongside Visual Studio 2010 / Resharper 6(.1)A given build of Resharper 7 EAP will run for 30 days using just an evaluation licence.Details are at http://blogs.jetbrains.com/... Can't code withoutIn-depth C# code ...
It is highly significant that a Go-Live licence is now available for Visual Studio 11 beta. The key sentence is "Visual Studio 11 Beta and .NET Framework 4.5 Beta meet our high standards for pre-release software, so we support application design, development, test, and deployment in test and production environments.".Full details of the Go-Live at http://www.microsoft.com/vi... is still on-going with VS11. I intend to install VS11 on my development PC. ...
Scott Hanselman has posted an excellent article at http://www.hanselman.com/blog/VisualStudio11BetaInContext.aspx on Visual Studio 11 Beta which is now available for download.
Last week I was asked to mask or obfuscate a large volume of data residing in a production database for our software quality assurance team to use in testing some functionality. The data resided in various tables and in several columns per table. Yet, this procedure would need to be done over and over again as the data gets depleted. Yet, the masking supposed to be hidden from the QA people and centrally controlled. I proposed to use SSIS. The next day I did a web scan to just find out that noting ...
It is about time to look at the new .NET Framework 4.5 release along with the brand new Visual Studio 11 Beta 1. Besides the new features I wanted to see if the massive performance complaints have been taken and addressed. First the good things. VS11 Beta 1 does start a lot quicker as its predecessors. It is nearly as fast as VS2008 which was from the performance aspect the best release since VS6. This is great news. Below are some numbers I did compile on my Windows 7 x32 PC with a Intel Duo 6600 ...
From Brian Keller: “I’m very pleased to announce the availability of the Visual Studio 11 Beta ALM Virtual Machine along with 6 hands-on-labs / demo scripts. This marks an exciting milestone in our journey towards RTM. You can now roll up your sleeves and start learning about the many capabilities we announced at TechEd North America last year and have been talking about in greater detail since then. You can download and install the beta of Visual Studio 11 (and Team Foundation Server 11, .NET Framework ...
Microsoft Dynamics 4.0 has a 32-bit BizTalk Adapter which is not compatible with 64-bit versions of Windows or BizTalk. Under Windows Server 2003, the AX 4.0 Adapter would not even install on the 64-bit version of the OS. On Windows Server 2008 R2 (which is only 64-bit), the Adapter installs, but it won’t work. However one of my colleagues, Justin, figured out what is wrong with the Adapter and a workaround to “fix it” so that it would work. The AX 4.0 BizTalk Adapter is a remoting adapter and there’s ...
Single Page Application Frameworks are gaining popularity in the ever evolving web community with lot of libraries such as JavaScriptMVC, Backbonejs and many other libraries. ASP.NET MVC 4 introduces experimental support for building single page application (SPA) through a template. Much of the plumbing work of wiring up the client side scripts, javascript modelviews and the controllers is automated, making it a quick start to develop SPAs relatively easier. Lets examine a scenario where we are building ...
I have been wanting to talk for a while about the approach we take to analysis of an application we are about to integrate with. In the past I have seen a lot of cases where analysis is undertaken by looking at the interface specification documents from an application vendor and then taking their contract (which hopefully is standards based) reading them numerous times and then we plough into the development. The big problem with this is that we make a number of assumptions about the application ...
While coding a very simple orchestration in BizTalk Server 2010, I ran into the dreaded "cannot implicitly convert type 'System.Xml.XmlDocument' to '<message type>'" issue. I've seen this happen a few times over the years, and it has often mystified me. My orchestration defines a message using a schema type. In a Message Assignment shape, I create the message as an XML Document and then assign the document to the message. I initially wrote the code to populate the XML Document with some dummy ...
In this post we will see few of the initial steps for developing BizTalk Solutions for integrating with PeopleSoft Enterprise Systems using PeopleSoft Adapter. In order to proceed further, you must have Installed and Configured PeopleSoft Adapter properly, both on BizTalk side and PeopleSoft System side. This particular post is based on PeopleSoft HRMS 9.0 system. But the steps shown below should be same for any PeopleSoft Enterprise System. The steps will be same to connect to any Component Interface ...
I have some basic rules when it comes to checked in code to TFS. The one at the top of the list of rules is that, any developer should get the latest code from TFS, deploy and have a working web part, workflow or any other customization in SharePoint. This means that all dependencies should be deployed with the customization. If the web part uses a custom list as a data source, then a developer should not have to manually create site columns with the ‘correct’ internal and display name, list instances ...
A while back I was helping a client upgrade SharePoint 2007 code to SharePoint 2010 and I came across this interesting problem. I was working web parts that were created in Visual Studio 2008 using WSPBuilder extensions. The first order of business was to convert them to Visual Studio 2010 templates instead of using WSPBuilder 2010 extensions. Why Use Visual Studio 2010 templates? There are two main reasons I highly recommend using Visual Studio 2010 templates instead of using WSPBuilder 2010 templates. ...