Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataGrid BindBack
Message
De
05/08/2003 15:27:06
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
04/08/2003 12:12:08
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00815997
Message ID:
00817034
Vues:
26
All,

Here's the promised step(s) I was talking about with regard to automatically adding compiled dlls to the GAC upon (re)compiling an MM.NET Project

1. Right-click the project (make sure it's the project and not the solution) you want added to the GAC and select Properties.

2. Double-click the Common Properties and select Build Events.

3. Paste the following in the Post-Build Event Command Line, keeping the quotes: "c:\program files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\gacutil.exe" -i "$(TargetPath)"

(of course, this assumes you're using VS.NET 2003... change the path accordingly if you haven't updated yet -- and shame on you!!)

From now on, you'll see the Post-Build Event results in your output window when compiling. I tend to check it just to be sure it was successfully added to the GAC, but that's just my OCD talking.

---J

>This may seem a little involved, but is definitely worth the extra time. Keep in mind that these steps only need to be followed once per framework update, and there is also a way to add step #4 as a Project post-build event. I'll add that code to this thread in the near future.
>
>---J
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform