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

Upgrade from trial to full version

3 Answers 119 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Renato
Top achievements
Rank 1
Renato asked on 22 Jul 2013, 02:32 PM
Hi, I installed Telerik_ASP_NET_Web_Parts_2013_2_611_for_SharePoint_2013_Dev.msi but when I try to package or build the project I am getting those 3 errors, any help, thanks

------ Build started: Project: Expertime.PublishingComments.Library, Configuration: Debug Any CPU ------
1 - C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3274: The primary reference "Telerik.Web.UI, Version=2013.1.220.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0".
2 - C:\projects\abc\Expertime.PublishingComments.Library\Controls\Comments.cs(9,7,9,14): error CS0246: The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)
3 - C:\projects\abc\Expertime.PublishingComments.Library\Controls\Comments.cs(19,19,19,28): error CS0246: The type or namespace name 'RadEditor' could not be found (are you missing a using directive or an assembly reference?)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

3 Answers, 1 is accepted

Sort by
0
Renato
Top achievements
Rank 1
answered on 23 Jul 2013, 09:00 AM
Can I have some support? Is it a version problem, how to fix it please?
0
Steliyan
Telerik team
answered on 23 Jul 2013, 11:10 AM
Hello,

What is the project that you are trying to build? Is it a custom one or code provided by Telerik?

It seems that the references in your project are broken. The project refers to an older version of Telerik.Web.UI.dll (version 2013.1.220.45), which is different from the version 2013.2.717 installed by the Telerik_ASP_NET_Web_Parts_2013_2_611_for_SharePoint_2013_Dev.msi installer.

Another problem is that you app runs under .NET 4.0 but it references a dll built agains .NET 4.5 which causes the first error.

I suggest you to add the reference for .NET Framework 4.0 assembly or to update the target framework of the project to 4.5.

Here you can read more about these options:
  1.   http://msdn.microsoft.com/en-us/library/bb772098(v=vs.90).aspx
  2.   http://msdn.microsoft.com/en-us/library/7314433t(v=vs.80).aspx

Hope this helps fix your problem.

In case your scenario is other, please provide more details on how to recreate it.

Best regards,
Steliyan
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Renato
Top achievements
Rank 1
answered on 23 Jul 2013, 11:46 AM
"Another problem is that you app runs under .NET 4.0 but it references a dll built agains .NET 4.5 which causes the first error."
thanks! that was the error
Tags
WebParts for SharePoint
Asked by
Renato
Top achievements
Rank 1
Answers by
Renato
Top achievements
Rank 1
Steliyan
Telerik team
Share this question
or