I'm following along to Launch Visual Studio using DTE which has the following steps:
- Create a new Console App project for the .NET Framework.
- Install the Microsoft.VisualStudio.Setup.Configuration.Interop NuGet package and add a reference to the assembly.
- Add a reference to EnvDTE.
- Paste the example code that follows into the Program.cs file.
- Press F5 to run the program. You should see Visual Studio 2019 open before the program exits.
How do I do:
- add a reference to the assembly.
- Add a reference to EnvDTE.
Is it referring to adding references to the .csproj file? Suing dotnet add reference (package|reference) <something>?