<?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: EG7.1 .NET automation : problem when publishing the solution in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG7-1-NET-automation-problem-when-publishing-the-solution/m-p/385629#M24849</link>
    <description>&lt;P&gt;Automation in EG&amp;nbsp;&lt;STRONG&gt;is&amp;nbsp;&lt;/STRONG&gt;supported -- it's the way that users can schedule projects to run unattended. &amp;nbsp;However, most of the testing/development focuses on the use of scripting languages like VB Script or PowerShell. &amp;nbsp;These approach the automation from the COM interface. &amp;nbsp;Using .NET goes directly against the code libraries -- which should always work but is a "less travelled" path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS Viya does support APIs to access from other languages - Python, R, REST APIs and others. &amp;nbsp;However, you can also use SAS 9.4 for some of this too. &amp;nbsp;For Python, we have the SASPy package (an open source Python library). &amp;nbsp;And for .NET, you can write your own client to access SAS directly (bypassing EG). &amp;nbsp;Here are some articles to help:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2017/04/08/python-to-sas-saspy/" target="_self"&gt;Introducing SASPy: Accessing SAS from Python&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2013/06/09/sas-client-with-microsoft-dot-net/" target="_self"&gt;Build your own SAS client app with Microsoft .NET&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Fri, 04 Aug 2017 12:00:32 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2017-08-04T12:00:32Z</dc:date>
    <item>
      <title>EG7.1 .NET automation : problem when publishing the solution</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG7-1-NET-automation-problem-when-publishing-the-solution/m-p/385292#M24819</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently working on running and monitoring some EG projects through the SASEGScripting library via .NET.&lt;/P&gt;&lt;P&gt;I read the Global Forum paper by Chris Hemedinger as well as some of his contributions here(thanks a lot for these, it really helped!).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using an assembly resolver class in VB.NET (similar to the C# one shared by Chris somewhere else) that loads all the EG assemblies. Everything works fine when building and live running my program within Microsoft Visual Studio, but&amp;nbsp;when I publish the solution I get this at installation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14304iD03EDE9DD86BF34B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Am I doing something wrong?&amp;nbsp;&lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;Any help would be&amp;nbsp;very appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 13:35:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG7-1-NET-automation-problem-when-publishing-the-solution/m-p/385292#M24819</guid>
      <dc:creator>Pierre2</dc:creator>
      <dc:date>2017-08-03T13:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: EG7.1 .NET automation : problem when publishing the solution</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG7-1-NET-automation-problem-when-publishing-the-solution/m-p/385307#M24820</link>
      <description>&lt;P&gt;Are you running on a machine where EG is installed? &amp;nbsp;Of course that's going to be a prerequisite.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And when you say "publish" the solution, do you mean you are building an installer? &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 14:09:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG7-1-NET-automation-problem-when-publishing-the-solution/m-p/385307#M24820</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-08-03T14:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: EG7.1 .NET automation : problem when publishing the solution</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG7-1-NET-automation-problem-when-publishing-the-solution/m-p/385322#M24821</link>
      <description>&lt;P&gt;Yes EG is installed, and yes the problem happens when I actually run the Installer builded through the "publish" function in visual studio.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 14:27:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG7-1-NET-automation-problem-when-publishing-the-solution/m-p/385322#M24821</guid>
      <dc:creator>Pierre2</dc:creator>
      <dc:date>2017-08-03T14:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: EG7.1 .NET automation : problem when publishing the solution</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG7-1-NET-automation-problem-when-publishing-the-solution/m-p/385343#M24825</link>
      <description>&lt;P&gt;I confess that I don't have any experience with the Publish function in VS. &amp;nbsp;The "install" for your application should be simply a copy of your EXE to a machine where EG is installed. &amp;nbsp;You&amp;nbsp;&lt;STRONG&gt;do not&lt;/STRONG&gt; want to publish an app that will include/duplicate all of the DLLs that ship with SAS Enterprise Guide -- that would cause problems, and it's not something that SAS can support either. &amp;nbsp;We generally don't support the use of our "software bits" deployed outside of the confines of the apps we ship, except in a few cases with reusable libraries.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 15:03:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG7-1-NET-automation-problem-when-publishing-the-solution/m-p/385343#M24825</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-08-03T15:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: EG7.1 .NET automation : problem when publishing the solution</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG7-1-NET-automation-problem-when-publishing-the-solution/m-p/385622#M24848</link>
      <description>&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes running directly the .exe is working indeed! I used to always use "publish" to deploy apps. Publishing is nice because it allows users to have the app actually installed on their machine (with a registry key pointing at it and all...) but this will do fine as well, many thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a more general question however:&amp;nbsp;&lt;/P&gt;&lt;P&gt;My fear is that .NET automation is not really supported and maybe not very stable. In your opinion, is this reliable anyway?&lt;/P&gt;&lt;P&gt;I know that SAS Viya will feature interoperability with general purpose languages like python or lua, do you know if this will allow the same flexibility and power as the SAS EG / .NET trick?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 10:21:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG7-1-NET-automation-problem-when-publishing-the-solution/m-p/385622#M24848</guid>
      <dc:creator>Pierre2</dc:creator>
      <dc:date>2017-08-04T10:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: EG7.1 .NET automation : problem when publishing the solution</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG7-1-NET-automation-problem-when-publishing-the-solution/m-p/385629#M24849</link>
      <description>&lt;P&gt;Automation in EG&amp;nbsp;&lt;STRONG&gt;is&amp;nbsp;&lt;/STRONG&gt;supported -- it's the way that users can schedule projects to run unattended. &amp;nbsp;However, most of the testing/development focuses on the use of scripting languages like VB Script or PowerShell. &amp;nbsp;These approach the automation from the COM interface. &amp;nbsp;Using .NET goes directly against the code libraries -- which should always work but is a "less travelled" path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS Viya does support APIs to access from other languages - Python, R, REST APIs and others. &amp;nbsp;However, you can also use SAS 9.4 for some of this too. &amp;nbsp;For Python, we have the SASPy package (an open source Python library). &amp;nbsp;And for .NET, you can write your own client to access SAS directly (bypassing EG). &amp;nbsp;Here are some articles to help:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2017/04/08/python-to-sas-saspy/" target="_self"&gt;Introducing SASPy: Accessing SAS from Python&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2013/06/09/sas-client-with-microsoft-dot-net/" target="_self"&gt;Build your own SAS client app with Microsoft .NET&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 04 Aug 2017 12:00:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/EG7-1-NET-automation-problem-when-publishing-the-solution/m-p/385629#M24849</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-08-04T12:00:32Z</dc:date>
    </item>
  </channel>
</rss>

