TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dima
NA
1
0
TypeLoadException on changing version number in weak-typed assembly
Jun 22 2006 12:22 PM
Hi All!
I have the following problem using CF 1.0 SP3:
I have an (.exe) that uses a set of private assemblies (weak-typed); each private assembly is compiled with auto-generation of version number (ex: 1.1.*); when I change source code of p.a. and I rebuild it:
- if new version of p.a. has the same major.minor.revision (only build number changes) then smart app run fines
- if new version of p.a. has different major.minor.revision then smart app fails and throws an
TypeLoadException
.
Important is that I do not use one solution for all assemblies and EXE, so I use an assembly pool to reference them.
The same scenario on Full .NET Framework runs fine!!!! And, actually, version number should not be considered for weak-typed assemblies.
How to avoid the problem without rebuilding all dependant assemblies ?
Thanks in advance!
Best regards.
Reply
Answers (
0
)
How to create a Pie Chart using .Net Compact Framework
Invoking PPC Emulator