Have postsharp "wizards" use the currently installed nuget package

esben's Avatar

esben

23 Jul, 2014 12:54 PM

Whenever you choose to add a component/package such as the "diagnostics patterns" using the smart tags and associated wizards the wizard will upgrade postsharp to the latest version in nuget instead of using whatever version is installed in other projects in the same solution.

Basically this makes the wizards VERY annoying to use and clean up after if you want to maintain a fixed version of the postsharp libraries (we only upgrade third party libraries in major releases or if there are critical bugs).

It would be nice if it was somehow possible to install the same postsharp version as is installed in the solution (when one is already installed that is) - or possibly ask the user what action it should take.

  1. Support Staff 1 Posted by PostSharp Techn... on 23 Jul, 2014 01:33 PM

    PostSharp Technologies's Avatar

    Hi esben,

    we are aware of this behavior and we plan to implement this option in one of the future versions.

    Most of PostSharp users for who this automatic process does matter use private NuGet repositories, which makes this problem irrelevant. This is also a workaround for you - set up special NuGet package source (can be a network share of a NuGet server) with higher priority than the official NuGet package source one and put the version you want to use into it.

    I know that the option to disable auto-upgrade would be better, but I hope the described workaround would work for you at least temporarily.

    Best regards,
    Daniel

  2. 2 Posted by esben on 23 Jul, 2014 01:46 PM

    esben's Avatar

    Thanks for the info.
    We will have a look at a private repository or wait for a future release.

    --
    Esben

  3. esben closed this discussion on 13 Feb, 2015 07:25 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac