This project has moved. For the latest updates, please go here.

Assembly version as ExportMetadata

Feb 12, 2013 at 6:48 AM
How can you use the current build version of an assembly as exportmetadata?
Feb 14, 2013 at 5:28 AM
For all exports, or just a selection?

The former, I'm not sure about. There are a couple of days to achieve the

If you're using conventions, you can do this in an Export(x => ...)
statement using AddMetadata().

If you're using attributes only, a custom MetadataAttribute can do this.

Let us know which approach you're using and with what version of MEF.