Cannot Deploy Custom Test Type Sample
Comments in MyTestWizard.cs read as follows:
1. Add the AddNewItemTemplates attribute to your package class forproject type you would like your wizard to show up for.
2. Create a .vsdir file in the directory specified in the AddNewItemTemplates
directory with lines of the form:Wizard/File Template (MyTest.vsz)|Package-GUID|Wizard name or resource reference (#n)|Priority?|Wizard description or resource reference|0|Icon resource reference (#n)|0|Base file name or resource reference
3. For a simple file template, create the file with the appropriate contents.
4. For a wizard, create a wizard file of the following form:
VSWIZARD 7.0Wizard=[ProgId for wizard]
While the readme.txt contains a completely different procedure.
__
Here are a list of issues:
- There is no sample or docs on the params to give to the AddNewItemTemplates attribute. Specifically the nameId and priority params. - There is no sample vsdir file. Assuming I create one based on step 2 what should go in MyTest.vsz - What is the role of the .vstemplate and .mytest files Is there an updated sln file that contains the missing links? If not could you list the exacts steps to get the new test type to show up under the new tests once the project is built? (Note I have already added a post build event to the project that uses regpkg.exe to add the assembly to the experimental hive). Thnx in advance.
[AddNewItemTemplates(string projectGuid,int nameId,string templateDir,intpriority)]

