Re: How to set/read AssemblyVersion in ASP.NET 2.0
Tech-Archive recommends: Fix windows errors by optimizing your registry
When you open the assembly with Reflector
(
http://www.aisto.com/roeder/dotnet/ )
doesn't it show the assembly's version number ?
It does for my assemblies, and I don't do anything special to set them.
In any case, read :
http://www.devx.com/codemag/Article/28747/0/page/3
if you want to set a specific assembly version number.
Take a look at the dialogue in Figure 3.
Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ :
http://asp.net.do/faq/
Foros de ASP.NET en Español :
http://asp.net.do/foros/
======================================
"Martin Bischoff" <nitramb4@xxxxxxxxxxxxxxxx> wrote in message
news:3D618E96-7723-4093-A258-AD74DC632366@xxxxxxxxxxxxxxxx
> How can I set the assembly version in an ASP.NET 2.0 project?
>
> I have added a file AssemblyInfo.cs containing the version number to my
> project's App_Code folder. When I try to read the version number from my code
> I always get "0.0.0.0".
> In ASP.NET 1.1 I was able to read the version of my web application using
> the same code.
>
> Thanks for any help,
> Martin
.
Relevant Pages
- Re: IComparer and Sort
... Now I get the same contents as you have in QuickSort. ... Earlier I used this location in reflector ... That _could_ happen if you have multiple versions of the .NET assemblies ... not in the GAC, then that's probably your problem right there. ... (microsoft.public.dotnet.languages.csharp) - Re: IComparer and Sort
... Now I get the same contents as you have in QuickSort. ... Earlier I used this location in reflector ... That _could_ happen if you have multiple versions of the .NET assemblies ... not in the GAC, then that's probably your problem right there. ... (microsoft.public.dotnet.languages.csharp) - Re: IComparer and Sort
... Now I get the same contents as you have in QuickSort. ... Earlier I used this location in reflector ... That _could_ happen if you have multiple versions of the .NET assemblies ... not in the GAC, then that's probably your problem right there. ... (microsoft.public.dotnet.languages.csharp) - Re: IComparer and Sort
... Now I get the same contents as you have in QuickSort. ... Earlier I used this location in reflector ... That _could_ happen if you have multiple versions of the .NET assemblies ... not in the GAC, then that's probably your problem right there. ... (microsoft.public.dotnet.languages.csharp) - Re: IComparer and Sort
... I get the same result if I start form main using reflector and click until I ... That _could_ happen if you have multiple versions of the .NET assemblies lying around on your computer. ... You can easily see the source of each DLL loaded in the process by, while debugging, displaying the "Modules" debug window. ... Of course, if it turns out you're loading a version of mscorlib.dll that's not in the GAC, then that's probably your problem right there. ... (microsoft.public.dotnet.languages.csharp) |
|