<?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: write macros when building solution in PowerShape and PowerMill API Forum</title>
    <link>https://forums.autodesk.com/t5/powershape-and-powermill-api/write-macros-when-building-solution/m-p/7982059#M1025</link>
    <description>&lt;P&gt;Thanks again Luke!&lt;/P&gt;</description>
    <pubDate>Sat, 05 May 2018 10:56:18 GMT</pubDate>
    <dc:creator>TK.421</dc:creator>
    <dc:date>2018-05-05T10:56:18Z</dc:date>
    <item>
      <title>write macros when building solution</title>
      <link>https://forums.autodesk.com/t5/powershape-and-powermill-api/write-macros-when-building-solution/m-p/7964826#M1022</link>
      <description>&lt;P&gt;I have an app that references a number of macros in my c:/dcam folder. That's fine when I run it on my computer, but if I want to give this app to my office mate, he will also need a copy of all the macros in the same directory on his computer, which is fine as well, if there isn't a better way. Is there a way I can have the macro written into the wpf app and have that all inside the solution when I build it so it references nothing externally? That would be better than having to copy more stuff over to my neighbor when I make changes to this app.&amp;nbsp; What is considered 'best practice' for something like this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Fri, 27 Apr 2018 11:17:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-and-powermill-api/write-macros-when-building-solution/m-p/7964826#M1022</guid>
      <dc:creator>TK.421</dc:creator>
      <dc:date>2018-04-27T11:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: write macros when building solution</title>
      <link>https://forums.autodesk.com/t5/powershape-and-powermill-api/write-macros-when-building-solution/m-p/7969008#M1023</link>
      <description>&lt;P&gt;I think the best way would be to distribute your app and files in an installer.&lt;/P&gt;
&lt;P&gt;If you don't already then you can create an installer in Visual Studio 2017 with this &lt;A href="https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.MicrosoftVisualStudio2017InstallerProjects" target="_blank"&gt;plugin&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Follow these steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Include the macro files in your project in Visual Studio.&lt;/LI&gt;
&lt;LI&gt;Mark them as "Content" in the properties window of each file.&lt;/LI&gt;
&lt;LI&gt;In the&amp;nbsp;folder&amp;nbsp;structure page of the installer properties, add a folder at c:\dcam and choose to include the Content Files in that folder.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Now when you build and run the installer it should put the files into that folder.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 08:47:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-and-powermill-api/write-macros-when-building-solution/m-p/7969008#M1023</guid>
      <dc:creator>luke.edwards.autodesk</dc:creator>
      <dc:date>2018-04-30T08:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: write macros when building solution</title>
      <link>https://forums.autodesk.com/t5/powershape-and-powermill-api/write-macros-when-building-solution/m-p/7971825#M1024</link>
      <description>&lt;P&gt;thanks Luke! I will try this and let you know. Sounds like it should work if I don't foul it up!&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2018 13:39:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-and-powermill-api/write-macros-when-building-solution/m-p/7971825#M1024</guid>
      <dc:creator>TK.421</dc:creator>
      <dc:date>2018-05-01T13:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: write macros when building solution</title>
      <link>https://forums.autodesk.com/t5/powershape-and-powermill-api/write-macros-when-building-solution/m-p/7982059#M1025</link>
      <description>&lt;P&gt;Thanks again Luke!&lt;/P&gt;</description>
      <pubDate>Sat, 05 May 2018 10:56:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/powershape-and-powermill-api/write-macros-when-building-solution/m-p/7982059#M1025</guid>
      <dc:creator>TK.421</dc:creator>
      <dc:date>2018-05-05T10:56:18Z</dc:date>
    </item>
  </channel>
</rss>

