Version of design time controls..

P

PeterB

Hi!

Using VS.NET 2003 and C#, I am creating some design-time controls combined
in a library file. It all works great except that the version of the
design-time version of the library is 0.0.0.0. I have compiled a run-time
version and it has the correct version.

These rows are added to the AssemblyInfo.cs :
#if DESIGN
[assembly: System.CF.Design.RuntimeAssemblyAttribute("SIB.Controls,
Version=2.1.3567.0, Culture=neutral, PublicKeyToken=null")]
#endif

The AssemblyVersion attribute in AssemblyInfo.cs is also set to 2.1.3567.0.

Anyone with an idea why I don't get a design-time dll with 2.1.3567.0 as the
AssemblyVersion??

thanks,

Peter
 
P

PeterB

*blush*

Thanks for that Alex!!


Alex Yakhnin said:
When compiling the design time version do you reference the
AssemblyInfo.cs?

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com
www.opennetcf.org

PeterB said:
Hi!

Using VS.NET 2003 and C#, I am creating some design-time controls
combined
in a library file. It all works great except that the version of the
design-time version of the library is 0.0.0.0. I have compiled a run-time
version and it has the correct version.

These rows are added to the AssemblyInfo.cs :
#if DESIGN
[assembly: System.CF.Design.RuntimeAssemblyAttribute("SIB.Controls,
Version=2.1.3567.0, Culture=neutral, PublicKeyToken=null")]
#endif

The AssemblyVersion attribute in AssemblyInfo.cs is also set to
2.1.3567.0.

Anyone with an idea why I don't get a design-time dll with 2.1.3567.0 as
the
AssemblyVersion??

thanks,

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top