473,407 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

HOWTO Make Visual Studio 2003 build .NET 2.0 apps

ATS
HOWTO Make Visual Studio 2003 build .NET 2.0 apps

Please help,

Can Visual Studio 2003 build .NET 2.0 apps? And if so how?

As a test to ensure that it can be done, I want to be able to compile and
use the .NET 2.0 functionality for Marshal.GetDelegateForFunctionPointer.
Nov 17 '05 #1
6 1540
>Can Visual Studio 2003 build .NET 2.0 apps? And if so how?

No. Period. You have to use VS 2005 for .NET 2.0 apps.

Marc
Nov 17 '05 #2
Try using SharpDevelop (http://www.icsharpcode.net/OpenSource/SD/)
instead... as an open source project they are not out to make a buck by
forcing you to upgrade your development tools just to test out
functionality in the latest .NET libraries.

Nov 17 '05 #3
ATS
Thanks for reply,

I do have the .NET 2.0 SDK, is there anyway I can use it to build the .NET
2.0 apps?
Nov 17 '05 #4
ATS
Marc, I'm sorry, but one can do it without VS-2005. The .NET 2.0 SDK comes
with CSC.EXE and even MSBuild.exe, which with Microsoft's tech support I was
able to compile my app (my .CS file) and build my app. Granted, this is a FAR
cry from being able to build\debug\deploy as it would have been with VS, at
least I can setup a Pre-Build\Post-Build step to compile my apps in VS-2003.

Nov 17 '05 #5
Right, but that wasn't your question. You asked if you could make
VS.NET 2003 build .NET 2.0 apps, and the answer is definitely no on that
front.

The SDK and VS.NET are two separate things. And yes, you can build
things with the SDK, you don't need the IDE. The IDE just makes things
easier (which I am sure you know already).
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"ATS" <AT*@discussions.microsoft.com> wrote in message
news:50**********************************@microsof t.com...
Marc, I'm sorry, but one can do it without VS-2005. The .NET 2.0 SDK comes
with CSC.EXE and even MSBuild.exe, which with Microsoft's tech support I
was
able to compile my app (my .CS file) and build my app. Granted, this is a
FAR
cry from being able to build\debug\deploy as it would have been with VS,
at
least I can setup a Pre-Build\Post-Build step to compile my apps in
VS-2003.

Nov 17 '05 #6
Marc Scheuner [MVP ADSI] wrote:
Can Visual Studio 2003 build .NET 2.0 apps? And if so how?


No. Period. You have to use VS 2005 for .NET 2.0 apps.


Yes you can.
- set in the project properties that you don't want to compile mscorlib
inside the assembly. (compiler flag /nostdlib[+|-] )
- remove all system.* references from the project
- now add new assemblies from the .NET 2.0 SDK to your project for
system. etc.

- compile your project.

It might not work for 100% but often will. This is also the way you
can build .NET 1.0 assemblies from vs.net 2003. These also don't always
work, but often will.

Of course, best way to do this is to build on the command line, using
nmake or msbuild or nant.

Frans

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Nov 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Martin Bless | last post by:
The good news: Along with Python-2.4 comes really good news to Windows users. Yes, you now CAN build extension modules yourself using the SAME C++ compiler and linker Python is built with...
26
by: Bruno Jouhier [MVP] | last post by:
I'm currently experiencing a strange phenomenon: At my Office, Visual Studio takes a very long time to compile our solution (more than 1 minute for the first project). At home, Visual Studio...
4
by: Bill Burris | last post by:
When compiling my solution which contains 15 projects (2 Window Apps, 2 Services, 11 class libraries, C#, MC++, & C++), I was receiving warnings about symbols defined in multiple places. Selecting...
0
by: Jonathan Wilson | last post by:
Firstly, to get msvcrt.lib, install the .NET framework SDK. The version of msvcrt.lib included there is the exact same one as comes with Visual Studio ..NET 2003. There are some other things that...
21
by: Paul Tremblay | last post by:
Hi All, I am a veteran C/C++ programmer (Unix background) and I want to get to speed with Visual Studio .Net I have legacy C/C++ code that I want to use in my application. However, I'm not...
5
by: Patrick Olurotimi Ige | last post by:
Hi, I have VStudio.Net 2003 installed but can i install Visual Web Developer also on the same PC. My current .Net Frameork version is 1.1. Will the Visual Web Developer install ASP.NET 2.0? And...
16
by: TB | last post by:
Hi all: If you think that the following comments are absolute amateurish, then please bear with me, or simply skip this thread. A couple of months back I made the decision to initiate a...
12
by: Nathan Sokalski | last post by:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a *.dll with the name of the Project to a /bin/...
18
by: surfrat_ | last post by:
Hi, I am having the following problems in getting Microsoft Visual Studio 2005 Professional to link to an Access .mdb database. Please help me to sort this out. Problem 1: The Microsoft...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.