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

New version / new internal build

5 Answers 206 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rieni De Rijke
Top achievements
Rank 1
Rieni De Rijke asked on 05 Jan 2011, 09:58 AM
What is the best practice...?

When Telerik comes out with new versions or internal builds, we always try to follow.
We download the files (unblock the dll's) and we copy the files into a (new) directory.
Sometimes we remove all the Telerik dll's from the projects References and we add the new dll's.
Sometimes we unload the projects and replace the telerik version in the text of the projectfiles.
We clean and rebuild our solutions.

This works fine, but... we often have problems with showing the telerik-components in the xaml /designer).
An error shows: Could not load file or assembly 'Telerik.Windows.Controls, Version=2010.3.1304.40...
Yes, we know that Visual Studio's xaml-design-mode is almost useless, but know and than we have to use it...

What are we doing wrong?
What is the best practice to update a solution with a new version or an internal build?

5 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 05 Jan 2011, 10:37 AM
Hi Rieni De Rijke,

I would recommend the first approach - removing the old references and adding them again pointing to the new files. Also, please use the latest internal builds only if necessary (for example you experience a bug that is already fixed). Otherwise, stick to the official release. Cleaning and rebuilding the solution should be enough.
Also, make sure that if your solution contains more than one project to update the references in all of them.
Does restart of Visual Studio help?

Regards,
Veselin Vasilev
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Rieni De Rijke
Top achievements
Rank 1
answered on 05 Jan 2011, 01:22 PM
The new version of the internal builds is 2010.3.1304.40

We remove the dll's from References.
We add the new dll's from a new Directory. (W:\Development\References\3_part\Telerik\2010.31\)
The dll's are "unblocked".
Clean and rebuild.
Restart Visual Studio.
When opening the projectfile, we see this:

<Reference Include="Telerik.Windows.Controls, Version=2010.3.1110.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>W:\Development\References\3_part\Telerik\2010.31\Telerik.Windows.Controls.dll</HintPath>
    </Reference>

When opening xaml in the designer: Could not load file or assembly 'Telerik.Windows.Controls, Version=2010.3.1304.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
0
Veselin Vasilev
Telerik team
answered on 05 Jan 2011, 01:28 PM
Hi Rieni De Rijke,

Is the W:\ drive a mapped network share? If so, that could be the problem. You can try to copy the assemblies locally and add the references from there.
Let me know how it goes.

Best wishes,
Veselin Vasilev
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Rieni De Rijke
Top achievements
Rank 1
answered on 05 Jan 2011, 01:42 PM
Hi Veselin! Thank you for the quick response!

Removed the dll's from References.
Added them again from C:\Test... (internal builds  2010.3.1304.40)
Clean, Rebuild, Restarted...
Opening the projectfile shows this: (again the old version!).

<Reference Include="Telerik.Windows.Controls.Charting, Version=2010.3.1110.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\..\..\Test\2010.31\Telerik.Windows.Controls.dll</HintPath>
    </Reference>

Everything works fine again, but opening xaml in designer:
Could not load file or assembly 'Telerik.Windows.Controls, Version=2010.3.1304.40, ...
0
Veselin Vasilev
Telerik team
answered on 05 Jan 2011, 02:17 PM
Hi Rieni De Rijke,

Are all of the Telerik controls of the same version? Probably you have forgotten to update some of the files.
What happens if you create a blank new application - does it experience the same issue?

Kind regards,
Veselin Vasilev
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
General Discussions
Asked by
Rieni De Rijke
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Rieni De Rijke
Top achievements
Rank 1
Share this question
or