How to use DTE in PowerShell?
问题 I am trying to use PowerShell to automate the process of creating an n-tier solution based on a seed (think EDMX file or DbContext) configuration. I want to be able to open a skeleton solution, get the active instance, and populate project files with auto-generated code. I'm trying to transcode the example provided here to powershell, however, I am getting errors. Here is the PowerShell code I am testing: First, I execute a little function to reference the DTE assemblies. $libs = "envdte.dll"