elopio

Good Morning,
I'm trying to create a custom project for a language service generated with Managed Babel. My language appears on VS registry under the Languages\Language Services folder, so it's registered and working. I'm using GAT to create the templates for solutions and projects, but when I write


<ProjectType>MyLanguage</ProjectType>

on the template, it doesn't compile.
I've found some information about adding the Language on the registry under Project folder, but I don't want to manually modify it. Is there another way to register the project type, like the way I'm registering the language


Thanks, pura vida



Re: Visual Studio Extensibility custom project, BABEL + GAT

Dmitry Pavlov

Hi,

There are a lot of attributes for registering packages, projects and language services. Some of them are related to projects:

  • ProvideLoadKey
  • PackageRegistration
  • ProvideEditorExtensionAttribute
  • ProvideEditorLogicalView
  • ProvideProjectFactory

Hope those will be good pointers for you!






Re: Visual Studio Extensibility custom project, BABEL + GAT

elopio

Ok, thanks to you, the NestedProject sample and Mike Hadlow I could register my package using ProjectFactory. I don't want the references to be part of my project, but I can't find where on the NestedProject do they add it to the project. Any idea

pura vida.





Re: Visual Studio Extensibility custom project, BABEL + GAT

Dmitry Pavlov

I'm not sure I understand what references are you talking about Could you please clarify that




Re: Visual Studio Extensibility custom project, BABEL + GAT

elopio

Sure. When you add a project to the solution, it's empty but it's created with a folder or something like that to add the references (component files, .dll, .exe, etcetera). I don't need to add assemblies nor any kind of references, so I don't want this folder in my projects.

Thanks.





Re: Visual Studio Extensibility custom project, BABEL + GAT

elopio

Here is the answer, thanks to Dmitry.





Re: Visual Studio Extensibility custom project, BABEL + GAT

Dmitry Pavlov

You are welcome!