473,729 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.GetDele gateForFunction Pointer.
Nov 17 '05 #1
6 1556
>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\dep loy 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.co m

"ATS" <AT*@discussion s.microsoft.com > wrote in message
news:50******** *************** ***********@mic rosoft.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\dep loy 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
6175
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 itself. Everything you need is available at no costs (except download hassle and installation time). Once your system is set up properly its just a matter of running 'python setup.py build'. No longer waiting for someone else to build binaries and a...
26
10869
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 compiles the same solution much faster (about 10 seconds for the first project). My home computer is only marginally faster than the one I have at the office (P4 2.53 vs. P4 2.4, same amount of RAM). On the slow machine, the CPU usage is very low,...
4
1851
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 Rebuild Solution did not make the problem go away. After selecting Clean Solution, followed by Rebuild Solution, the problem went away. I had always assumed that rebuild meant starting over, recompiling all code, and linking with the...
0
240
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 might be usefull (e.g. the debug version of msvcrt.lib) but msvcrt.lib is the most usefull thing. Secondly, install the latest version of the Microsoft Platform SDK. The "64-bit" compiler will provide versions of undname.exe, nmake.exe,...
21
2033
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 sure how to call my native C++ functions from my C++ DLLs. The confusion is this: I currently have Visual Studio 2003 it is not clear whether I should use managed extensions or C++/Interop?
5
2578
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 if i do will it affect my other applications? I want ot build ASP.NET 2.0 apps!!!
16
2599
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 gradual upgrade of my web programming skills from Classic ASP / VBS to ASP.NET / VB.NET. While the study of the language differences and all the new features in .NET has so far not been a traumatic experience, I am a bit shell-schocked after
12
5911
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/ folder in the same directory as the source code. However, in Visual Studio .NET 2005 when I selected 'Publish Web Site' and selected a target location to place it in, it placed the following files in it: All *.aspx files All *.html files
18
9148
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 page "How to: Connect to Data in an Access Database"
0
8917
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8761
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9426
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9281
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6722
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6022
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3238
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2680
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.