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
35
Problem while adding ultrawingrid to the form
posted

Hi

I am using visual studio 10.0 and infragistic 8.2, when I have create a new solution, now i have added a ultrawingrid to the form it build the project it give me error "Code generation for property 'ViewStyleBand' failed.  Error was: 'Type 'Infragistics.Win.UltraWinGrid.ViewStyleBand' is not available in the target framework.' " Previously it was working fine I have reinstall window-7 and install visual studio 10.0 and then infragistic 8.2, but when I opened and existing project in vs 10.0 it work fine.

Can you help me what should be the problem?

Thanks

Rajneesh Kumar

  • 435
    posted

    unfortunately VS2010 often sets the Framework to .NET Framework 4.0 Client Profile if you create a new solution. 

    Maybe you just have to set the Framework for your Project to .NET Framework 4.0 (not Client Profile).

    Let me hear if this helped you.

     

    EDIT: Ah, someone was faster ;)

  • 71886
    Offline posted

    Hello Rajneesh,

    I believe that you could find an answer in the following forum thread:

    http://forums.infragistics.com/forums/t/56094.aspx

    Mike Saltzman explains possible reasons for this to happen.

    Please do not hesitate to ask if something comes up.