dotnet thoughts 

a dotnet developer's technical blog

PSR – Problem Step Recorder – Free Windows Screen Recording tool

Problem Step Recorder is a handy utility from Microsoft helps to automatically capture the steps you take on a computer, including a text description of where you clicked and a picture of the screen during each click (called a screen shot). Once you capture these steps, you can save them to a file that can be used by a support professional or someone else helping you with a computer problem. Click here for Problem Steps Recorder Overview. You can launch psr from Start Menu > Run and type psr.

MSTest.exe does not deploy all items

MS Test running command line

MS Test running command line

Today while working on some regression build issues, me and my lead noticed one problem with MS Tests, we are running MSTest.exe from commandline to execute few tests. The problem was MSTest.exe was is not copying all the referenced assemblies to the Out folder, and this is causing failures. We initially thought the issue with commandline MSTest.exe, because all these test cases were running fine, when we run same using Visual Studio IDE. All the required assemblies are referenced to the test project, because of that we didn’t tried the DeploymentItem attribute. We tried the various MSTest commandline switches, but nothing worked. Later we found the issue, it was because of the referenced assemblies was not being used in the test. The problem fixed by creating instance of the all required assemblies in the test cases.

Thanks to Raghu :) Happy unit testing.

SQL Server 2012 Release Candidate is now Available!

SQL Server 2012

SQL Server 2012

SQL Server 2012 RC is the first release which is feature complete and represents an exciting milestone for customers and partners looking to experience the full value of SQL Server 2012. Today, you have the chance to download, preview and deploy the full marquee capabilities being delivered in SQL Server 2012. RC is a production quality release that includes access to upgrade and migration tools like Upgrade Advisor, Distributed Replay and SQL Server Migration Assistant (SSMA). Upgrade Advisor and Distributed Replay allow you to perform thorough analysis and testing of your current SQL Server applications before upgrading so you know what to expect. You can also use SSMA to automate migrate non-SQL Server databases to SQL Server 2012.

Download SQL Server 2012 RC today here. Learn more about SQL Server 2012 at www.microsoft.com/sqlserver

Free .NET Decompiler – JustDecompile

Few days back I read one blog post from Telerik, about beta release of JustDecompile. From official blog :

JustDecompile is a new, free developer productivity tool designed to enable easy .NET assembly browsing and decompiling. In the past it has only worked with .NET assemblies, but today it also works with Silverlight XAP files. I’m going to walk you through a sample of using this functionality.

You can download the JustDecompile from here.

And here is screenshot of JustDecompile running on my system.

 Telerik JustDecompile Beta

Telerik JustDecompile Beta

It is still in beta stage. So I don’t think it is not in state where we can compare this with other .net decompilers available in the market.

Happy Programming.

There is a duplicate ‘system.web.extensions / scripting / scriptResourceHandler’ section defined

After installing Sharepoint Foundation(again its not worked :( ) on my Windows 7 system I got this while looking into the Authentication feature of IIS.

Exception - There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined

There is a duplicate 'system.web.extensions/ scripting/ scriptResourceHandler' section defined.

But after verifying the web.config file, I couldn’t find the duplicate entry. After searching I found that this issue is with ASP.NET 4.0 / VS 2010. The workaround for the scenario is to delete or comment out all the system.web.extensions configuration section definitions and configuration section group definitions from the application-level web.config file. Because all these settings are available in the top application level web.config file, will be under the configSections element.

« Newer PostsOlder Posts »