This is a migrated thread and some comments may be shown as answers.

.Net Framework 4.0?

4 Answers 398 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jerome
Top achievements
Rank 1
Jerome asked on 10 Oct 2011, 07:19 PM
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?

4 Answers, 1 is accepted

Sort by
0
Stuart Hemming
Top achievements
Rank 2
answered on 11 Oct 2011, 08:12 AM
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
0
Jerome
Top achievements
Rank 1
answered on 11 Oct 2011, 03:58 PM
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?
0
Stuart Hemming
Top achievements
Rank 2
answered on 11 Oct 2011, 04:12 PM
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
0
Jerome
Top achievements
Rank 1
answered on 11 Oct 2011, 04:17 PM
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.

Tags
General Discussions
Asked by
Jerome
Top achievements
Rank 1
Answers by
Stuart Hemming
Top achievements
Rank 2
Jerome
Top achievements
Rank 1
Share this question
or