title: compile specifically for .net 2.0 runtime in VS2010?
body: <p>I have a bunch of old VB.NET code, written originally on VS2005, and now I no longer have the license. I downloaded VS2010 free edition, and I just want to apply a relatively minor patch to an assembly/DLL. This particular DLL is being used by an existing Windows service (also written in VB.NET), and it's the server side implementation of a TCP remoting implementation.  </p>
  
  <p>So I need my patched code to be compatible with it all of this. When I naively tried to just build under VS2010, drop the DLL in place, and restart the service, it bails with some error about bad magic number or something. (I'm assuming because it's .NET 3.0 and the .NET 2.0 runtime has no idea how to deal with that).</p>
  
  <p>Sorry for the long lead up, but I'm hoping there's some way in VS to say, 'build this as a .NET 2.0 assembly'. If this isn't possible, what are my options?</p>