Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1179
Issue using Nuget/version-free winforms v2016.2
posted

Hi,

Just manually migrated a winforms project to v2016.2. I've switched from versioned (prevously v2013.1) to version free, and I've added the various references to the project using the supplied Nuget packages, deployed to our local, private, Nuget server. Everything builds okay and seems to run fine. However I'm having problems with the designers. There are a number of issues:

  • When I open a form designer, existing controls are displaying correctly, but they're also showing in the component shelf below the designer (ie, where non-visual controls normally appear)
  • When I add a new control from the toolbox, it shows in the component shelf but does not show in the designer itself
  • When I adda new control from the toolbox (section labelled Infragistics 16.2 Win CLR4x) it adds the relevant versioned assemblies to the project references, causing a clash with the version-free Nuget references

I've cleared the Licences.licx files, but am still getting the same problems. I'm guessing I need to register the version free assemblies in the GAC, but I'm not sure which set to use - there are signed and unsigned versions (currently in zip files under the installation directory). Also I guess I need to replace my toolbox section with a version free section? Assuming that's the case, can you tell me what I need to do to go forward?

Kevin

Parents
No Data
Reply
  • 6120
    Offline posted

    Hello Kevin,

    To enhance the design-time experience, we provide custom designers in a separate assembly. This assembly must be installed in the GAC (or referenced by the project) to be loaded. If it is not loaded, the controls appear in the component tray.

    Due to current limitations in NuGet, there is no way to install an assembly directly to the GAC. Also, we don’t reference the design assembly as part of the nuget package install as distributing the design assembly to end users is considered a breach of our licensing agreement. NuGet will only work if you aren't going to utilize the design-time (build servers, programmatic UI creation, etc). If you want the design-time, you need to install the product (not the NuGet package) to get the designer assembly.

    Please let me know if you have any questions.

    Sincerely,
    Sahaja Kokkalagadda
    Associate Software Developer

Children