Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Error: The type or namespace name 'Telerik' could not be found AND The website is already referencing the assembly 'Telerik.Web.UI'

$
0
0

Hi,

I have downloaded and installed Trial version UI for ASP.NET AJAX. 

I have an ASP.Net website where I would like to integrate Telerik library.

But when I add reference to Telerik library from project's properties window, I got the error that "the website is already referencing the assembly 'Telerik.Web.UI'".
But I don't notice it anywhere in the installed references as you can verify by having look at attached screen shot.


Also, I am getting following kind of errors while building the website in "Output" Tab.


3>------ Rebuild All started: Project: Reports, Configuration: Release Any CPU ------
3>C:\Program Files\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Telerik.Reporting, Version=9.1.15.624, Culture=neutral, PublicKeyToken=a9d7983dfcc261be". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
3>C:\Users\TVESA\Documents\Visual Studio 2015\Projects\TISS_Projects\RTBWeb\RTBWebApp\Reports\rptEmptyReport.resx(122,5): error MSB3103: Invalid Resx file. Type Telerik.Reporting.Drawing.Unit, Telerik.Reporting, Version=9.1.15.624, Culture=neutral, PublicKeyToken=a9d7983dfcc261be in the data at line 120, position 4 cannot be located. Line 122, position 5.



Last, I am getting following kind of errors while building the website in "Error List" Tab.

Error    CS0246    The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)    (See attached screen shot)

I already copied all the required DLL files from C:\Program Files\Telerik\UI for ASP.NET AJAX Q2 2015\Bin35\ to BIN folder of my website.


I am using MS Visual Studio 2015 RC Community Edition with .Net 3.5 and IIS Express 8.0

I am stuck with these errors and warnings so it would be appreciated if you can provide me some solution to get the rid of these errors.


Viewing all articles
Browse latest Browse all 94857

Trending Articles