ProjectTypeGuid

Latest post 09-23-2008 12:54 AM by Digvijay. 4 replies.
  • 09-19-2008 12:39 AM

    ProjectTypeGuid

    Hi ,

          I am exporting a C# template from VSTA and  after registering it with my host application I am opening it in my host application .

         It opens  fine but give error "Method or Operation not implemented" on being run. But if I edit project template and add ProjectTypeGuid of vsta c#  

         project   it opens fine but now give error "Visual Studio encountered unexpected error".

    <ProjectTypeGuids>{A860303F-1F3F-4691-B57E-529FC101A107};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

     

     I have to use a winexe template within my host application without any extensibility. Is it right way to achive this? Is there any role of

    <ProjectExtensions><VisualStudio><flavouredProperties><ProjectProperties HostName etc..> in my case ?

    Digvijay
  • 09-19-2008 2:33 PM In reply to

    • Gary
    • Top 10 Contributor
    • Joined on 07-13-2006
    • Posts 320

    Re: ProjectTypeGuid

    VSTA's ProjectGen is a tool to help you create VSTA project templates.  Have you successfully created a project template with this tool, and does the project build and run?  See the VSTA SDK doc for a walkthrough.

    After you have created a working VSTA project template using ProjectGen, you will be able to export new ones with the VSTA IDE. 

    VSTA project templates and projects will also open in Visual Studio.

    Typically, you should not need to edit the project template.

    Hope this helps.

  • 09-22-2008 1:30 AM In reply to

    Re: ProjectTypeGuid

    Hi Gary,

    I have created the project template through Projectgen and they are working fine.But along with the template created through Object Model XML file via ProjectGen, I also need  some project templates  that are not related to my host application , for that purpose I am exporting template's from VSTA using Windows Control Library template. After deploying these templates in templates folder path specified in registry entry of host application and running vsta /hostid myapp /setup , I am unable to open them in VSTA IDE that I am launching through my host Application . The error is "Method or Operation not implemented" .

    Digvijay
  • 09-22-2008 12:13 PM In reply to

    • Gary
    • Top 10 Contributor
    • Joined on 07-13-2006
    • Posts 320

    Re: ProjectTypeGuid

    Windows Control Library template provides a way for creating custom controls to use in Windows Forms.  This template is available with full Visual Studio.  VSTA templates are distinct from other versions of VS.

    It may be possible to support this in the VSTA IDE, but we'd have to investigate further.

    I noticed:

    http://www.eggheadcafe.com/software/aspnet/31702800/windows-control-library-p.aspx

  • 09-23-2008 12:54 AM In reply to

    Re: ProjectTypeGuid

    Thank's Gary for your quick responses.

    Digvijay
Page 1 of 1 (5 items) | RSS
Copyright Summit Software Company, 2008. All rights reserved.