Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to deploy JUST changed precompiled binaries to live ??

Posted on 2010-11-25
8
Medium Priority
?
504 Views
Last Modified: 2012-06-27
Hi All,

I need a way to deploy just changed binaries in a precompiled setup ie my deployed files as "fixed named and single page assemblies". Visual studio typically wants to republish everything which I find troublesome since with a big application one might deploy an old version of a programme unrelated to the upgrade

I have Dev, Test and Live source copies on my local machines plus live build and I have a test and live remote server. For ease I copy up source onto test and I can then use a tool like "beyond compare" to identify all my changed files and only copy those up. This works extremely well. The problem is that this approach does not work with precompiled dlls as on my live server. If I have a small number of changed dlls I can remember them, but this is hardly a robust process.

I have a feeling that one can only publish everything in VS 2008 and not deltas. Alternatively are there tools that can tell the difference between 2 binaries ie which is different excluding the binary header as these always seem to be different when you recompile. File size and timestamps are unreliable.

Thoughts, ideas please.

Cheers,

Sam
0
Comment
Question by:SamJolly
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 21

Expert Comment

by:Alfred
ID: 34215033
You can try using Scheduled Tasks function in your server to automate the copy of dlls only into your web site.  

http://support.microsoft.com/kb/814596

http://www.iopus.com/guides/winscheduler.htm
0
 

Author Comment

by:SamJolly
ID: 34216517
Thanks for the reply.

However my question is not about scheduling. It is about how to identify which asp.net dlls have changed using criteria other than timestamp and filesize. Apologises if I did not make myself clear.

Thanks,

Sam
0
 
LVL 21

Assisted Solution

by:Alfred
Alfred earned 2000 total points
ID: 34217587
OK.  No worries.  I believe I misunderstood your question.  :-)

Anyway, have you tried using the Copy Web Site Tool?  It has a synchronization feature that might help you somehow achieve what you are trying to do.

Check the links below for details:

http://msdn.microsoft.com/en-us/library/1cc82atw.aspx

http://msdn.microsoft.com/en-us/library/c95809c0.aspx

http://msdn.microsoft.com/en-us/library/xay0wxbf.aspx

Regarding comparing two binaries, I use my own created tool to compare binaries but I haven't used it for deployment purposes.  I am providing links to some sites that deals with binary file comparison and where I got ideas in my own binary compare tool.

http://www.codeproject.com/KB/files/JTBinCompare.aspx

http://support.microsoft.com/kb/320346

I hope this helps.

0
Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

 

Author Comment

by:SamJolly
ID: 34217719
Thanks for the reply. I think the copy site tool just deals with source code so not appropriate since I am trying to compare 2 published folders for different binaries.

The file compare tool looks interesting, but I really need a folder compare utility for binaries rather than a file compare. Beyond Compare is excellent as far as it goes, but it does not deal with ASP.NET binaries.

Perhaps I may need to reapproach them with the problem.

Sam
0
 
LVL 21

Expert Comment

by:Alfred
ID: 34217780
OK.  For folder or directory level compare, have you heard about Windiff.exe utility?

Check this out:

http://support.microsoft.com/kb/159214
0
 

Author Comment

by:SamJolly
ID: 34217833
this seems to compare the ascii file, not binary??

However having looked at this I found:

 DUMPBIN  /RAWDATA  MyApp.EXE > first.txt
 DUMPBIN  /RAWDATA  MyApp.EXE > second.txt

Which removes the date and timestamp so norm binary folder compare files can be used. Have not tried it yet. But it may be a way to go.

Thanks,

Sam
0
 
LVL 21

Accepted Solution

by:
Alfred earned 2000 total points
ID: 34218192
Yes.  DumpBin would be one way.  In the link (Windiff one) I provided, there are suggestions in there to compare binary files and folders such as "comp" command.  I am listing an excerpt from the example in the link I provided:

comp C:\Winnt\System32\*.dll \\DifferentComputerName\C$\Winnt\System32\*.dll
0
 

Author Comment

by:SamJolly
ID: 34377016
Hi Alfred,

Sorry to be away. Been busy. I thought I would close this issue and award you the points.

However I may come back to this issue.

Thanks,

Sam
0

Featured Post

Google Certified Professional - Cloud Architect

This course (1 of 3) is designed to help students who are interested in Google Cloud Platform (GCP) to become familiar with the platform, navigate the console and learn its capabilities. It will also prepare students for the Google Cloud Architect certification exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question