.NET 2.0??
-
I Have a few questions about .Net 2.0 and C# 2.0. I’m using Visual Studio 2003 and I can’t figure out how to upgrade to the new specifications. I’ve downloaded and installed “.NET Framework Version 2.0 Redistributable Package (x86)” and the “.NET Framework 2.0 Software Development Kit (SDK)(x86)” but I still don’t have access to the new classes. For exsample System.Windows.Forms.WebBrowser will not compile, nor will “partial class”. Do I have to have VS 2005 for the new specifications to work? Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada
-
I Have a few questions about .Net 2.0 and C# 2.0. I’m using Visual Studio 2003 and I can’t figure out how to upgrade to the new specifications. I’ve downloaded and installed “.NET Framework Version 2.0 Redistributable Package (x86)” and the “.NET Framework 2.0 Software Development Kit (SDK)(x86)” but I still don’t have access to the new classes. For exsample System.Windows.Forms.WebBrowser will not compile, nor will “partial class”. Do I have to have VS 2005 for the new specifications to work? Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada
And what is this ClickOnce shit... Can't you just make an EXE anymore... Does MS realize that their way may not be the best way... Gerrr :mad: Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada Email: rhahn82@telus.net
-
I Have a few questions about .Net 2.0 and C# 2.0. I’m using Visual Studio 2003 and I can’t figure out how to upgrade to the new specifications. I’ve downloaded and installed “.NET Framework Version 2.0 Redistributable Package (x86)” and the “.NET Framework 2.0 Software Development Kit (SDK)(x86)” but I still don’t have access to the new classes. For exsample System.Windows.Forms.WebBrowser will not compile, nor will “partial class”. Do I have to have VS 2005 for the new specifications to work? Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada
HahnTech wrote:
Do I have to have VS 2005 for the new specifications to work?
I think you will have to upgrade to Visual Studio 2005 to develop with C# 2.0 and .NET 2.0.
John 3:16: "For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life." using Earth.Internet.WWW.CodeProject;
-
I Have a few questions about .Net 2.0 and C# 2.0. I’m using Visual Studio 2003 and I can’t figure out how to upgrade to the new specifications. I’ve downloaded and installed “.NET Framework Version 2.0 Redistributable Package (x86)” and the “.NET Framework 2.0 Software Development Kit (SDK)(x86)” but I still don’t have access to the new classes. For exsample System.Windows.Forms.WebBrowser will not compile, nor will “partial class”. Do I have to have VS 2005 for the new specifications to work? Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada
VS2003 will only work with the .NET Framework 1.1. You can't use it to compile a .NET 2.0 app. Remember, the compilers are built into the Framework, not Visual Studio. If you want to use the .NET 2.0 stuff, you'll have to have Visual Studio 2005. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
And what is this ClickOnce shit... Can't you just make an EXE anymore... Does MS realize that their way may not be the best way... Gerrr :mad: Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada Email: rhahn82@telus.net
Well after an afternoon of fighting I figured out how to get just the exe out of c# express. Why there isn’t an option under the build menu for such a thing I’ll never know. Why it won’t run off a shared network drive I don’t know. And while more choice is always good, taking away the option to simply compile to a exe easily is very limiting.:mad: Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada
-
I Have a few questions about .Net 2.0 and C# 2.0. I’m using Visual Studio 2003 and I can’t figure out how to upgrade to the new specifications. I’ve downloaded and installed “.NET Framework Version 2.0 Redistributable Package (x86)” and the “.NET Framework 2.0 Software Development Kit (SDK)(x86)” but I still don’t have access to the new classes. For exsample System.Windows.Forms.WebBrowser will not compile, nor will “partial class”. Do I have to have VS 2005 for the new specifications to work? Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada
you don't need visual studio to compile application using .net 2.0 but you can't access the namespaces or compilers from within VS 2003, since I can't imagine you having a very good time creating .net applications without Visual Studio I would strongly recommend to get VS 2005 if you are planning on using .net 2.0. Incidentally, if you want to user notepad to edit the source code, make sure you reference the right libraries and you configure your application to run under .net 2.0. If you install VS 2005 it takes care of that for you, otherwise you will have to look at the documentation.
-
And what is this ClickOnce shit... Can't you just make an EXE anymore... Does MS realize that their way may not be the best way... Gerrr :mad: Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada Email: rhahn82@telus.net
Click once is not shit, I don't think you understand what it is. it's only one more deploying technology, MSI is one alternative, cabs files is another, click once is another. It has nothing to do with the .exe files, you still will have the .exe or the application would not work. This is about how you deploy your .exe and .dll files. In fact, this was possible in .net 1.1 but only a lot more difficult. All they've done is making it easier because you can define your application's permissions at design time and test it. All click once is doing is using .net policies to determine what an application downloaded through http can do. VS 2005 lets you do it with wizards, that is all.
-
Well after an afternoon of fighting I figured out how to get just the exe out of c# express. Why there isn’t an option under the build menu for such a thing I’ll never know. Why it won’t run off a shared network drive I don’t know. And while more choice is always good, taking away the option to simply compile to a exe easily is very limiting.:mad: Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada
HahnTech wrote:
Well after an afternoon of fighting I figured out how to get just the exe out of c# express.
I've never used the Express editions, but every time you Build the solution/project on all the other versions, you get the .EXE(s) in the bin folder of your project.
HahnTech wrote:
Why it won’t run off a shared network drive I don’t know.
Because network sources are not trusted sources of executable code. Just like in Internet Explorer, if the network source is not trusted, the code is forced to run in a restricted sandbox and doesn't get access to all machines resources. This is configurable if you go into Administrative Tools and configure the permissions/trusts for either the network source or the specific application you want to run. Try reading Code Access Security[^] on MSDN before you start bashing stuff you don't understand yet. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
HahnTech wrote:
Well after an afternoon of fighting I figured out how to get just the exe out of c# express.
I've never used the Express editions, but every time you Build the solution/project on all the other versions, you get the .EXE(s) in the bin folder of your project.
HahnTech wrote:
Why it won’t run off a shared network drive I don’t know.
Because network sources are not trusted sources of executable code. Just like in Internet Explorer, if the network source is not trusted, the code is forced to run in a restricted sandbox and doesn't get access to all machines resources. This is configurable if you go into Administrative Tools and configure the permissions/trusts for either the network source or the specific application you want to run. Try reading Code Access Security[^] on MSDN before you start bashing stuff you don't understand yet. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
Ok so I was having a bad day with MS.. I could find the exe in the bin (on a network share) but when i would run it there was nothing said about security, only that the application has encountered a problem and needs to close. Well that’s great. In 2003 you would get a warning and have the ability to allow or disallow. At least that way you hade a change to know what was going on. I’ll worry about security when I’m working on an app that might be reassessed someday. Ronald Hahn, CNT - Computer Engineering Technologist New Technologies Analyst HahnTech Affiliated With Code Constructors Edmonton, Alberta, Canada