<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xml:base="http://www.red-gate.com/MessageBoard/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Red Gate forums: SmartAssembly 6</title>
 <link>http://www.red-gate.com/MessageBoard/</link>
 <description>Product Support and Discussion</description>
 <language>en</language>
 <copyright>Copyright Red Gate Software Ltd</copyright>
 <managingEditor>internalsupport@red-gate.com</managingEditor>
 <webMaster>internalsupport@red-gate.com</webMaster>
 <docs>http://blogs.law.harvard.edu/tech/rss</docs>
 <ttl>60</ttl>
 <lastBuildDate>Wed, 19 Jun 2013 12:54:54 GMT</lastBuildDate>
 <pubDate>Wed, 19 Jun 2013 12:54:54 GMT</pubDate>
 <image>
  <url>http://www.red-gate.com/messageboard/templates/subRed/images/logo_phpBB.gif</url>
  <title>Red Gate forums: SmartAssembly 6</title>
  <link>http://www.red-gate.com/MessageBoard/</link>
 </image>
 <item>
  <title>RE: Unable to change Maps location in SA program</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62637#62637</link>
  <description>Noted. Thanks for the feedback.</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17487</comments>
  <dc:creator>Chris.Allen</dc:creator>
  <pubDate>Wed, 19 Jun 2013 11:52:25 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62637#62637</guid>
 </item>
 <item>
  <title>RE: Confusion about UsageCounter vs UsageReporter</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62622#62622</link>
  <description>Sorry for the lack of documentation.
&lt;br /&gt;

&lt;br /&gt;
Use:
&lt;br /&gt;

&lt;br /&gt;
UsageCounter.ReportUsage
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
The other one is deprecated.</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17475</comments>
  <dc:creator>Chris.Allen</dc:creator>
  <pubDate>Tue, 18 Jun 2013 14:05:48 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62622#62622</guid>
 </item>
 <item>
  <title>RE: Control when feature usage data is sent</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62621#62621</link>
  <description>Truly sorry but no- this is not part of the architecture.</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17474</comments>
  <dc:creator>Chris.Allen</dc:creator>
  <pubDate>Tue, 18 Jun 2013 14:03:15 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62621#62621</guid>
 </item>
 <item>
  <title>RE: Feature usage reporting with multiple assemblies</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62619#62619</link>
  <description>&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;williamw wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;In your SmartAssembly projects I assume you only turned on usage reporting for that one assembly, and not for the ones that are calling it to do reporting?&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Exactly. I have two different SA project files. One has usage and crash reporting on (which I use for only that &amp;quot;core&amp;quot; assembly) and the other one has only crash reporting on (which I use for everything else).</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17449</comments>
  <dc:creator>DanielRose</dc:creator>
  <pubDate>Tue, 18 Jun 2013 12:19:40 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62619#62619</guid>
 </item>
 <item>
  <title>RE: Can't reference both SmartUsageCore and SmartExceptionCore</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62617#62617</link>
  <description>I worked around this by creating separate assemblies for each of the two templates.</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17476</comments>
  <dc:creator>williamw</dc:creator>
  <pubDate>Tue, 18 Jun 2013 11:24:05 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62617#62617</guid>
 </item>
 <item>
  <title>RE: Feature usage reporting with multiple assemblies</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62615#62615</link>
  <description>Chris: The other assemblies are being run through SmartAssembly. Do they also have to have the usage reporting option configured in SmartAssembly? What do you mean by &amp;quot;direct dependency&amp;quot;? They are directly referenced by the main executable assembly.
&lt;br /&gt;

&lt;br /&gt;
Daniel: Thanks for the information. That sounds like the way to go. In your SmartAssembly projects I assume you only turned on usage reporting for that one assembly, and not for the ones that are calling it to do reporting?</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17449</comments>
  <dc:creator>williamw</dc:creator>
  <pubDate>Tue, 18 Jun 2013 11:07:36 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62615#62615</guid>
 </item>
 <item>
  <title>Unable to change Maps location in SA program</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62614#62614</link>
  <description>Last Friday the hard discs on one of our main file servers crashed hard. It is currently in repair. That server also contained the SA map files. The data was restored from backups to a different server.
&lt;br /&gt;

&lt;br /&gt;
When trying to change the location of the map files in the SA program, I ran into the following bug: It shows the location (in the options) only as a link. When clicking that link, it tries to connect to the old location (on the old server). However, that server is currently not there, so the connection fails =&amp;gt; I am unable to change the location!
&lt;br /&gt;

&lt;br /&gt;
I finally managed to change it by updating the value in the database directly.
&lt;br /&gt;

&lt;br /&gt;
My suggestion would be to either handle this case in the SA program, or (better) change the program so I have a text box where I can type in the location directly, and a button to open a directory selection box.</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17487</comments>
  <dc:creator>DanielRose</dc:creator>
  <pubDate>Tue, 18 Jun 2013 10:51:41 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62614#62614</guid>
 </item>
 <item>
  <title>RE: Feature usage reporting with multiple assemblies</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62613#62613</link>
  <description>I have the same issue in my application.
&lt;br /&gt;

&lt;br /&gt;
When applying feature usage reporting to the different assemblies, this results in each assembly being considered a different &amp;quot;version&amp;quot;, even if the have the same application name. So even if they belong to the same application, you will see the feature reports being split up. Depending on how you handle asking the user for consent, this can also result in a prompt for each assembly.
&lt;br /&gt;

&lt;br /&gt;
The way I solved it was by having a method to report usage in an assembly known by all assemblies, which is wrapper over the actual call to usage reporting. That way, there is only one assembly which gets feature reporting compiled into it, and thus all feature reports for the application appear together.</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17449</comments>
  <dc:creator>DanielRose</dc:creator>
  <pubDate>Tue, 18 Jun 2013 09:01:55 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62613#62613</guid>
 </item>
 <item>
  <title>RE: Feature usage reporting with multiple assemblies</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62591#62591</link>
  <description>You'll need to apply smartassembly to each assembly that you want this to work on. So that's one extra smartassembly project for each assembly that is not a direct dependency in the 'main' project</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17449</comments>
  <dc:creator>Chris.Allen</dc:creator>
  <pubDate>Mon, 17 Jun 2013 13:42:33 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62591#62591</guid>
 </item>
 <item>
  <title>Can't reference both SmartUsageCore and SmartExceptionCore</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62590#62590</link>
  <description>The SmartUsageCore assembly includes the SmartExceptionCore namespace so if I reference both I get several errors due to ambiguous names. Is it impossible to have a usage reporting template and an exception reporting template in the same assembly?</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17476</comments>
  <dc:creator>williamw</dc:creator>
  <pubDate>Mon, 17 Jun 2013 13:41:39 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62590#62590</guid>
 </item>
 <item>
  <title>Confusion about UsageCounter vs UsageReporter</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62589#62589</link>
  <description>The documentation examples for feature usage reporting use &amp;quot;UsageCounter.ReportUsage&amp;quot; to report feature usage.
&lt;br /&gt;

&lt;br /&gt;
The SDK templates define a class that inherits from UsageReporter and define static methods FeatureUsed and DynamicFeatureUsed. There is no documentation on the purpose of these methods, or on the UsageReporter.RecordFeatureUsed methods that they call.
&lt;br /&gt;

&lt;br /&gt;
If I am using a custom template, what should my code be calling to report feature usage? UsageCounter.ReportUsage or UsageReporterWithUI.DynamicFeatureUsed?</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17475</comments>
  <dc:creator>williamw</dc:creator>
  <pubDate>Mon, 17 Jun 2013 12:38:13 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62589#62589</guid>
 </item>
 <item>
  <title>Control when feature usage data is sent</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62588#62588</link>
  <description>It appears that feature usage data for an application is transmitted when the program terminates. I'm looking at using reporting from a service application that may run for months, and I'd like to get data coming back more frequently than that. Is there any way to change this behavior to report data at intervals while the application is still running?</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17474</comments>
  <dc:creator>williamw</dc:creator>
  <pubDate>Mon, 17 Jun 2013 12:19:22 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62588#62588</guid>
 </item>
 <item>
  <title>Feature usage reporting with multiple assemblies</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62550#62550</link>
  <description>I have an application that is built using several assemblies. Both the main executable and the assemblies contain features that I want to do usage reporting on. The assemblies are not being merged into the application but they are getting run through SmartAssembly for protection.
&lt;br /&gt;

&lt;br /&gt;
What do I need to do to get feature reporting for all the assemblies? Do I have to turn on the option in SmartAssembly for each assembly? Or is turning it on in the main (executable) assembly enough if I have put the attributes in the other assemblies?
&lt;br /&gt;

&lt;br /&gt;
If I need to configure it separately for each assembly, does the user get prompted separately when each assembly tries to report usage? If I use the same application name for all of them will that be enough?</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17449</comments>
  <dc:creator>williamw</dc:creator>
  <pubDate>Fri, 14 Jun 2013 15:35:26 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62550#62550</guid>
 </item>
 <item>
  <title>RE: Error Reporter localization</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62520#62520</link>
  <description>It looks like it's working after all.  We had changed out solution so that all projects output to the same folder, and had forgotten to updated our SmartAssembly post-build event to get the custom error handler from its new location.  Since we hadn't deleted the old builds, it was using a build that wasn't localized.</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17409</comments>
  <dc:creator>dybalabj</dc:creator>
  <pubDate>Thu, 13 Jun 2013 15:11:20 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62520#62520</guid>
 </item>
 <item>
  <title>RE: Licensing model for Team Foundation Service</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62518#62518</link>
  <description>SmartAssembly needs to be installed and a license check is performed whether the license is not activated on another machine. 
&lt;br /&gt;

&lt;br /&gt;
There are N build machines in the TFS cloud and installing software is not allowed. The current license check simply won't work with TFS service. Is this something you are willing to look into?</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17328</comments>
  <dc:creator>kozw</dc:creator>
  <pubDate>Thu, 13 Jun 2013 14:36:31 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62518#62518</guid>
 </item>
</channel>
</rss>
