G
Guest
Hello,
I'm trying to have the isolated storage created separately for each version
of a strong named assembly. The reason for this is that the data formats of
the persisted information may change from one version to another, and, if the
stores are the same for all the versions, then errors may occur when older
versions try to load information written by newer ones or vice-versa.
I guess I could append the version to each file name, or create folders with
the versions inside the isolated storage, but I'm trying to take advantage of
the isolation feature.
So far, I've managed to do this by creating an Url object from a uri-like
string containing the assembly version, and passing this to
IsolatedStorageFile.GetStore as assembly evidence.
This sounds a bit as a hack, can anyone tell me if there is an official way
to do this?
Thanks.
I'm trying to have the isolated storage created separately for each version
of a strong named assembly. The reason for this is that the data formats of
the persisted information may change from one version to another, and, if the
stores are the same for all the versions, then errors may occur when older
versions try to load information written by newer ones or vice-versa.
I guess I could append the version to each file name, or create folders with
the versions inside the isolated storage, but I'm trying to take advantage of
the isolation feature.
So far, I've managed to do this by creating an Url object from a uri-like
string containing the assembly version, and passing this to
IsolatedStorageFile.GetStore as assembly evidence.
This sounds a bit as a hack, can anyone tell me if there is an official way
to do this?
Thanks.