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?
Developer
Nov 21, 2013 at 7:47 AM
Hi

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: http://pietervanhove.azurewebsites.net/?p=461

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.

regards
Wim van der Vegt