Running Visual Studio 2012 Express c# from USB - c#

I recently joined a programming club at my highschool, and wanted to be able to use usb to run Visual Studio 2012 c# Express Edition from their laptops. I don't want to change any of the actual computer files because it is against the rules. After searching on google, it seems like this task is rather difficult to accomplish. So, I decided to look at some other IDEs and found SharpDevelop. Does anybody know if SharpDevelop can be run from a usb on a computer that does not have .NET?
Thanks.

It will not be possible to run any .Net program without installing .Net on the computer. Since both SharpDevelop and Visual Studio are .Net programs that need .Net installed on the machine.
I think you should consider using a virtual machine as suggested by #lc. I like and use Virtual Box

If you want to take the advantages of debugging or even executing your application you will require .NET to be installed on the computer. If that isn't possible then you have to resolve to a different approach like use notepad++ or using a virtual machine which needs to be able to run as a portalable software as well.
Alternative, if the computers have .NET installed there is a way to make SharpDevelop portable, take a look at http://laputa.sharpdevelop.net/SharpDevelopOnAMemoryStick.aspx

Related

Is it easy/safe to upgrade from VisualStudio 2005 to 2010 (for WinForms projects)?

my team have built many tools for our project using win forms and Visual Studio 2005. We are thinking about upgrading to VS 2010.
Just wanted a heads up on any compatibility issues and also any benefits of upgrading.
Does upgrading involve lot of time and effort or does Visual Studio take care of it?
Your answers will be help us take a decision. Thanks.
Pros:
.NET improvements (provided that you upgrade the framework version)
Availability of newer 3rd-party libraries and tools for newer .NET (same as above)
IDE improvements
Neutral:
WinForms hasn't changed much between .NET 2.0 and 4.0.
Cons:
VS 2010 is a vastly heavier program, requiring much more CPU and RAM and faster disks to operate smoothly.
You decide.
as far as I know are there no downside's
I only know that all your changes in the visual side are gonna be placed in [name of form or usercontrol].Designer.[cs/vb]
I am a user of VS2010 and Im really happy with it so,
but why not wait on VS2012?
Kind Regards,
Corné
Yes it is possible and easy but lot of depends on the features you have used in your app. It should not be depreciated in VS 2010. Take a back up of your project and try to convert it, conversion wizard will list out all the warnings and error it faced while converting your app.Then you can take a decision on the basis of it whether to upgrade your app or not?
You'll want to check the breaking changes in C# 2008 and C# 2010, then the migration issues in .NET 3.5 and .NET 4.0, but only if you choose to upgrade the Framework target. Simply upgrading it to be readable and compilable by VS 2010 should not introduce any major issues. But, check if your project involve external component that's upgraded/removed in VS 2010, such as Reporting components, SQL connection, etc. In my experience, third party component suffer the most.
As for the benefit, lots. Check the Visual Studio Gallery for some extremely useful extensions (my favourite is the free Coderush Xpress), experience the joy of C# REPL with Roslyn, or heck, simply the Intellisense improvements makes me dread every time I'm forced to use 2008 or other IDEs.
Open the VS2005 solution in VS2010 and a wizard will open and upgrade your solution.
Just take a backup on the existing solution and give it a try. VS 2010 is very nice!
Everyone has different expectations and differences in their list of pros and cons. As such, the best way to decide if it's right for you is to go ahead and try it. As already mentioned, it will upgrade your project files (including making a backup for you first) when you try to open them.
You can download the trial from the Microsoft website and install it alongside your existing VS2005 install. If you're worried about installing alongside, install it into a virtual machine or download the ready made virtual machine images from http://blogs.msdn.com/b/briankel/archive/2010/06/25/now-available-visual-studio-2010-rtm-virtual-machine-with-sample-data-and-hands-on-labs.aspx

Can Windows and Linux developers work together on the same project using C# and ASP.net?

If a group of developers are working on a project written using ASP.net and C# in a Windows environment with Visual Studio, is there any way a developer can join their team and work with them on the project in a Linux environment? I know about the open source, cross-platform development framework Mono, could this be an option or would the Windows developers have to use this as well for that to work? Is the best option for a Linux developer to just install a Windows partition or can he join them without doing so?
Is the best option for a Linux
developer to just install a Windows
partition
Yes, by far. Even better, just get a PC. I've run into so many headaches trying to develop in .NET on Linux. Mono isn't perfect, and never will be.
Yes! Use MonoDevelop and a source management solution like Mercurial.
Yes, MonoDevelop can even load the Visual Studio solutions.
It deppends on many factors, I'd say that if you plan to use third party controls, for example, then you probably better stick to windows and visual studio. If you are going to do P/Invokes (call Win32 api methods) then, again, better stick to windows.
The fact is that many functionality that .Net framework has is only available on the Microsoft redistributable installer/visual studio installer etc. If you are joining a team that already has a project going on and it is linked to any of this namespaces (Microsoft.* comes to mind) then definitely install windows and visual studio, on the other hand, if you are just starting a new project it could be easy to develop on linux with monodevelop as long as you stick to anything that is fully supported by the mono framework.
Another thing you should consider are licenses. If your team already has visual studio and windows licenses it does not make much sense to switch to linux, as much as I love linux and mono/monodevelop the best way to develop for .net is the microsoft stack without a doubt.
What makes sense is to try to comply with mono so that your software can run in unix/linux infrastructure if you already have it and if switching it to windows server, for example, raises the cost too much.
It's all about the cost, unfortunely, so see these tools just as that, tools, they are the means to an end and just that. If developing and deploying with windows and to windows is cheaper then go ahead, if you have a large unix/linux server set already working and want to deploy into that then use mono, just consider it has a slightly learning curve since it is NOT visual studio/.net per se.

developing applications for windows mobile,c#

i work on visual studio 2008,now i want to create applications for windows mobile in c#.
what r d requirements and how to build them???
Do i need any kind of simulators
Answering your question with right degree of detailing that it deserves
is beyond the scope here. So I
recommend you to start from
here!
Windows Mobile Developer Center
There is a Windows Mobile SDK available for free from Microsoft, however you must use a full version of Visual Studio (not an Express edition).
You can now use Visual Studio 2010 express mobile edition as well. This is nice because it seems to be the only one that is actually one stop shopping: no dumb SDK's, no extra vs project template plug-ins, etc... Everything you need is in that one free DL. Unfortunately WinMo7 is radically different from the previous versions so backwards compatibility will be be difficult. The new environment is built on top of WPF tho which is nice to work with.
The Windows Mobile SDK includes a simulator, but it is always sensible to debug/test on a device before release. This is really smooth using Visual Studio 2008 and USB connection to the device.
The .NET compact framework is a subset of the .NET framework. MSDN is good for telling you what's missing.

Development environment for C#

Could you introduce me a development environment you recommend for C# on Mac?
You want Mono for OS X. Download page. And for an IDE, MonoDevelop.
I migrated some months ago from windows to mac.. it's been a long while since the last time i logged into windows, and I was a C# freak.. so back on mac i tried using Mono, and.. i was really dissapointed because it's not like in Windows: you have a weak IDE to work with and it seems so.. poor! Then i decided to make the big step and switch to objective-c and Cocoa! And now i'm happy again as i was on windows. So, my point here is if you wanna keep going with C#, stick to the windows platform.. but if you want to develop mac apps, try moving to objective-c and Cocoa!
You can also try WINE thats sort of emulator for windows programs on Mac/Linux and you can try installing .net and SharpDevelop tools, and use mono to create output, the benefit is you will get little rich tools to do your development.
TextWrangler + Mono
Parallels + UltraEdit + command-line compilation
Parallels + Visual Studio
I'm downloading MonoDevelop now, haven't tried it in awhile.
I use VMWare Fusion to run Visual Studio in a Windows virtual machine. I'd only recommend this if you've got a fast Intel processor with at least 4GB of ram.
Fusion also offers a "Unity" mode so that Visual Studio would look like it's being run as a native Mac application. A great concept, but in practice it uses way too much RAM and processor.
Otherwise you could use boot camp to run Visual Studio in Windows. This gives you the full strength of your hardware resources but you have to boot to use it.

How to get started with Mono in Linux for a beginner?

How do I start using Mono in Linux as a beginner when I want to switch from Visual Studio?
Is there some easy way to install it like Visual Studio and get started?
So far,with what I've seen,it looks complex to even get started.
Installing and configuring Mono in linux is a lot of work right?
or Is there some distro which I can directly install and get started with applications in Linux?
I recently started to dabble in Mono myself and have so far realized that the MonoProject has made huge advancements in this area. It's well worth it to investigate.
With that said, the easiest method is to get setup with a Linux distro that is Mono friendly such as Suse, or Ubuntu. Personally, I tried it using Ubuntu 8.10.
Once you've got your Linux distro setup properly download and install MonoDevelop. This is an open source IDE that's tightly integrated to work with the Mono platform. MonoDevelop was taken as a branch of SharpDevelop and designed to work with the Mono compiler from the ground up.
This is by far the easiest and fastest way to get setup with Mono. The MonoDevelop IDE is very similar to that of Visual C# Express even. It comes complete with Project/Solution management, GUI development using the GTK# framework, an integrated debugger and a host of other features you would expect in an IDE such as code-completion, line numbers, code-folding etc.
The folks at the MonoProject are on to something with this suite of tools.
Hope this helps you get started.
Mono Project Homepage
Mono Develop Homepage
There are a few interesting books on Mono, although they're probably a little bit old. Still, probably it's worth to grab one and take a look in order to start up.
Practical Mono
Mono: A developer's notebook
Cross-Platform .NET development
Mono Kick-start
Then, I'd install latest Mono (2.4) on a Linux box (OpenSuse is the one they use, so it will always go smoothly for development, but we also use Ubuntu internally) and start playing around with the compiler, MonoDevelop (which is quite good since 2.0) and so on.
The only tough point will be writing GUI applications, although my team make extensively use of MWF on different Unix flavors. But everything else will go as you'd expect. I'm specially happy with how great remoting works, for instance.
If you're used to Linux then it will be much easier, otherwise I'd also recommend you getting used to it following some tutorial.
Remember tools such us NUnit and NAnt will be also available, so you can start writing your code on both Windows and Linux and testing and compiling on both platforms.
With the just released Ubuntu 9.04 a very current Mono development environment is as close as:
apt-get install monodevelop
I used to agree with you that it was somewhat difficult to get going with Mono, but the latest version of Ubuntu has melted that barrier away. And the latest version of Monodevelop is an absolute joy to use.
Don't use Ubuntu? Then I would go with Peter's advice of using a VMWare image.
For a very easy start with mono under linux u can download
a vmware image
a linux live distro
with everything included to start.
If you are accustomed to using visual-studio, you can still develop in Visual Studio, and copy your binaries to Linux/OSX or whatever. Or even better, if you have a shared drive, just reconfigure your VS-Project output directory to the shared location.
There might be advantages to using the mono compiler, or monodevelop, but since you are getting started, the above is really the easiest thing to do. If you want to run on Linux, the mono installer is an excellent option for getting up and running in a hurry. Unfortunately, there's no installer available for the newest mono release, so you'll either need admin permission, or need to compile from source.
http://ftp.novell.com/pub/mono/archive/1.9.1/linux-installer/2/mono-1.9.1_2-installer.bin
For installing newest Mono 3.2.5+ with MonoDevelop 4.2.1+ it is better is use tpokorra repository.
The simplest way I could find is to download the OpenSUSE VMWare Image on their site and just run it. You get all the tools you need :) Preconfigured.
Debian and Ubuntu, and probably all other children, have mono in the repository. So, setting up mono in Linux can be as easy as
aptitude install monodevelop
However I would suggest version 2 which requires using the 'sid' repository in Debian (don't know about Ubuntu).
vim /etc/apt/sources.list [ :%s/squeeze/sid/g ]

Categories

Resources