473,748 Members | 2,602 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

xcopy deployment

cj
In 2003 to deploy a simple program you could copy the exe from the
projects obj\release directory. Why in 2005 does it create a
bin\release and a obj\release directory, each of which contain what
would appear to be identical exe files?

2005 also puts a debug directory under both bin and obj directories.
Jan 12 '07 #1
5 2414

cj wrote:
In 2003 to deploy a simple program you could copy the exe from the
projects obj\release directory. Why in 2005 does it create a
bin\release and a obj\release directory, each of which contain what
would appear to be identical exe files?

2005 also puts a debug directory under both bin and obj directories.
The Debug folder is where the build files are build if the Debug is
selected in the selected configurations.

IMHO, it is best to deploy a project with a .NET Setup project.

Jan 12 '07 #2
cj
When your dealing with inhouse apps xcopy SHOULD be enough. It's also
nice to KNOW what files are being sprinkled where during installation.
If nothing else it's nice to know what the setup project is actually
doing.

Once completed my projects are moved to a server or pc in the computer
room where they run. It's not like I'm giving a cd with my program on
it to 100 people and saying go copy this exe to whatever pc running
whatever windows version you happen to have. If that were the case a
full blown installation app is needed.
za***@construct ion-imaging.com wrote:
cj wrote:
>In 2003 to deploy a simple program you could copy the exe from the
projects obj\release directory. Why in 2005 does it create a
bin\release and a obj\release directory, each of which contain what
would appear to be identical exe files?

2005 also puts a debug directory under both bin and obj directories.

The Debug folder is where the build files are build if the Debug is
selected in the selected configurations.

IMHO, it is best to deploy a project with a .NET Setup project.
Jan 12 '07 #3
Hi cj,

If you open your VB.NET 2005 Project's properties dialog, you will see
"Build output path" in the "Compile" page. This is the path where the built
assembly resides. For default configuration, release mode will output the
assembly in "bin\Releas e" folder.

The obj folder is only for intermediate files.

Hope this helps.

Sincerely,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 15 '07 #4
cj,

It's been my observation that while the obj folder is for intermediate files
it also facilitates a work around when projects are using file references as
opposed to project\solutio n references. It's better now (vs2003 to vs2005),
but since I always use file references to the obj folders, i never get a
failed build because "assembly is in use".

jeff

"cj" <cj@nospam.nosp amwrote in message
news:eo******** ******@TK2MSFTN GP02.phx.gbl...
In 2003 to deploy a simple program you could copy the exe from the
projects obj\release directory. Why in 2005 does it create a bin\release
and a obj\release directory, each of which contain what would appear to be
identical exe files?

2005 also puts a debug directory under both bin and obj directories.

Jan 15 '07 #5
cj
That answers my question. Thanks.

Walter Wang [MSFT] wrote:
Hi cj,

If you open your VB.NET 2005 Project's properties dialog, you will see
"Build output path" in the "Compile" page. This is the path where the built
assembly resides. For default configuration, release mode will output the
assembly in "bin\Releas e" folder.

The obj folder is only for intermediate files.

Hope this helps.

Sincerely,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.
Jan 16 '07 #6

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

Similar topics

3
2110
by: Ryno Rijnsburger | last post by:
I am busy packaging our product as a standard Setup project in VS.NET that uses a bunch of merge modules (basically, a merge module for every key infrastructure component in our system). Part of the installation needs to "dump" a bunch of files (third party product's project files) to the user's system. These files are transient in nature in that the user may choose
0
1061
by: GG | last post by:
Is it possible to xcopy crystal reports? If yes how? Thanks *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
6
22507
by: Zeya | last post by:
I am developing a ASP.Net(Web) based deployment tool, which requires XCOPY functionality. Here is the code for the method: public static int ExecuteProcess ( string ProcessName, string ProcessArguments ) { string ErrorStream = ""; Process DOSProcess = new Process();
6
2177
by: Cristian Suazo | last post by:
Hi, I deployed my application but got a strange error when doing the deployment using the xcopy method. A strange thing is that when I try to do the same steps on another machine that has the same configuration (it should have it atleast) it works perfectly. After been testing a while I found out that everything worked if I first put the folder with the web application as a readonly first (applying it to all the subitems) and then...
4
1583
by: Matt Anderson | last post by:
When I use Xcopy to deploy my changes to IIS, it seems to drop the user connections; i.e., empties out their Session variables, etc. I thought ASP.NET was supposed to use shadow deployment and gracefully have new connections use the new code, while the old code is cached for current connections. Anyone?
2
1751
by: Bruce Schechter | last post by:
Whereas Microsoft highlights the concept of "xcopy deployment" for .NET applications, I gather that it is not necessarily possible to move an ASP.NET application from one computer to another via xcopy. After doing some simple development via vs.net I found that xcopy'ing my app from a development workstation to the production server didn't work, but I easily dealt with that problem via vs.net's "copy project" menu command. I assume that...
1
1711
by: Richard K Bethell | last post by:
Hi, Want to know if anyone else encounters this issue. I maintain several asp.net websites over the Internet. Now I love xcopy deployment. It makes it easy to do date based change management. But I do find some files slip through, especially if you are using standard libraries that may not have been recently compiled. And some of my staff routinely overlook the update procedures and will not deploy files they've changed to all copies...
3
2441
by: Boxman | last post by:
Hi I have been asked to migrate a long-standing and stable asp.net application from a W2k server on one NT domain on our intranet to another W2k server on another NT domain also on our intranet. The application was written in C#.NET using Visual Studio 2002 and v1.0 of the .NET Framework. As we don't use Frontpage extensions on the servers (both run IIS5) I have used Xcopy to copy the files from the original server across the WAN to...
1
2406
by: lizii | last post by:
At the moment my company have asked me to look into installations. We use pure .NET applications and although i have looked into installer programs (installshield...wise..etc) none of them are able to do exactly what we want them to do - or at least not easily. So now i am looking into the possibly of using an xcopy deployment. However - i can find very little information about the major disadvantages of this method. Does anyone...
3
2068
by: Liz | last post by:
I was intending to use an XCOPY install for a VS2005 C# WinForms app but when I copied the files and ran the app on a clean machine it failed when it needed Crystal Reports. Can you not use XCOPY deployment if you have Crystal Reports dependencies? Is there an available Crystal redistribution package I can run before doing my XCOPY deployment? TIA
0
8984
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
9530
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...
1
9312
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9238
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6793
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
4593
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...
0
4864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3300
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
2775
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.