<?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 No Constructors Defined??? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-constructors-defined/m-p/571750#M15411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had written a rather long C# standalone console app that worked fine on a Windows XP machine running ArcGIS 9.3.1.&amp;nbsp; I copied this over to a Windows 2008 Server that is running ArcGIS 10 (along with Visual Studio 2010) and every single place I have the &lt;/SPAN&gt;&lt;STRONG&gt;"new"&lt;/STRONG&gt;&lt;SPAN&gt; keyword I'm getting a "Has No constructors defined error.."&amp;nbsp; See example below.&amp;nbsp; What can I do to fix this??&amp;nbsp; many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; ESRI.ArcGIS.esriSystem.IPropertySet pInPropSet;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pInPropSet = new PropertySetClass();&amp;nbsp; //The error is highlighting new PropertySetClass()&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jan 2011 17:09:08 GMT</pubDate>
    <dc:creator>JoshV</dc:creator>
    <dc:date>2011-01-12T17:09:08Z</dc:date>
    <item>
      <title>No Constructors Defined???</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-constructors-defined/m-p/571750#M15411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had written a rather long C# standalone console app that worked fine on a Windows XP machine running ArcGIS 9.3.1.&amp;nbsp; I copied this over to a Windows 2008 Server that is running ArcGIS 10 (along with Visual Studio 2010) and every single place I have the &lt;/SPAN&gt;&lt;STRONG&gt;"new"&lt;/STRONG&gt;&lt;SPAN&gt; keyword I'm getting a "Has No constructors defined error.."&amp;nbsp; See example below.&amp;nbsp; What can I do to fix this??&amp;nbsp; many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; ESRI.ArcGIS.esriSystem.IPropertySet pInPropSet;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pInPropSet = new PropertySetClass();&amp;nbsp; //The error is highlighting new PropertySetClass()&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 17:09:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-constructors-defined/m-p/571750#M15411</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2011-01-12T17:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: No Constructors Defined???</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-constructors-defined/m-p/571751#M15412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you updated all the project references to be version independent and to replace some of the changed ones to the ArcGIS 10 references?&amp;nbsp; I notice you use the full namespace reference to the library in interface name for the declaration but not for the class name in the constructor, did you declare using on the namespace for the class, are there warnings on these using statements?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 17:32:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-constructors-defined/m-p/571751#M15412</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2011-01-12T17:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: No Constructors Defined???</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-constructors-defined/m-p/571752#M15413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Have you updated all the project references to be version independent and to replace some of the changed ones to the ArcGIS 10 references?&amp;nbsp; I notice you use the full namespace reference to the library in interface name for the declaration but not for the class name in the constructor, did you declare using on the namespace for the class, are there warnings on these using statements?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Alexander-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All I have really done once I copied over the C# project was to remove all references and then re added them back thinking that would fix the problem.&amp;nbsp; I also added a reference to ESRI.ArcGIS.Version.&amp;nbsp; So can you explain a few steps about what you mean?&amp;nbsp; Many thanks Alexander..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 17:50:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-constructors-defined/m-p/571752#M15413</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2011-01-12T17:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: No Constructors Defined???</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-constructors-defined/m-p/571753#M15414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think what Alexander is driving at is you either need to add a using statement, or fully qualify your constructor:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
// either:
using ESRI.ArcGIS.esriSystem;

IPropertySet pInPropSet;
pInPropSet = new PropertySetClass();

// or:
ESRI.ArcGIS.esriSystem.IPropertySet pInPropSet;
pInPropSet = new ESRI.ArcGIS.esriSystem.PropertySetClass();
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:36:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-constructors-defined/m-p/571753#M15414</guid>
      <dc:creator>JeffreyHamblin</dc:creator>
      <dc:date>2021-12-12T00:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: No Constructors Defined???</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/no-constructors-defined/m-p/571754#M15415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you both Alexander and Jeff.&amp;nbsp; I think you got me going on the right track.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 20:19:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/no-constructors-defined/m-p/571754#M15415</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2011-01-12T20:19:47Z</dc:date>
    </item>
  </channel>
</rss>

