Assembly won't run without Visual Studio

Nov 21, 2013 at 1:10 AM
Has anyone seen the behavior where an assembly doesn't run fully on a machine without Visual Studio?
Nov 21, 2013 at 7:47 AM

Yes, when it uses certain designer features that need use a Visual Studio (design-time) assembly (notably VisualStudio.DTE) that are not present without visual studio being installed.

See for example:

Reason can also be a detection of VS so restrict use at designtime (dynamically check the presence of VisualStudio.DTE or an attached debugger with Debugger.IsAttached) combined with some sloppy testing.

Wim van der Vegt