CodePlexProject Hosting for Open Source Software
Is it possible to detect version and edition of Visual Studio (perhaps from the init.ps1 script?) and gracefully abort package installation if they don't meet package requirements?
You can detect VS version with the DTE.Version property, and edition with DTE.Edition.
If you want to abort package installation from inside init.ps1, just throw an exception.
Thanks! Would it be correct to assume that the $DTE variable is always initialized in the init.ps1?
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.