CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting
Microsoft Gold Certified Partner – 3 Months Free and Free Setup



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.commerce_starter_kit Tags:
Item Type: NewsGroup Date Entered: 7/17/2005 1:18:10 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 48 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
Suranjith
Asp.Net User
How do you Re-Compile the dll7/17/2005 1:18:10 PM

0

How do you Re-compile DLL's ?

Need help
jakeburkey
Asp.Net User
Re: How do you Re-Compile the dll7/20/2005 3:30:42 AM

0

If you have visual studio, click on the Build button on the toolbar.  If you don't have VS, you can use the compiler utilities csc.exe or vbc.exe to do the compilation.  They can be run from the command line or the code can be put into a .bat file and run from that.  If you need an example, let me know.

jake

Suranjith
Asp.Net User
Re: How do you Re-Compile the dll7/20/2005 6:45:36 AM

0

Hi,
Thanks for the reply. I using DreamWeaverMx to create ASP.NET apps .
Can you saw me a example please.

Thanks
jakeburkey
Asp.Net User
Re: How do you Re-Compile the dll7/20/2005 6:50:38 PM

0

OK.  Note that there are different ways to set up the compile instructions, and I have seen examples that do things a little differently, but I'll explain the commands so that you know why I set things up this way.

First, I created an ASCII text file with a .bat file extension.  It might be named something like CompileAll.bat

Then, in this particular application, I have added the following text to the file:
set indir1=C:\Inetpub\wwwroot\JBSurvey\source\JBSurvey.cs
set indir2=C:\Inetpub\wwwroot\JBSurvey\source\Login.cs
set outdir=C:\Inetpub\wwwroot\JBSurvey\bin\JBSurvey.dll
set assemblies=System.dll,System.Data.dll,System.Web.dll,System.Xml.dll

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\csc /target:library /out:%outdir% %indir1% %indir2% /r:%assemblies% /optimize

pause
When I want to compile the application, I simply find the .bat file in Windows Explorer and double-click on the file icon in the same manner that I might run an executable file.

In the first two lines I am defining the list of input files that I want to be included in the compilation.  In the third line, I am setting the output directory and filename for the compiled dll file.  In the fourth line, I am defining the .NET assemblies that are required for the application, given the namespaces that I use within the application.  These assemblies are not the same as namespaces, and one assembly will contain multiple namespaces.

The line of code that actually calls the compiler is the fifth line.  In this case, I am calling the c-sharp compiler.  You will use vbc if you want to call the vb compiler.  Note also that I am using fully qualified directory paths.  If you have .NET version 2.0 installed, there will be a set of compilers in that directory also, which you should use instead of the one shown above for compiling v2.0 apps.  The /target switch tells the compiler that I want a dll instead of an exe.  The /out switch sets the output and input directories.  The /r switch sets the assemblies.  The /optimize switch adds a code optimization check.  Note the pause command in the last line of code.  You must include that so that the command window will stay open, allowing you to determine whether the compilation has been successful, or to read any error messages provided by the compiler.  If you don't have the pause command, the command window will close immediately after the code has run, regardless of whether it actually compiled anything.

best, jake

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Inside Delphi 2006 Authors: Ivan Hladni, Pages: 742, Published: 2006
Mastering Delphi 6 Authors: Marco Cantù, Pages: 1129, Published: 2001
Learn to Program Visual Basic Objects Authors: John Smiley, Pages: 700, Published: 2005
Programming .NET Web Services: web services Authors: Alex Ferrara, Matthew MacDonald, Pages: 396, Published: 2002
Visual Basic Game Programming with DirectX Authors: Jonathan S. Harbour, Pages: 900, Published: 2002
Illustrated C# 2008: From Novice to Professional Authors: Daniel Solis, Pages: 694, Published: 2008
Sams Teach Yourself Visual C++ .Net in 21 Days Authors: Davis Howard Chapman, Davis Chapman, Pages: 777, Published: 2001

Web:
Re: compiling wx.dll using debug multilib unicode: msg#00014 Re: compiling wx.dll using debug multilib unicode: msg#00014 ... Previous by Date: Re: compiling wx.dll using debug multilib unicode, John Labenski ...
Recompile ASPNETPortal.dll - ASP.NET Forums Does anyone know an easy way to add a new module or know how to recompile the ASPNETPortal.dll using asp.net web matrix. ...
VB Helper: HowTo: Recompile an ActiveX DLL without recompiling the ... VB Helper: HowTo: Recompile an ActiveX DLL without recompiling the main application that uses it.
Do I need to recompile a dll to use it in Windows CE? - microsoft ... I have a dll that was compiled in Windows XP that uses only standard C++ syntax and functions. Do I need to recompile it for Windows CE, or can I just ...
recompile yaf.dll in vs2005 - Bugs & Problems - Yet Another Forum.NET NET » YAF Forum Discussions » Bugs & Problems » recompile yaf.dll in vs2005. Forum Jump. YAF Forum Discussions, - YAF Announcements ...
Jean-Francois Briere - RE: compile question about dll of windows RE: compile question about dll of windows. From: "Jean-Francois Briere" < jfbriere at myway dot com>; To: list at boyi-online dot com; Cc: java at gcc dot ...
Re: Compiling cygwin1.dll into my exacutable? Re: Compiling cygwin1.dll into my exacutable? To: "Ermold, Brian D" , "'cygwin at sourceware dot cygnus dot com'" How do I Recompile the MySQL Library to Run Under the Medium Trust ... [assembly: AllowPartiallyTrustedCallers]. Recompile the dll. You may now reference this dll from other projects. When you decide to publish your project to ...
[Proj] Re: Compiling Eric Millers proj_api.dll [Proj] Re: Compiling Eric Millers proj_api.dll. Tony Seiscons gu2l5z3wt001 at sneakemail.com Mon Sep 20 00:25:16 EDT 2004 ...
ASP.NET Resources - Remember To Recompile If your assemblies are strongly-typed you either have to recompile and redeploy them all, or specify a policy to have a newer DLL(s) loaded. ...

Videos:
#3 HHO Quad cell build and pump plumbing test HHO Quad cell build and pump plumbing test. The pictures fly by, but you can always press "pause" or re-watch the video. Click the link below for mo...
Web Applications and the Ubiquitous Web Google TechTalks February 1, 2006 Dave Raggett Dave Raggett is currently a W3C Fellow from Canon, and W3C Activity Lead for Multimodal Interaction....
BeGeistert 014 Interview of yellowTAB During BeGeistert 014 (April 2-3, 2005) Daniel "daat" Teixeira from IsComputerOn and Chris Simmons from Haiku News spent 40 minutes interviewing Yell...












simple globalization/localization question

this isnt strictly about the starter kit but:

installation problem

test connection unsuccessful

installing ibuyspy store and portal

cast from type 'dbnull' to type 'decimal' is not valid

calculate price problem

access is denied

installation

problem running new mk.bat

admin log-in

cannot open database requested in login 'commerce'

connection problem

the beer house starter kit problem

add more fields to product details

permissions problem

fully functional - free - ms access edition of ibuyspy store

how to import and define class components

using starter kits in commercial products

startup kit error

my version of the commerce site - nearly finished!

open commerce starter kit with vs studio.net

recommendations for fully featured online shop?

why is this so complicated

configuration error

ongoing development of commerce starter kit

store binding value in an variable

legal question

sqldatetime overflow. must be between 1/1/1753 12:00:00 am and 12/31/9999 11:59:59 pm

check sign on

   
  Privacy | Contact Us
All Times Are GMT