.Net Framework 4.0?

5 posts, 0 answers
  1. Jerome
    Jerome avatar
    87 posts
    Member since:
    Aug 2010

    Posted 10 Oct 2011 Link to this post

    I can't seem to add Telerik.Web.UI to a .Net Framework 4 class library. Doesn't appear in the list. It does appear in Recent, in the Add Reference dialog, but when I double click, it says it's not compatible with .Net Framework 4.

    I've installed the only .msi I seem to be able to find on my Products page: Telerik.Web.UI_2011_2_915_Dev

    What am I missing?
  2. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 11 Oct 2011 Link to this post

    Jerome,

    Are you sure you're using the correct .DLL? The .Net v4.0 version is in the <telerik_install_dir>/bin40 folder.

    Check the .DLL you have in the bin folder of your project by right-clicking and select properties. The v4.0 version number (on the Details tab) will be 2011.2.915.40. If you have the .Net v3.5 version installed, it will be 2011.2.915.35.

    -- 
    Stuart
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jerome
    Jerome avatar
    87 posts
    Member since:
    Aug 2010

    Posted 11 Oct 2011 Link to this post

    I refered to the DLL by hand, and it worked. However now I have hard coded paths in my .csproj file, which I most certainly want to avoid. I'm guessing the Telerik stuff isn't being registered in VS.Net properly?
  5. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 11 Oct 2011 Link to this post

    That certainly sounds like the case.

    If you can, I'd be tempted to uninstall any/all versions of the telerik controls you have, then reinstall the latest version and, finally, make sure your project references point to the correct place.

    -- 
    Stuart
  6. Jerome
    Jerome avatar
    87 posts
    Member since:
    Aug 2010

    Posted 11 Oct 2011 Link to this post

    I added the path into HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx by hand and they're showing up fine. Nothing was in there previously for Telerik ASP.Net AJAX. Probably just a messed up installer, as you inferred.

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017