Tag | Visual Studio Posts

In my prior blog post on this topic, I showed how to use the PowerShell Start-Process command to initiate the rebuild of a Visual Studio solution using MSBUILD. With today's post, I'll show how I've wrapped this call into a PowerShell function to make it more PowerShell friendly. As I mentioned last time, the wrapper function's name is Build-VisualStudioSolution. I know, I know... "Build" is not an approved verb. I decided it was the most appropriate verb for this function given the intent and circumstances. ...
Several attendees asked me to share the roadmap slide from the developer track at Tech.Days 2011 this week. This is my summary as of May 23rd 2011. Beta Extra Small compute instance Windows Azure VM Role CTP Windows Azure Connect Windows Azure Traffic Manager SQL Azure OData Service (labs) SQL Azure Reporting (Limited CTP) SQL Azure Data Sync (labs) AppFabric Service Bus enhancements (labs) Announced SQL Azure Backup and Restore SQL Azure Federations SQL Azure codename “Austin” AppFabric Developer ...
Save 30% at LearnVisualStudio.NET http://www.learnvisualstudi... Learn Visual Studio have just added dozens of new Silverlight 4.0 videos to their collection and will continue adding new Silverlight videos as well as new ASP.NET 4.0 videos throughout June and July! Get immediate access to all of these videos and over 1,000 video tutorials in our collection on ASP.NET, C#, VB.NET and more! Get started for as little as $48.97 for a 1 Year Subscription! You can ...
TechEd 2011 got us talking about the next Visual Studio version called vNext. The update adds multiple small and subtle performance improvements as well as major new ALM tools. These tools focus on helping developers work in the so called Virtuous Cycle, which consists of development and operation in a continuous loop. The major tools concentrate on requirements gathering, agile planning, stakeholder feedback, test coverage analysis and much much more. You can see the full session by Cameron Skinner ...
“Design Patterns 100? is a prerequisite for .NET Developers. (Part 5 – Excerpts from July 2010 – PhillyNJ.NET Presentation) Continuing our discussion from Part-4 we ask. What are the “Gang of Four” (GoF) Behavioral Patterns and where can we find them in the .NET Framework? Chain of Responsibility Pattern – A way of passing a request between a chain of objects Command Pattern – Encapsulate a command request as an object Interpreter Pattern – A way to include language elements in a program Iterator ...
“Design Patterns 100? is a prerequisite for .NET Developers. (Part 3 – Excerpts from July 2010 – PhillyNJ.NET Presentation) Continuing our discussion from Part-2 we ask. What are the “Gang of Four” (GoF) Creational Patterns and where can we find them in the .NET Framework? Let’s look at a list of the Creational Patterns as defined by the GoF. Abstract Factory Pattern – creates an instance of several families of classes Factory Method Pattern – creates an instance of several derived classes Builder ...
A new power tool that promises to redefine the way you debug. You would need the high end Visual Studio 2010 Ultimate edition to run this power tool, the idea is to enhance the debugging experience and present code in bubble windows as you navigate from code in one page to code in another page. This should let u traverse through the stack easily, what more you can save the debug bubble canvas session, add notes, etc. The power tool will be available for download shortly. The video is promising indeed… ...
Most of us have probably used or know of the System.Diagnostics.Debugger... For more information on Debugger.Break checkout this link http://msdn.microsoft.com/e... Online documentation states that if no debugger is already attached, user would be prompted to attach one to executing program when the break is hit. For some reason however, this didn’t work for us when our desired breakpoint was in an OnInstall() function of an installer class. Further ...
Much has been talked about the new release of ASP.NET MVC, i.e. MVC 3 and the new Razor syntax and the ability to simplify the development. Razor uses the @ prefix for switching between code and HTML and that kind of simplifies it when compared to using <%: symbol as with the case in MVC and ASPX engines. Here is a nice article from David Ebbo on how all of these fit together Not just that, Razor comes with a lot of goodies. The Helper classes simplify in doing some of the common tasks, doing ...
This is a placeholder for the folks who attended the Microsoft UK tech days developer track on the Windows Azure Platform and asked me to share my decks asap. I will create a much more detailed posting once both days are done. Download decks: New Old or Pink – it is all good Windows Azure Platform Roadmap The main links from the day are: Connect with my team if you are an ISV (or similar) in the UK – http://bit.ly/ukisvfirststop (Including our blog, LinkedIn group and Microsoft Platform Ready assistance ...

This is my first blog entry on geekswithblogs.net. I will mainly be blogging about my experiences in C/C++ and Visual Studio but I will also blog about other technologies and languages when something interesting comes along.

So stay tuned for more!

Several people have already written about how to add Intellisense to Visual Studio for SharePoint 2010’s Client Object Model (ECMAScript or JavaScript). Here’s one that I followed: http://praveenbattula.blogs... Following those instructions, mine still didn’t work. I finally got it to work after removing the <script> tags in my file ...
Just reminder of a post I wrote back in December. Don’t forget that there is a variety of free ebooks available for download on a number of different developer and IT topics. Developer subjects include Programming Windows Phone 7, Moving to Visual Studio 2010, and Introducing SQL Server 2008 R2. IT topics include Deploying Windows 7, Understanding Microsoft Virtualization Solutions and First Look at Office 2010 just to name a few. Have a day ...
VSCommands2010 adds multiple convenient features to Visual Studio 2010. For instance, one feature of VSCommands2010 I use frequently is the ability to visually "Group" partial classes in Solution Explorer. This comes in handy especially with the relatively large number of files in our .Net 4.0 solutions. I did however run into an interesting problem as I attempted to upgrade VSCommands to the latest version. Updates to the tool were successfully downloaded to disk as evidenced by the progress bar, ...
If you work with XAML day in and day out then surely you will have your own tips/tricks for working inside of Visual Studio 2010. Here are mine. I hope that you find them useful. Tip #1 When Double Clicking on a .XAML File go directly to the XAML View and collapse the Design split view. I find it annoying how the design view opens up every time you double click on a .XAML file. I like to create my UI inside of Expression Blend instead of Visual Studio. For instance, I get the following screen when ...
Oh this is just too cool… check out the new Debugger Canvas Power Tool for Visual Studio 2010. You have got to watch the demo video. It’s called the Debugger Canvas and the best news is that it’s going to be available for download from the Microsoft DevLabs next month. It looks like this could really revolutionize the way we debug code in Visual Studio. There is a lot to like here. I like being able to see all the code in the call stack. I like being able to save the status of an object for comparison ...
There have been some great announcements at the Tech-ed North America 2011. The announcements have been around, Enhanced User Experience Agile Planning Tools Lightweight Requirements Stakeholder Feedback Code Review Features Continuous Integration Agile Quality Assurance Aligning Quality Assurance Some buzz words you will be hearing overtime with vNext will be code review, search code blocks, my Work Hub, context switching, intellitrace in production, scom integration with TFS…. Agile Planning No ...
One of the several hats I wear at work is one of configuration manager for the internal data management application my employer uses. This app currently has 11 solutions of active code which need to be built whenever we release to the QA environment. The QA releases typically occur a minimum of 3 times per month and take approximately 30 minutes from source control "Get Latest" to the final step of the deployment onto the QA servers. A few years ago, my team automated the post-build deployment steps ...
I’ve released a new version of seatest which fixes some little bugs / flaws and also introduces global setup / teardowns. It can be found at http://code.google.com/p/se... I’ve found it really useful for the C based projects I’m working on. The only thing I think might be useful is some tools to help generate new tests / test fixtures / suites. In Visual studio I have both Visual Assist and Resharper which provide templating capabilities. But it might be nice to build my own custom tools specifically ...
Its been a while since I blogged. Its been hard balancing blogging time, work and many other activities. Most my days and even evenings have been cluttered with a number of tasks ranging from mundial to critical. There is some which have been most interesting include very nice lessons I took from from some of the people I respect in the industry. I will try and highlight some of the things I did in below. 1) The DataObjects.NET contribution programme. From February this year I quickly responded to ...
For Microsoft these days, great things are happening at the macro level, and yet there’s fits-and-starts progress down below. This year’s Tech Ed North America conference represented, in event-form, that very duality. On the one hand, this was the largest Tech Ed in my memory, with 10,000 attendees. But the customary Microsoft 2-day, all-morning keynote format was shortened to a Day 1, 90-minute talk on Cloud and Visual Studio. Microsoft’s cloud push reached an almost fever pitch; but various new ...
If you are trying to get up to speed on Visual Studio 2010 and .NET Framework 4.0 you can get a training kit from Microsoft website for free. It is 411 MB exe file and after install you can navigate thru presentations, labs and demos. http://www.microsoft.com/do... N. Overview The Visual Studio 2010 and .NET Framework 4 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help ...
Luego de varios días de intenso trabajo, hoy he tomado un pequeño espacio de tiempo para dedicar un post al trabajo con datos en forma de tablas en asp.net Todos los que hemos trabajado desde hace bastante con asp.net, hemos aprendido a querer al GridView, un excelente control que nos permite mostrar los datos directamente desde una base de datos y trabajar con ellos, llamase trabajar a las operaciones de: editar, buscar, agregar y eliminar. Por supuesto que existen muchas otras opciones que no son ...
At TechEd this year, there's only a few sessions and expo booths aimed squarely at devs rather than sysadmins and DBAs, but one of the things I picked up on was what's going into Visual Studio vNext. There's no shiny new UI features (that they've announced so far...) but they are doing a whole lot of work improving the performance and memory usage of VS - parallel builds (already supported in core MSBuild, just not used in VS up to now), and spinning off a separate process to do each build. This ...
[Updated with an answer to Question 3] Once again I want to thank everyone who came out for my talk on IntelliTrace and Visual Studio 2010 Ultimate yesterday at Tech Ed 2011! After querying some MVPs and some product group members, we’ve come up with answers to some of the questions that were posed yesterday: Question 1: Can you turn on call logging in IntelliTrace dynamically? The example I was given was the application under test takes a while to spin up and makes a bunch of calls that they don’t ...
All right this is a repeat, but it well worth you having the email I have recieved from those nice people at JetBrains. Following recent developments in the .NET decompiling tools market, JetBrains is happy to offer its own decompiler called dotPeek that brings a host of powerful ReSharper features to everyone, completely free of charge. You can download an early dotPeek build right now. dotPeek offers: Decompilation of .NET 1.0-4.0 assemblies to C# Code syntax highlighting and code insight features ...
Recently I was working in the Staging environment at my current client. A Debugging Opportunity occurred and I needed to trace into a Called Orchestration. “No symbolic information was found for this orchestration. In the Visual Studio project containing the orchestration, set the Embed Tracking Information option to True. Rebuild and redeploy to enable tracking and debugging.” I have NO idea how this came about, but after inspecting the properties of the Project and comparing it to a working Orchestration ...
Wow, where does the time go? Here I am, sitting in the Memphis airport on Sunday evening, waiting for my flight to Atlanta for Tech Ed 2011 – North America. I love going to Tech Ed, as it is the conference that really re-energizes me for the year. And this year especially, as I’m speaking again on one of the biggest stages in the world. This year I am speaking on IntelliTrace, formerly known as “Historical Debugging”. The main idea behind IntelliTrace is that you no longer run into the “un-reproducable ...
If you develop ArcGIS Add-ins with Visual Studio under limited permissions you get during the build process an error, that the stuff could not be registered. Normally its enough to run one times this build as an admin. Then all needed information are set and also taken for users with limited access. So – how to suppress the registration task? If you look inside the running target (C:\Program Files (x86)\MSBuild\ESRI\ESRI.Arc... you will see these statements: <Warning Text="Skipping ...
Microsoft has released an updated virtual machine for Visual Studio 2010 RTM including TFS, Microsoft Test Manager, all the bits. Also includes sample projects and hands on labs. The previous version expires June 1st, this one is good until November 1st, 2011. As usual Brian Keller has all the details including download instructions! Technorati Tags: TFS 2010 ...

My visit to TechDays paid off really will since i got a free copy of Telerik "Just Code". And this is a really nice tool to add to Visual Studio. JustCode assists in code analysis, refactoring, code formatting, etc. And it does this in a really good way. It allows me to easily find and fix code problems is an elegant and fast way. If you want to try it, visit http://www.telerik.com/products/justcode.aspx . I think you'll like it.

Visual Studio 2010 is not support built-in syntax highlight for HLSL, and I found great soultion – NShader – HLSL\ GLSL \ CG - Shader Syntax Highlighter add-in for Visual Studio. And now editor window with loaded *.fx file looks like following: NShader support VS 2008 and 2010, and it’s free. Another way to get syntax highlight is to set VS for opening *.fx in Notepad++ (with one of HLSL language definitions, it hasn’t built-in support). I like to stay inside Visual Studio, so I prefer NShader :) ...
Vorkenntnisse: Kenntnisse einer Programmiersprache sind hilfreich. Zielgruppe: Dieser Workshop richtet sich an alle Softwareentwickler und Softwarearchitekten, die Lösungen in Form von ArcGIS Desktop Erweiterungen oder ArcGIS Engine Anwendungen planen und entwickeln. Kurzbeschreibung: Professionelle Softwareentwicklung hat primär nichts mit Geld zu tun, oder mit der Verwendung teurer Entwicklungstools. Vielmehr basiert Professionelle Softwareentwicklung auf Werten mit dem Ziel, dauerhaft guten, fehlerfreien ...
The 1.0.1 version of the Build Folder Extension is now out and can be downloaded from the Visual Studio Code Gallery at http://visualstudiogallery.... Source code, discussions and issue tracking can be found at the codeplex site at http://tfsbuildfolders.code... Context menu The context menu has been extended with the following commands, shown below: Queue New Build… : This pops up the traditional queue build dialog Queue Default Build(s): ...
One of my colleagues pinged me to check, how to use the MailDefinition class for creating formatted mails from a .NET Console Application. She was referring to this article http://www.search-this.com/... which seems to be building a nice template email that can be sent. But this article was related to ASP.NET and hence didn’t have issues in referencing the MailDefinition Class which is part of System.Web.UI.WebControls namespace. The application ...
Sometimes the IDE for building report definition files (rdlc and rdl) needs to be a little more constraining. How often do we run a report after some edit and get interspersed (nearly) blank pages? Since this has been happening to me since early Access days, it just blows me away that Microsoft has never added an attribute for the body of a report that says "designer, I want you to strictly hold me to this width regardless of whether I drag or bump something outside of those constraints". Given that ...
Recently, I felt the need to utilize online source code repository and version control system (SVN) for my personal project. As I started searching, I found plenty, and many of them are free of cost; however, I wanted my code to reside in a private repository. With this criteria in place, I was able to very quickly narrow my search down to a handful of providers. After going through many user reviews and personal assessment, I decided to use unfuddle, and their version control system. Unfuddle allows ...
Lately, I have been taking some time to learn some new technologies. For me, the best way to learn a new technology is to jump head first into a project: Daily deal websites such as GroupOn, LivingSocial, DealFind, etc. have really taken off over the last 6 months. With so many sites out there, my inbox was being flooded with emails from all these daily deal websites. This seemed like it might be a fun project, so I set out to build a daily deal aggregator. First, I built a Windows Phone 7 app. I ...
One thing that has become clear over the last couple of years is the inclusion of helpful tools and resources in every Administrator’s Toolbox. Gary Lapointe created a PowerShell Cheat Sheet (a one pager quick hit) http://bit.ly/kJVnGd PowerGUI PowerShell Quick Reference Card for SharePoint. http://www.powergui.org/ent... SharePoint Software Factory 2010 http://bit.ly/eC7efh SharePoint 2010 Operations Guides http://bit.ly/hq9UZy Marcy Kellar’s Branding and Customization ...
For the longest time, the Content Pipeline was a magic transmogrification device to me. I would add content to a content project and it would get mystically turned into stuff I would load in my game with ContentManager. A few months ago I decided it was time to put an end to its magical aspects and learn how it worked and how I could put it to work. I thought it would be helpful to share what I learned so I created a sample. This sample has two different custom extensions. The first is a complete ...
There was already a version of MVVM Light on Nuget before. However the old version did not support Windows Phone 7. This is now corrected. Also the new version now adds a ViewModelLocator to your project and includes it in App.xaml. What is NuGet? NuGet is a mechanism allowing to add packages (assemblies, source code…) to an existing project. All versions of MVVM Light are supported (WPF3.5, WPF4, Silverlight 3, Silverlight 4, Windows Phone 7). In order to install NuGet and learn more about this ...
This is a problem I've struggled and struggled with. No workaround or fix I found on the internet worked. In fact the work around I finally got to work incorporates a combination of fixes. Symptoms The Form or User Control designer in Visual Studio displays the following error: Visual inheritance is currently disabled because the base class references a device-specific component or contains P/Invoke Cause In case you didn't know P/Invoke is used to access un-managed code (com components). The designer ...
If you organize your BizTalk projects based on the type of artifacts, e.g., a solution contains schema project, pipeline project, map project, orchestration project, you might often encounter build failure problems due to the missing assembly reference. Sometime, even if you have the references properly added and you are able to verify them in object browser, you might still have problem not seeing the newly added or modified artifacts in any configuration window. The reasons for this kind of issues ...
Windows Azure Boot Camp: Diagnostics (http://wabcdemos.cloudapp.... Remote desktop MonAgentHost.exe starts Auto, listener wired up in app/web.config Need to define a storage account User can set quota Source to Storage: Example: Trace log to Azure Table; IIS Logs to Blob; Windows Event to Azure Table, Crash dump to Blob, ... Load Diagnostic Agent <Imports><Import moduleName="Diagnostic" /></Imports> OnStart({DiagnosticMonitor.... TransferFilterLogLevel and ...
In this Issue: Kunal Chowdhury, Peter Kuhn, David Anson, Rob Tiffany, Paul Sheriff, Jesse Liberty, Jeremy Likness, Mike Taulty(-2-), and Andrea Boschin. Above the Fold: Silverlight: "Performance Optimization of Silverlight Applications using Visual Studio 2010 SP1" Jeremy Likness WP7: "The Reactive Snake for Windows Phone 7" Andrea Boschin From SilverlightCream.com: Step-by-Step Using ImplicitDataType in Silverlight 5 Beta Kunal Chowdhury has a good tutorial up on Silverlight 5 Beta's ImplicitDataType ...
I just finished delivering 4 sessions for www.sswug.org at the end of April 2011. Above is a screenshot that was taken inside of the studio. Now, I am going to do a webinar on Silverlight 5 then head to Knoxville, TN and finally Chattanooga, TN. Keep reading for details on the events: SilverlightShow.net Webinar on “Getting started with the Silverlight 5 Beta.” Wed, May 11th, 10 am PST (check your local time) Register for this webinar This webinar is designed for people who want to quickly understand ...
NuGet (pronounced NewGet), is an open source .Net Package Management Tool compatible with Visual Studio 2010 both Express and Commercial Editions. This simple-yet-powerful tool offers a simple way for incorporating and managing .Net packages in Visual Studio 2010 projects. In leveraging NuGet, we get an intuitive user interface allowing the selection of available packages and an easy way to subsequently manage version upgrades or uninstalls for packages already installed via NuGet. I recently spoke ...
With the ability to extend Visual Studio 2010, lots of great extensions have popped up. These not only increase productivity, but make the whole coding experience much nicer. To find and install extensions, in Visual Studio just go to Tools -> Extension Manager. Here's a list of my favorites: Read more at http://blog.danskingdom.com... ...
I have found myself using more and more of the tools Red Gate software makes. They have proven (to me) to be effective and to the point. This time I am talking about SQL Source Control. Simple to use, simple to add a database to be under Change Control, which really is the goal. Don’t take me wrong, Visual Studio is a great tool, yet it is a developer’s tool. As a DBA or Database Developer (referring to an individual who codes T-SQL) we want to launch SQL Server Management Studio and be able to control ...
As Harry Hill might say, "I like Visual Studio. And I like Eclipse. But which one is better? Only one way to find out…" For a lot of people a lot of the time, the question is irrelevant. If you are doing Java development, you are going to pick Eclipse, and for .NET development you are going to pick Visual Studio. But both IDEs are extensible, and have communities providing extensions for other languages, so if you are using another language it might not be so clear cut. And if you are a language ...