Looking at 
https://rhino-tools.svn.sourceforge.net/svnroot/rhino-tools/trunk/common-project.xml
it appears that the AssemblyVersion attribute is updated with every
build.

<property overwrite="false" name="assembly.version" value="$
{project.major}.${project.minor}.${project.build}.0" />
...
<attribute type="AssemblyVersionAttribute" value="$
{assembly.version}" />

I believe this is a mistake because it implies that every build is
incompatible and non-interchangeable with any other build.

For example, if I factor out my custom constraints (each derived from
Rhino.Mocks.Constraints.AbstractConstraint) into a shared library, all
code using that library would need to upgrade their version of Rhino
Mocks in step with upgrades to the version of Rhino Mocks referenced
by the library.

Visual Studio also generates the somewhat intractable warning "Found
conflicts between different versions of the same dependent assembly."
which appears to be caused by this.

Is it unreasonable to propose that the AssemblyFileVersion be updated
with every build (for information reasons) but the AssemblyVersion be
*only* updated when there are breaking changes which mean that the new
version of Rhino Mocks can no longer be cleanly substituted for a
previous version?

Your thoughts?

Regards,
Daniel Fortunov
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RhinoMocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to