in

ASP.NET Weblogs

This Blog

Syndication

Jason Salas' WebLog

On-air and online: making people laugh, making people think, pissing people off

A web dev's education: .NET-developed Win32 apps won't neccesarily run on PCs without the CLR (or, "Yes, Virginia, I am a moron")

This pretty much sums up my technical acumen outside the comfortable confines of development for the World Wide Web, thereby confirming much speculation that I'm an idiot, but a collaborative project with a friend hit an interesting roadbump when I realized that Win32 apps developed in .NET languages require the CLR installed on the client PC.  During unit testing, I was playing with an early build of a custom IE toolbar written in VB .NET, after which point I asked gingerly, "Umm...this won't require .NET to be installed on the user's machine, right?"  You can pretty much deduce my shock/dismay when finding out that such was a requirement.  D-uh! 

I'm assuming that the overwhelming majority of people who would download and use this control wouldn't have the CLR on their machines, with the ultimate product being available for mass public consumption.

For some strange cosmic reason, the fact that the .NET runtime might be required to execute a program written in .NET (an IE toolbar) never dawned on me, with me being naive in thinking that a program written in and compiled for .NET would...well, just work in IE.  Thankfully, Geoff Appleby has a wide enough technical background and a hell of a lot of patience to be able to roll a version in VB6. 

Again, I'm wandering in unfamiliar territory here, but keeping an open mind and trying to not step on the same land mine twice. 

Published Aug 16 2004, 10:51 AM by guam-aspdev
Filed under:

Comments

 

Leonard said:

So, is there any chance that a .NET compiled project be run on a machine without the framework ?
August 16, 2004 10:23 AM
 

Jason Salas said:

As I understand it (anyone with more accurate knowledge than I feel free to jump in anytime), the only OS that ships with .NET support is Win2003. To get a .NET-compiled program to work on a machine without .NET installed requires downloading the 23.5MB .NET Framework Runtime.

It's bascially .NET or .not. :(
August 16, 2004 7:04 PM

Leave a Comment

(required)  
(optional)
(required)  
Add