-
-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fody 2.5.0 not looking at packages.config versions #524
Comments
is it not possible for you to update to the new sdk style of csproj? |
Not unless VS2015 supports that, which I don't think is the case. |
any reason you cannot move to VS 2017? |
@SimonCropp, do you mean |
@lennartb- r u mixing the old csproj format with PackageReference ? if so that is not supported https://github.com/Fody/Fody#project-formats |
Yep, that's why I'm asking. I'll to to move entirely to the new csproj format then and report back |
let me known how u go. until then i will close this |
Classic C#.NET project using this as part of its packages.config:
However when it runs it is picking up a different version of Costura.Fody (because it is present in the packages directory, despite not being specified in the config):
It should be reading the packages.config file and using that version only, not any other version it happens to find in the package folder.
Also, Costura is failing to load; I'm not sure if that's related to the version mismatch or not.
After updating Fody to 3.0.3 (which also forces Costura to 2.0.0, which in turn also removes all Costura elements from my FodyWeavers.xml, which I'm not happy about), the loading error no longer occurs. I can't prove whether it uses the "right" version of Costura any more since there isn't another version that's compatible with 3.0.3, but I suspect that it's still not using packages.config.
The text was updated successfully, but these errors were encountered: