0

I am currently try to write a code generator and I would like the user to select the target type for a property on a class via a drop down, but to populate the drop down I need to know what types are available to the project.

How do I access via a VS extension the properties that have been loaded by the current project?

Michael Edwards
  • 6,308
  • 6
  • 44
  • 75

1 Answers1

0

Check out my answer here: How to access project code meta data?

You should be able to get the types from the code snippet I provided.

Community
  • 1
  • 1
gameweld
  • 1,319
  • 15
  • 21