PDA

View Full Version : Microsoft .NET Framework v2.0 Final


IGx89
10-27-2005, 12:48 PM
Microsoft .NET Framework v2.0 Final was just released today; get it here (http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en).

Does SnapStream plan on allowing BeyondTV to use .Net 2.0? Right now it's forced to just use .Net 1.1. I would imagine there'd be speed/memory/stability benefits from using .Net 2.0, but since I'm currently recording something I can't test it out (by deleting all the *.config files and restarting BTV) myself yet :).

blitzkrg
10-27-2005, 04:00 PM
anybody try this? i'd like to install it, but am not brave enough :)

IGx89
10-27-2005, 04:02 PM
I removed the .config files, and even tried keeping them but changing the version to 2.0.x, but I still can't tell if BTV is running under the 1.1 or 2.0 framework. My guess is that it is still running under 1.1, and I have yet to figure out how to force it to use 2.0.

But, needless to say, just installing the .Net 2.0 runtimes isn't going to cause any problems with BTV :).

rkuo
10-27-2005, 04:07 PM
I'd recommend keeping it under v1.1. We tend not to use .NET in performance critical situations so there's probably very little to be gained by trying to switch and the potential errors can be subtle when they occur.

IGx89
10-27-2005, 04:13 PM
Does the guide data updater use .NET? That's the main thing I've been wanting a performance improvement in, because IMHO a daily incremental update shouldn't take 100% CPU for 40min.

IGx89
10-29-2005, 12:12 PM
There doesn't appear to be any reasonably easy way to force BTV to use .NET 2.0, so it looks like we're going to have to wait until SnapStream compiles BTV under .NET 2.0 before we'll find out if there are any improvements. Hopefully someone there some evening will get curious and try it out, and let us know *hint, hint* ;)

jmaver
10-29-2005, 05:19 PM
You can force it using app.config files. You can manually create them as the appname.exe.config.
Would be like this:

<?xml version ="1.0"?>
<configuration>
<startup>
<!--change the versions below to the new 2.0 version -->
<requiredRuntime version="v1.0.3705"/>
<supportedRuntime version="v1.0.3705"/>
</startup>
</configuration>

I can't remember the version number off hand for 2.0.
I don't really know why you would want to do this, other than not wanting to have both frameworks installed. 2.0 is supposed to run 1.1. programs in general.

IGx89
10-29-2005, 05:23 PM
To my knowledge that doesn't work for 2.0, only for 1.0 and 1.1.

jmaver
10-29-2005, 07:28 PM
That would be odd. They supposedly did quite a lot of work to maintain compatibility for running 1.1 built apps under 2.0 and the app.config stuff must still work - it is too important. I haven't tried it myself, but here is a link to someone doing this to make cruisecontrol.net work using nunit on framework 2.0. http://blogs.msdn.com/mswanson/archive/0001/01/01/238423.aspx
Anyway, I haven't tried this, and I most likely won'.