<?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 Visual Studio QMSAPI Build Error - Already Contains Definition in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/Visual-Studio-QMSAPI-Build-Error-Already-Contains-Definition/m-p/2463614#M4172</link>
    <description>&lt;P&gt;I am creating a new C# application in Visual Studio using the QMSAPI interface.&amp;nbsp; When I build the solution I get a bunch of the following errors (and some other errors caused by these).&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;1&amp;gt;C:\Source\VSProjects\QVTesting\QVTesting\Connected Services\QMSAPI\Reference.cs(32947,17,32947,29): error CS0101: The namespace 'QVTesting.QMSAPI' already contains a definition for 'DocumentType'&lt;BR /&gt;1&amp;gt;C:\Source\VSProjects\QVTesting\QVTesting\Connected Services\QMSAPI\Reference.cs(49724,17,49724,38): error CS0101: The namespace 'QVTesting.QMSAPI' already contains a definition for 'DocumentMetaDataScope'&lt;BR /&gt;1&amp;gt;C:\Source\VSProjects\QVTesting\QVTesting\Connected Services\QMSAPI\Reference.cs(50087,17,50087,40): error CS0101: The namespace 'QVTesting.QMSAPI' already contains a definition for 'DocumentAccessEntryMode'&lt;BR /&gt;1&amp;gt;C:\Source\VSProjects\QVTesting\QVTesting\Connected Services\QMSAPI\Reference.cs(35475,17,35475,50): error CS0101: The namespace 'QVTesting.QMSAPI' already contains a definition for 'DocumentCollaborationCreationMode'&lt;BR /&gt;1&amp;gt;C:\Source\VSProjects\QVTesting\QVTesting\Connected Services\QMSAPI\Reference.cs(35675,17,35675,39): error CS0101: The namespace 'QVTesting.QMSAPI' already contains a definition for 'ServerDocumentLoadMode'&lt;BR /&gt;1&amp;gt;C:\Source\VSProjects\QVTesting\QVTesting\Connected Services\QMSAPI\Reference.cs(35372,17,35372,39): error CS0101: The namespace 'QVTesting.QMSAPI' already contains a definition for 'DocumentDownloadAccess'&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I've tried different versions of .Net and still get the errors.&amp;nbsp; Adding the QMSAPI service reference has worked fine every time and I have another existing solution that already uses the API.&lt;/P&gt;
&lt;P&gt;Followed the following article to add service:&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/QlikView-Connect-to-QMS-API-with-Visual-Studio/ta-p/1716717" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/QlikView-Connect-to-QMS-API-with-Visual-Studio/ta-p/1716717&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;QlikView Server: May 2023 SR1&lt;BR /&gt;&lt;SPAN&gt;Visual Studio: 2019&lt;BR /&gt;&lt;/SPAN&gt;.Net: 4.5.2 and 4.8 (tried both)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do I need to do to resolve these errors?&lt;/P&gt;
&lt;P&gt;Louis&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2024 21:31:57 GMT</pubDate>
    <dc:creator>louiswinter</dc:creator>
    <dc:date>2024-06-18T21:31:57Z</dc:date>
    <item>
      <title>Visual Studio QMSAPI Build Error - Already Contains Definition</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Visual-Studio-QMSAPI-Build-Error-Already-Contains-Definition/m-p/2463614#M4172</link>
      <description>&lt;P&gt;I am creating a new C# application in Visual Studio using the QMSAPI interface.&amp;nbsp; When I build the solution I get a bunch of the following errors (and some other errors caused by these).&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;1&amp;gt;C:\Source\VSProjects\QVTesting\QVTesting\Connected Services\QMSAPI\Reference.cs(32947,17,32947,29): error CS0101: The namespace 'QVTesting.QMSAPI' already contains a definition for 'DocumentType'&lt;BR /&gt;1&amp;gt;C:\Source\VSProjects\QVTesting\QVTesting\Connected Services\QMSAPI\Reference.cs(49724,17,49724,38): error CS0101: The namespace 'QVTesting.QMSAPI' already contains a definition for 'DocumentMetaDataScope'&lt;BR /&gt;1&amp;gt;C:\Source\VSProjects\QVTesting\QVTesting\Connected Services\QMSAPI\Reference.cs(50087,17,50087,40): error CS0101: The namespace 'QVTesting.QMSAPI' already contains a definition for 'DocumentAccessEntryMode'&lt;BR /&gt;1&amp;gt;C:\Source\VSProjects\QVTesting\QVTesting\Connected Services\QMSAPI\Reference.cs(35475,17,35475,50): error CS0101: The namespace 'QVTesting.QMSAPI' already contains a definition for 'DocumentCollaborationCreationMode'&lt;BR /&gt;1&amp;gt;C:\Source\VSProjects\QVTesting\QVTesting\Connected Services\QMSAPI\Reference.cs(35675,17,35675,39): error CS0101: The namespace 'QVTesting.QMSAPI' already contains a definition for 'ServerDocumentLoadMode'&lt;BR /&gt;1&amp;gt;C:\Source\VSProjects\QVTesting\QVTesting\Connected Services\QMSAPI\Reference.cs(35372,17,35372,39): error CS0101: The namespace 'QVTesting.QMSAPI' already contains a definition for 'DocumentDownloadAccess'&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I've tried different versions of .Net and still get the errors.&amp;nbsp; Adding the QMSAPI service reference has worked fine every time and I have another existing solution that already uses the API.&lt;/P&gt;
&lt;P&gt;Followed the following article to add service:&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/QlikView-Connect-to-QMS-API-with-Visual-Studio/ta-p/1716717" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/QlikView-Connect-to-QMS-API-with-Visual-Studio/ta-p/1716717&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;QlikView Server: May 2023 SR1&lt;BR /&gt;&lt;SPAN&gt;Visual Studio: 2019&lt;BR /&gt;&lt;/SPAN&gt;.Net: 4.5.2 and 4.8 (tried both)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do I need to do to resolve these errors?&lt;/P&gt;
&lt;P&gt;Louis&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 21:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Visual-Studio-QMSAPI-Build-Error-Already-Contains-Definition/m-p/2463614#M4172</guid>
      <dc:creator>louiswinter</dc:creator>
      <dc:date>2024-06-18T21:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio QMSAPI Build Error - Already Contains Definition</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Visual-Studio-QMSAPI-Build-Error-Already-Contains-Definition/m-p/2463625#M4173</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46919"&gt;@louiswinter&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I think you are having a problem with Namespaces or file names in your Solution.&lt;BR /&gt;Please check the links below for more details:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/dotnet/csharp/misc/cs0101" target="_blank"&gt;Compiler Error CS0101 - C# | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/63492526/c-sharp-unity-the-namespace-global-namespace-already-contains-a-definition-f" target="_blank"&gt;C# Unity the namespace '&amp;lt;global namespace&amp;gt;' already contains a definition for - Stack Overflow&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 00:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Visual-Studio-QMSAPI-Build-Error-Already-Contains-Definition/m-p/2463625#M4173</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-06-19T00:35:12Z</dc:date>
    </item>
  </channel>
</rss>

