Browse by Tags

All Tags » Visual Studio (RSS)

How to create a new WCF/MVC/jQuery application from scratch

As a corporate developer by trade, I don't get much opportunity to create from-the-ground-up web sites; usually it's tweaks, fixes, and new functionality to existing sites. And with hobby sites, I often don't find the challenges I run into with enterprise...

Oracle 64-bit assembly throws BadImageFormatException when running unit tests

We recently upgraded to the 64-bit Oracle client. Since then, Visual Studio 2010 unit tests that hit the database (I know, unit tests shouldn't hit the database--they're not perfect) all fail with this error message: Test method MyProject.Test.SomeTest...

MVC 4 and the App_Start folder

I've been delving into ASP.NET MVC 4 a little since its release last month. One thing I was chomping at the bit to explore was its bundling and minification functionality, for which I'd previously used Cassette , and been fairly happy with it. MVC 4's...
Posted by pjohnson | 2 comment(s)
Filed under: , ,

Unity throws SynchronizationLockException while debugging

I've found Unity to be a great resource for writing unit-testable code, and tests targeting it. Sadly, not all those unit tests work perfectly the first time (TDD notwithstanding), and sometimes it's not even immediately apparent why they're failing....
Posted by pjohnson

Windows Workflow Foundation (WF) and things I wish were more intuitive

I've started using Windows Workflow Foundation, and so far ran into a few things that aren't incredibly obvious. Microsoft did a good job of providing a ton of samples, which is handy because you need them to get anywhere with WF. The docs are thin, so...
Posted by pjohnson | 4 comment(s)
Filed under: , , ,

Migrating from VS 2005 to VS 2008

I recently helped migrate a ton of code from Visual Studio 2005 to 2008, and .NET 2.0 to 3.5. Most of it went very smoothly; it touches every .sln, .csproj, and .Designer.cs file, and puts a bunch of junk in Web.Configs, but rarely encountered errors...

TFS deleted files still show up in Source Control Explorer

One problem I've had in Team Foundation Server since Visual Studio 2005 and still in VS 2008 is when items are deleted by someone else, they still show up in Source Control Explorer, with a gray folder with a red X icon, even with "Show deleted items...
Posted by pjohnson | 2 comment(s)

Windows service setup projects - Unable to build custom action error

I ran into another under-documented snag upgrading my solution to Visual Studio 2005. It has a Windows service used for behind-the-scenes maintenance sorts of tasks that run on a regular basis, and a corresponding setup project. Now, it's also got...

Ambiguous match found

Looks like I've been away a few months. Sorry 'bout that. I've had stuff to write about but not enough time to set aside to do so, which is a little ironic; one of the main reasons I created this blog was so I could take 5 minutes and jot down stuff I...
Posted by pjohnson | 95 comment(s)
Filed under: ,
More Posts