Microsoft.Web.Xdt 3.0.0 has a lower fileversion than 2.X
- Dominant language
- C#
- Stars
- 64
- Forks
- 42
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 4
Description
Some context:
We use the Microsoft.Web.Xdt package in our product to transform XMLs and after a update from version 2.1.2 to 3.0.0 we found some issues regarding the file version.
In the 2.X days we used a bindingRedirect like this:
```
```
After the update (and with the bindingRedirect in place) the xml transform resulted in an error. I resolved this issue by removing the unnessary bindingRedirect.
So far so good, but we distribute our application via MSI and I guess this could be problematic in update scenarios.
AFAIK the default MSI update behavior is to check if the file version has changed and if a newer file version is found, the .dll will be replaced. But with the 3.0 NuGet package this is not the case anymore:
(Left 2.X package, right 3.X package)

Currently, to make it "safe" I need to tell my clients to uninstall and reinstall the product, because an update probably won't update the Microsoft.Web.XmlTransform.dll.
I'm not sure if your file version "3.X" has a deeper meaning, but for compatibility it would be cool to specify a higher version than 15.
Contributor guide
Assessment
This issue has not been assessed yet.