473,320 Members | 1,695 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,320 software developers and data experts.

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 2391

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***@construction-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\Release" 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\solution 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.nospamwrote in message
news:eo**************@TK2MSFTNGP02.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\Release" 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
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...
0
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
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...
6
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...
4
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...
2
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...
1
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. ...
3
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....
1
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...
3
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.