Posts

Showing posts from November, 2013

SAS EG Add-Ins and WPF

Well, I finally made progress on getting my dynamic WPF add-in working. This was in large part to Chris Hemedinger helping out with some questions. What I have learned, I want to share so it is not lost.

WPF works fine with EG except for some graphics issues found when the form is displayed in EG. Not a major issue, a minor one.

The main thing is that it works, runs dynamically using web services on the backend, uses MEF (very cool Framework), and saves us a lot of effort.

Here are some of Chris' suggestions.

How to debug
To be effective at debugging, you need a professional version of Visual Studio.  The Express editions don't allow you to debug an application unless you built that app (the EXE) with Express.  

Assuming that you have the a Pro version, you can use this approach:
-Copy the DLL and PDB (symbols) file into the directory where you are putting Custom tasks.
-Start EG as normal, see the custom task in the Add-Ins menu.
-Before you launch the task, use Visual Studio to …