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

Added a Telerik Report winForm and it killed other user controls

2 Answers 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 02 Aug 2020, 03:38 PM

I was testing out the reporting tools from Telerik and I added a Telerik Report Viewer form. When I did so, it replaced one of my main user controls in my main winForm with a Telerik ReportViewer. I removed it and tried to put back my user control but now I am getting an error that says...

Failed to create component UserControl1... System.IO.FileNotFoundException…. Microsoft.Extensions.DependencyInjection.Abstrations was not found… or one of it's dependencies.

The only thing I did was add a Telerik Report Viewer winForm to my project. The wizard did kick off added a sample report and created a report folder with the sample. But nothing else. I don't understand what the Telerik template or wizard might have done to replace my user control and what happened to the DI.Abstractions reference. Does the template or wizard make changes to my references, something that might have caused a conflict?

It all seems a bit odd, like the Telerik template or wizard did something it was not supposed to. So I need to know how to get it back to where it was before. Then maybe I can start looking at Telerik Reporting options.

One thing I did notice is that whatever happened, the key is that it broke my user control. Then .NET seems to have substituted it with the Telerik Report Viewer control when I tried to view and identify the issue. SO the issue, it seems to have to do with breaking my control, not substituting the user control. I think that was .NET. 

 

Thanks,

Jon

 

2 Answers, 1 is accepted

Sort by
0
Greg
Top achievements
Rank 1
answered on 02 Aug 2020, 03:44 PM

I did notice one thing... the only dependencies for MS.Extension.DI.Abstractions is .NetStandard v2.0. Could Telerik template or wizard done something that changed. I also noticed that the error is that DI.Abstractions is looking for v.3.1.0.0 and I am using v.3.1.6. So it seems that maybe Telerik Reporting is using v3.1.0.0?  

 

 

0
Eric R | Senior Technical Support Engineer
Telerik team
answered on 05 Aug 2020, 08:01 PM

Hi Greg,

Thank you for the information. At this time, we can't ship any Wizards or Project Templates for .NET Core projects. We are awaiting design-time components to become available. 

As a result, I am a little unsure about the issue that occurred and in what Wizard. Can you provide more information on which Wizard you are using and the control the Report Viewer saved over?

If possible, please provide a sample project that reproduces the error.

If security is a concern, I can convert this thread to a Support ticket for you which will enable you to upload your files privately.

In the meantime, please let me know if you need any additional information. Thank you.

Regards,


Eric R | Senior Technical Support Engineer
Progress Telerik

Tags
General Discussions
Asked by
Greg
Top achievements
Rank 1
Answers by
Greg
Top achievements
Rank 1
Eric R | Senior Technical Support Engineer
Telerik team
Share this question
or