SDK - which version?

  • Thread starter Thread starter Guest
  • Start date Start date
re:
I don't know how to check which version!!!

To find out what version of the .NET Framework you are running :

Please copy the following into a file named "version.aspx",
and place the file in your wwwroot directory.

version.aspx:
-------------

<%@ Page Language="VB" %>
<html>
<head>
</head>
<body>
<%
Response.Write(System.Environment.Version.ToString())
%>
</body>
</html>

--------

If you placed it in your wwwroot directory,
please run the file by clicking on this link :

http://localhost/version.aspx

That will tell you what version of the .NET Framework you're running.




Juan T. Llibre
===========
 
Thanks, I did as instructed and it came back as:

2.0.40607.42

I have installed the SDK so I take it this is the latest version, not 1.1?

Slightly confused by this.

- Jason
 
ps: I see pointers that the latest service packes (sp) should be
installed....surely my last download would have taken care of this...is it
possible to see in the version number what sp I have?

Thanks
Jason
 
Hi, Jason.

What you have installed is the beta version
of the .Net Framework 2.0.

The latest *released* version is 1.1.

You don't have to download anything else.
You've got the "latest", although it's still in beta.

Just make sure, when you do documentation searches,
to use the docs in your hard drive and not docs online,
since those will mostly refer to 1.0 and 1.1.

Good luck!

Posting here will be fine for problem resolution,
but make sure you mention you're using .Net 2.0,
since it has many new classes and there's boatloads
of class changes from 1.1 and 1.0.




Juan T. Llibre
===========
 
Hey Juan - thanks for your help!

One more thing: I manged to figure how to compile (finally!) a simple hello
world example and another one I found in the SDK.

But, although it worked I and created the .EXE in my target folder etc I am
confused about the intended 'debug' output:

// Allow easy reference to the System namespace classes.
using System;

// This class exists only to house the entry point.
class MainApp {
// The static method, Main, is the application's entry point.
public static void Main() {
// Write text to the console.
Console.WriteLine("Hello World using C#!");
}
}

//COMPILATION CODE IN CMD.EXE: csc.exe /debug+ /out:.\HelloCS.exe helloCS.cs

After I have compiled and attempt to double-click the EXE it flashes the
command prompt and disappears....is there perahps an additional step or
somethign to show the console.writeline...

Sorry if this a stupid question!

Cheers
Jason
 
re:
After I have compiled and attempt to double-click the EXE
it flashes the command prompt and disappears....is there
perhaps an additional step or somethign to show the
console.writeline...

Try executing the .exe from a command prompt,
and not from within the Windows Explorer.

re:
Sorry if this a stupid question!

There's no stupid questions.
Hmmm...maybe there are some...but yours isn't one !

:-)




Juan T. Llibre
===========
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top