Jeff
Thu Nov 06 10:24:52 CST 2003
Sorry, I misunderstood your question. Glad you got the information you
needed.
-Jeff
"xiaorun huang" <hrun@sina.com> wrote in message
news:OSpGoiCpDHA.1284@TK2MSFTNGP09.phx.gbl...
> It is no help to me, and i have read it more times!
> Maybe i am not fullly express me. What my problem is:
> I code a program it create a dynamic assembly by call
DefineDynamicAssembly.
> and Save it to a file.
> I want to change this assembly'ver create by my program, not my
program'ver.
> So it should add some code to my program. And I use SetCutsomAttribute
with
> a CustomAttributeBuilder parameter. but by it, it will add a custom
> attribute not modfiy the .ver of assembly that create by my program.
>
> xiaorun huang
>
> "Jeff Mastry" <reply@news.group> wrote in message
> news:ug3hrGBpDHA.964@TK2MSFTNGP10.phx.gbl...
> > Take a look at the AssemblyVersionAttribute class:
> >
> >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemreflectionassemblyversionattributeclasstopic.asp
> >
> > -Jeff
> >
> > "xiaorun huang" <hrun@sina.com> wrote in message
> > news:%23OOGdkApDHA.1928@TK2MSFTNGP12.phx.gbl...
> > > In my program I want to create a assembly and save it, but when i set
> the
> > > AssemblyVersion by call SetCustomAttribute, it donot change the
> assembly's
> > > ver, but add a new .custom attribute with type
> > > System.Reflection.AssemblyVersionAttribute. how can i change the .ver
> > > attribute of my assembly.
> > >
> > > thanks
> > >
> > > xiaorun huang
> > > huangxiaorun@runnysoft.com
> > >
> > >
> >
> >
>
>