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

Modify Visual Studio template?

5 Answers 100 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
E Pons
Top achievements
Rank 1
E Pons asked on 21 Oct 2010, 01:04 AM
Hello,

When I create a new report using the Telerik Reporting Template in Visual Studio 2010, there are a number of changes I need to make each time.  Can the VS Template be modified to avoid this repetition or is there another recommended technique?

Thanks!

5 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 21 Oct 2010, 05:27 PM
Hi E Pons,

The Telerik Reporting template is available in C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\CSharp\Reporting (respectively in the VisualBasic folder as well). It is an archive (zip) that contains the necessary files: Telerik_Reporting_Q2_2010_SP1.zip. Editing the files in the archive is up to you and you can make modifications to them if you want.
After you're done with the changes, make sure you open Visual Studio Command Prompt as Administrator and run devenv.exe /InstallVSTemplates, so that the changes would take effect.
More information about VS templates is available in Visual Studio Templates MSDN article.

Kind regards,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
E Pons
Top achievements
Rank 1
answered on 22 Oct 2010, 09:11 AM
Thank you, Steve!  I will do this. 

One clarification: is it correct that I will need to re-do this process for every release of Telerik Reporting?

Cheers,
E
0
Steve
Telerik team
answered on 22 Oct 2010, 05:01 PM
Hi E Pons,

The version of the reporting product is contained within the TelerikReport.vstemplate for each separate version, so yes you would have to do this process for every release.
As far as I understand you want to have something like base report that would contain specific sections/items and this can be achieved through inheritance as well - check the following forum thread for more information and decide which approach suits you best.

All the best,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
E Pons
Top achievements
Rank 1
answered on 25 Oct 2010, 07:53 AM
Hi Steve,

Good to know about the separate versions.  I'm mostly making minor modifications to the template to avoid StyleCop build errors regarding comments and spacing and such. 

Yes, we're also using some inheritance with a BaseReport.

Thanks,
E
0
Steve
Telerik team
answered on 25 Oct 2010, 10:49 AM
Hi E Pons,

You would be glad to know that we've fixed the xml comments in the report template in the Q2 2010 SP1 release (latest official version), so if this is what was troubling you, it would not be a problem any more once you upgrade.

All the best,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
E Pons
Top achievements
Rank 1
Answers by
Steve
Telerik team
E Pons
Top achievements
Rank 1
Share this question
or