Does anybody know how to generate Make File in Visual Studio C# 2008 Express Edition?
Make files have little to no use in .NET world. Rather, consider using MSBuild.
Try this:
Download MonoDevelop 2.0
Open solution.
Right click on solution name -> Generate makefiles...
Makefiles are really used for cross platform compiling or working with other build systems. When you are working with C# you are only really going to be compiling with Microsoft's tools or using Mono on another platform, so I don't think that you can. An alternative could be NAnt however depending on what you want to use your Makefile for.
Related
I have database,images and text files in my project and i would like to make instalation..
Also I would like to put prerequirements so that people who install this must install version of .net framework i used in my project
What is the best way to achieve that?
UPDATE:
I wanted to use microsoft visual studio installer but it doesnt work .. it doenst create exe file and i cant open app
I've personally used NSIS for making installers. It has an extensible scripting bit to put whatever prerequisites you need(TOS, EULA, ect.) and it can easily create a professional looking installer.
Try using Inno Setup. It has a good scripting language along with a wizard if you don't want to script. It's also free (unless you are deploying commercial applications).
I have a web application build on .net 3.5 that is built using VS 2010 pro edition. I am trying to automate the build task for msbuild. Is there a way to make a build file of my project in VS 2010? Or do I have to make the build file from scratch?
There's a tool that can help you creating your own msbuild file and it also has GUI, MS Build Sidekick:
http://www.attrice.info/msbuild/
MS Build Sidekick isn't free but it's quite cheap (US$55), and they also offer trial version for 14 days.
you need to do it from scratch... file->new->text file...
pretty good tutorial on msdn: http://msdn.microsoft.com/en-us/library/dd576348.aspx
I remember seeing an open source project within the last year that I was able to open in both VS 2008 and VS 2010 without an upgrade wizard popping up. I think...
Is it possible to create a project/solution that will open up in any version of Visual Studio without prompting me to run the upgrade wizard? If so, how do I do this?
Information for both C++ and C# projects would be most helpful.
You can, use CMake and generate VSx solution.
I think the project that you have seen had 2 visual studio solutions for different visual studio versions.
Update:
Also, you can use http://sourceforge.net/projects/vspc/
or see http://www.emmet-gray.com/Articles/ProjectConverter.htm
The solution format hasn't changed significantly over the visual studio versions except the version number.
If the code itself is generic enough (not using linq, etc) then you can edit the first line of the solution file to "downgrade" the version.
VS2005 uses:
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
You can give the Prebuild project a try to generate needed solution files on the fly.
Prebuild is a cross-platform XML-driven pre-build tool which allows
developers to easily generate project files for major IDE's and .NET
development tools including: Visual Studio .NET 2002, 2003, 2005, 2008, 2010
SharpDevelop, MonoDevelop, NAnt and Autotools.
May be it is not what you ask about, but you can convert you project into nmake target
The only way to do this is to create separate solutions (for 2010 and 2008), and include existing projects to different solutions. Create new projects in VS2008, and then add them to VS2010 solution.
You may need something like round-tripping
Round-tripping is the ability to use a current or previous version of Visual Studio to target a platform that is supported by both versions of VS. For example, with round-tripping, you can open projects from a previous version of VS in a newer IDE without the need for conversion, thus allowing you to work side-by-side on old and upgraded projects.
Read more
I am looking for some general feedback here. I have a very simple application that I created in VC# Express 2008, with no special dependencies.
Now, I am going to release it as open source, and am curious as to how I should deploy it. Do I need to create an installer package with any dll's? Should I just zip up the *.exe file with a README?
Also, how should I go about handling the requirement for the .NET framework that a C# program needs?
You can use WiX. That will handle .Net framework dependency.
Updated: As an open source project you don't need to include setup application. It is extra (fancy staff).
The express versions only include the Publish option (Click Once). I would advice to read the EULA first, there are restrictions on distributing applications made with the Express versions.
Also see this SO question.
I have been asked to lend a hand on a hobby project that a couple friends are working on, they are using SharpDevelop 3.0 (Beta 2 I think, but it might be Beta 1) is there any hassle for me to install and use this IDE given that I have Visual Studio 2008 installed?
I've had no problems at all, in fact some of the tools in sharpdevelop (like the vb.net -> c# converter) are very nice to have.
In addition, there are some good libraries included with sharpdevelop that are also handy (like sharpziplib for zip files)
I actually have VS2005, VS2008, SharpDevelop and VisualStudio 6 installed at the moment, and there's more compat problems with MS's tools than with #develop.
They behave very well together, I have had SharpDevelop installed with 2003, 2005 and 2008. No issues at all.
I haven't had SharpDevelop installed for a while but when I did the only problem I ran in to was that I couldn't easily share the solution file. If you don't mind having two different solutions there should be no problems.