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

After reorganising UnitTest project, Templates cannot be found

1 Answer 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 19 Nov 2010, 06:28 PM
After reorganising my UnitTest project I now receive the message:

"Unable to load WebAii Test Template. Please make sure templates are loaded." when trying to convert my .aii test into a MSUnit test.

The conversion succeeds, but changes the test to a .vb file as opposed to a .cs file, as is specified in the Settings.aiis file in the same folder as the .aii test I am converting.

Where is the templates location set and how can I change it to allow the project to find the settings again?

Tom

1 Answer, 1 is accepted

Sort by
0
Keaegan
Telerik team
answered on 24 Nov 2010, 11:19 PM
Hello Tom,

Our templates will be in:

  • C:\Program Files\<Visual Studio Version>\Common7\IDE\ItemTemplates\<language>\Test\WebAii 2010.3
I wanted to ask you some questions about your setup. WebAii Framework (what this inquiry was filed under), would be a project with only code files, so there would not be a .aii test to convert.

With this in mind, it sounds like you may be using the Developer Edition of the software to convert an .aii test file. In either case, the conversion will check the parent test project for whether it is C# or VB test project. If this check differs from what is contained in the settings.aiis file, the parent test project type will take precedence. By this, I mean that if you had created the .aii file inside a .vbproj, and change the settings.aiis file to output C#, it will still output a .vb file. The reason for this is that you cannot mix C# and VB within the same project.

Is it possible that this test was imported to your current setup and made previously as a vbproject? If not, would you be able to provide us a copy of the solution in .zip/.rar format for us to review and help determine why it is not changing the file type to the expected type?


Best wishes,
Keaegan
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
Tom
Top achievements
Rank 1
Answers by
Keaegan
Telerik team
Share this question
or