What is the ($Foo)PS project in my $Foo ATL solution for?

COM supports making interface method calls across two different threads, two different processes or two different machines. This is called marshaling. Two different threads is the most common case, a COM server is often not thread-safe. COM implements thread-safety for such single-threaded coclasses by marshaling the call from the ‘wrong’ thread to the thread that … Read more

Can Visual Studio always open ASP.NET pages in Source view, not Design view?

Tools → Options → Web Forms Designer → Start pages in “Source view”. In VS < 2015 it was called HTML Designer. For other extensions you can define specific behaviour by right clicking on a file and selecting Open With. This allows you to set once off or default behaviour for opening more esoteric file … Read more

VS 2010, NUNit, and “The breakpoint will not currently be hit. No symbols have been loaded for this document”

There’s another similar question here on Stack Overflow, where I posted my answer with what worked for me. I can set breakpoints and start NUnit directly from Visual Studio 2010 with Debug -> Start New Instance (which I think is your goal). I set nunit.exe as the external program in project -> Properties -> Debugging … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)