<?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 Problems with regression testing - missing dll in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/problems-with-regression-testing-missing-dll/m-p/1301481#M9953</link>
    <description>&lt;P&gt;I've been working on a add-in, which works ok in Pro. I'm quite new to regression testing / unit testing, but I'd like to try it on this new add-in. I've followed the steps in the ProGuide Regression Testing, but I get an error when trying to run the tests. The error says:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Class Initialization method UnitTest.LayoutTest.ClassInitialize threw exception. System.AggregateException: System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) ---&amp;gt; System.NullReferenceException: Object reference not set to an instance of an object..&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;When trying to debug the test, I see that the error originates at the startApplication-method of the class TestEnvironment. The message says:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;System.DllNotFoundException: 'Unable to load DLL 'DADFLib.dll' or one of its dependencies: The the specified module could not be found&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Does anyone know what might be wrong here?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jun 2023 13:06:09 GMT</pubDate>
    <dc:creator>TorbjørnDalløkken2</dc:creator>
    <dc:date>2023-06-21T13:06:09Z</dc:date>
    <item>
      <title>Problems with regression testing - missing dll</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/problems-with-regression-testing-missing-dll/m-p/1301481#M9953</link>
      <description>&lt;P&gt;I've been working on a add-in, which works ok in Pro. I'm quite new to regression testing / unit testing, but I'd like to try it on this new add-in. I've followed the steps in the ProGuide Regression Testing, but I get an error when trying to run the tests. The error says:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Class Initialization method UnitTest.LayoutTest.ClassInitialize threw exception. System.AggregateException: System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) ---&amp;gt; System.NullReferenceException: Object reference not set to an instance of an object..&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;When trying to debug the test, I see that the error originates at the startApplication-method of the class TestEnvironment. The message says:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;System.DllNotFoundException: 'Unable to load DLL 'DADFLib.dll' or one of its dependencies: The the specified module could not be found&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Does anyone know what might be wrong here?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 13:06:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/problems-with-regression-testing-missing-dll/m-p/1301481#M9953</guid>
      <dc:creator>TorbjørnDalløkken2</dc:creator>
      <dc:date>2023-06-21T13:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with regression testing - missing dll</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/problems-with-regression-testing-missing-dll/m-p/1301878#M9958</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you read this thread&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-sdk-questions/unit-testing-with-a-database-file-for-arcgis-pro/m-p/853088" target="_self"&gt;https://community.esri.com/t5/arcgis-pro-sdk-questions/unit-testing-with-a-database-file-for-arcgis-pro/m-p/853088&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 08:11:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/problems-with-regression-testing-missing-dll/m-p/1301878#M9958</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2023-06-22T08:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with regression testing - missing dll</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/problems-with-regression-testing-missing-dll/m-p/1301896#M9961</link>
      <description>&lt;P&gt;Yes, I've read that thread. My project compiles to x64 and since I'm using MSTest, just like the example from ESRI, there are no Host.Initialize().&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 10:10:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/problems-with-regression-testing-missing-dll/m-p/1301896#M9961</guid>
      <dc:creator>TorbjørnDalløkken2</dc:creator>
      <dc:date>2023-06-22T10:10:59Z</dc:date>
    </item>
  </channel>
</rss>

