<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom add-in: Unanble to add SAS.EG.Controls in the VS.NET ToolBox in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-add-in-Unanble-to-add-SAS-EG-Controls-in-the-VS-NET/m-p/895#M244</link>
    <description>Chris,&lt;BR /&gt;
&lt;BR /&gt;
Your suggestions do allow the components in SAS.EG.Controls.dll to be added to the Toolbox, and my EG4 Add-In compiles and adds into EG 4.1.  However, after I've selected the input data for the Add-In I get the following error window in EG 4.1:&lt;BR /&gt;
&lt;BR /&gt;
Application Error&lt;BR /&gt;
System.IO.FileLoadException&lt;BR /&gt;
The located assembly's manifest definition with name 'SAS.EG.Controls' does not match the assembly reference.&lt;BR /&gt;
--------- Technical information Follows ----------&lt;BR /&gt;
[SAS.EG.ProjectsElements]&lt;BR /&gt;
The located assembly's manifest definition with name 'SAS.EG.Controls' does not match the assembly reference.&lt;BR /&gt;
--------------------------&lt;BR /&gt;
at SAS.EG.ProjectsElements.EGTask.Show(Win32WindowOwner)&lt;BR /&gt;
at SAS.EG.SEGuide.MainForm.AddTask(Guid taskGuid, Element inputData, Boolean blsWizard)&lt;BR /&gt;
at SAS.EG.SEGuide,MainForm.LaunchTask(Element target, Giud taskGuid, Boolean blsWizard)&lt;BR /&gt;
etc....&lt;BR /&gt;
&lt;BR /&gt;
Is this due to EG 4.1 looking in ...\SAS\Shared Files\BIClientTasks\4\, but the compiled reference is from ...\SAS\Enterprise Guide 4\, and it is different?&lt;BR /&gt;
If so, then why are they different?&lt;BR /&gt;
&lt;BR /&gt;
...........Phil</description>
    <pubDate>Mon, 10 Jul 2006 16:31:53 GMT</pubDate>
    <dc:creator>prholland</dc:creator>
    <dc:date>2006-07-10T16:31:53Z</dc:date>
    <item>
      <title>Custom add-in: Unanble to add SAS.EG.Controls in the VS.NET ToolBox</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-add-in-Unanble-to-add-SAS-EG-Controls-in-the-VS-NET/m-p/892#M241</link>
      <description>Hi Chris and everybody,&lt;BR /&gt;
&lt;BR /&gt;
I am developing a custom task for EG4.1 with VB.NET (VS.NET 2003), I am not able to add SAS.EG.Controls in the ToolBox, I am getting the error:&lt;BR /&gt;
&lt;BR /&gt;
"The object with ID 11 implements the IObjectReference interface for which all dependencies cannot be resolved. The most likely cause is two instances of IObjectReference that have a mutual dependency on each other"&lt;BR /&gt;
&lt;BR /&gt;
I am getting this error after doing the following:&lt;BR /&gt;
Menu &amp;gt; ToolBox to display the ToolBox; RightClick on Windows Forms Tab &amp;gt; Add/Removes Items...&amp;gt; click Browse... &amp;gt; navigate to select  C:\Program Files\SAS Institute\Shared Files\BIClientTasks\4\SAS.EG.Controls.dll&lt;BR /&gt;
&lt;BR /&gt;
Note1: My project already references the following items:&lt;BR /&gt;
Adodb; Sas.eg.controls; Sas.interop.sas; Shared.addins; System; System.data;&lt;BR /&gt;
System.drawing; Windows.forms; System.xml&lt;BR /&gt;
&lt;BR /&gt;
Note2: As I also have EG3 installed, if I attempt to add ...\BIClientTasks\3\SAS.EG.Controls.dll, no error is generated.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for any help.&lt;BR /&gt;
&lt;BR /&gt;
Maurice</description>
      <pubDate>Mon, 26 Jun 2006 13:17:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-add-in-Unanble-to-add-SAS-EG-Controls-in-the-VS-NET/m-p/892#M241</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-06-26T13:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom add-in: Unanble to add SAS.EG.Controls in the VS.NET ToolBox</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-add-in-Unanble-to-add-SAS-EG-Controls-in-the-VS-NET/m-p/893#M242</link>
      <description>Can I add that I'm getting the same message, except that I'm seeing "ID 243" instead of "ID 11" in the error message?&lt;BR /&gt;
&lt;BR /&gt;
I wouldn't have seen this, but I thought I'd redevelop an existing EG3 Add-in to use EG4.1 controls to circumvent SN-017595!&lt;BR /&gt;
&lt;BR /&gt;
........Phil</description>
      <pubDate>Thu, 29 Jun 2006 13:37:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-add-in-Unanble-to-add-SAS-EG-Controls-in-the-VS-NET/m-p/893#M242</guid>
      <dc:creator>prholland</dc:creator>
      <dc:date>2006-06-29T13:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom add-in: Unanble to add SAS.EG.Controls in the VS.NET ToolBox</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-add-in-Unanble-to-add-SAS-EG-Controls-in-the-VS-NET/m-p/894#M243</link>
      <description>I apologize for the delayed response.  Please try these steps:&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;How to Add SAS-supported controls to the Visual Studio toolbox for use with SAS Enterprise Guide custom tasks&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
1. Create a new project using the SAS EG AddIn 4 template (available from &lt;A href="http://support.sas.com/eguide)" target="_blank"&gt;http://support.sas.com/eguide)&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
2. Add a reference to the project: C:\Program Files\SAS\Enterprise Guide 4\SAS.EG.Controls.dll&lt;BR /&gt;
You'll see a message similar to the following:&lt;BR /&gt;
&lt;BR /&gt;
In order to add this reference, the directory 'c:\program files\sas\enterprise guide 4' will be added to the project's ReferencePath property. This will change where the following references are found: SAS.Shared.AddIns.&lt;BR /&gt;
&lt;BR /&gt;
Do you want to continue and add the reference?&lt;BR /&gt;
&lt;BR /&gt;
Select Yes.&lt;BR /&gt;
&lt;BR /&gt;
4. Right-click in Toolbox area, select Add/Remove Items…&lt;BR /&gt;
&lt;BR /&gt;
5. In Customize Toolbox window, select Browse…&lt;BR /&gt;
&lt;BR /&gt;
6. Navigate to C:\Program Files\SAS\Enterprise Guide 4\SAS.EG.Controls.dll and then select Open&lt;BR /&gt;
&lt;BR /&gt;
This should add many controls to the .NET Framework Components tab, with checkbox states selected, from the SAS.EG.Controls namespace.&lt;BR /&gt;
&lt;BR /&gt;
Note that only the SAS Variable Selector, SAS Format Selector, and SAS Color Selector are documented and supported for customer use.&lt;BR /&gt;
&lt;BR /&gt;
Chris</description>
      <pubDate>Mon, 10 Jul 2006 15:04:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-add-in-Unanble-to-add-SAS-EG-Controls-in-the-VS-NET/m-p/894#M243</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2006-07-10T15:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Custom add-in: Unanble to add SAS.EG.Controls in the VS.NET ToolBox</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-add-in-Unanble-to-add-SAS-EG-Controls-in-the-VS-NET/m-p/895#M244</link>
      <description>Chris,&lt;BR /&gt;
&lt;BR /&gt;
Your suggestions do allow the components in SAS.EG.Controls.dll to be added to the Toolbox, and my EG4 Add-In compiles and adds into EG 4.1.  However, after I've selected the input data for the Add-In I get the following error window in EG 4.1:&lt;BR /&gt;
&lt;BR /&gt;
Application Error&lt;BR /&gt;
System.IO.FileLoadException&lt;BR /&gt;
The located assembly's manifest definition with name 'SAS.EG.Controls' does not match the assembly reference.&lt;BR /&gt;
--------- Technical information Follows ----------&lt;BR /&gt;
[SAS.EG.ProjectsElements]&lt;BR /&gt;
The located assembly's manifest definition with name 'SAS.EG.Controls' does not match the assembly reference.&lt;BR /&gt;
--------------------------&lt;BR /&gt;
at SAS.EG.ProjectsElements.EGTask.Show(Win32WindowOwner)&lt;BR /&gt;
at SAS.EG.SEGuide.MainForm.AddTask(Guid taskGuid, Element inputData, Boolean blsWizard)&lt;BR /&gt;
at SAS.EG.SEGuide,MainForm.LaunchTask(Element target, Giud taskGuid, Boolean blsWizard)&lt;BR /&gt;
etc....&lt;BR /&gt;
&lt;BR /&gt;
Is this due to EG 4.1 looking in ...\SAS\Shared Files\BIClientTasks\4\, but the compiled reference is from ...\SAS\Enterprise Guide 4\, and it is different?&lt;BR /&gt;
If so, then why are they different?&lt;BR /&gt;
&lt;BR /&gt;
...........Phil</description>
      <pubDate>Mon, 10 Jul 2006 16:31:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Custom-add-in-Unanble-to-add-SAS-EG-Controls-in-the-VS-NET/m-p/895#M244</guid>
      <dc:creator>prholland</dc:creator>
      <dc:date>2006-07-10T16:31:53Z</dc:date>
    </item>
  </channel>
</rss>

