<?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 Autodesk.Windows reference missing in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/7673740#M53431</link>
    <description>&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Hello all, yesterday, the below worked and has done for years, today code will not compile stating Autodesk.Windows "The type or namespace name 'Windows' does not exist in the namespace 'Autodesk' (are you missing an assembly reference?)", anyone else had this??? Using windows 10.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;foreach&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; (Autodesk.Windows.RibbonTab tab &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;in&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; Autodesk.Windows.ComponentManager.Ribbon.Tabs)&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2018 01:20:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-09T01:20:09Z</dc:date>
    <item>
      <title>Autodesk.Windows reference missing</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/7673740#M53431</link>
      <description>&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Hello all, yesterday, the below worked and has done for years, today code will not compile stating Autodesk.Windows "The type or namespace name 'Windows' does not exist in the namespace 'Autodesk' (are you missing an assembly reference?)", anyone else had this??? Using windows 10.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;foreach&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; (Autodesk.Windows.RibbonTab tab &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;in&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; Autodesk.Windows.ComponentManager.Ribbon.Tabs)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 01:20:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/7673740#M53431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-09T01:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Windows reference missing</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/7673750#M53432</link>
      <description>&lt;P&gt;Ignore, was missing the AdWindows dll from C:\Program Files\Autodesk\Revit yyyy. Somehow it was removed from my solution...&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 01:29:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/7673750#M53432</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-09T01:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Windows reference missing</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/9393623#M53433</link>
      <description>&lt;P&gt;You're my hero. I am new to .net programming, as well as programming itself, so I am not sure where and how to learn all the APIs. I was searching for what .dll to reference into my project for, what feels like, forever. I knew I needed Autodesk.Windows, but all my google searches were returning nothing useful. If you, or anyone else, know(s) a good resource for Autodesk .net programming then would you mind telling me. Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 13:19:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/9393623#M53433</guid>
      <dc:creator>John.mcquaidL8BSD</dc:creator>
      <dc:date>2020-03-23T13:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Windows reference missing</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/10017076#M53434</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I have the same problem. What was the using statement to get the references working?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 18:56:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/10017076#M53434</guid>
      <dc:creator>Jaime_Alonso</dc:creator>
      <dc:date>2021-01-20T18:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Windows reference missing</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/10955444#M53435</link>
      <description>&lt;P&gt;hi, this reply might be a little too late,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's AdWindows.dll, should be on the same file path as RevitAPI &amp;amp; RevitAPIUI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was facing the same issue today,&amp;nbsp;&lt;/P&gt;&lt;P&gt;after a few months away from my RevitAPI code,&lt;/P&gt;&lt;P&gt;I forgot how I can re-reference the missing library..&lt;/P&gt;&lt;P&gt;fortunately the file still recorded on the Recent page..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zefreestijl_0-1645060730828.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1026155i63DFA0B9F35A02B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zefreestijl_0-1645060730828.png" alt="zefreestijl_0-1645060730828.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still have no idea what caused this problem though.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 01:21:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/10955444#M53435</guid>
      <dc:creator>zefreestijl</dc:creator>
      <dc:date>2022-02-17T01:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Windows reference missing</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/10955558#M53436</link>
      <description>&lt;P&gt;You could use the package &lt;STRONG&gt;&lt;A title="Revit_All_Main_Versions_API_x64" href="https://www.nuget.org/packages/Revit_All_Main_Versions_API_x64" target="_blank" rel="noopener"&gt;Revit_All_Main_Versions_API_x64 .&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Includes these assemblies:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;RevitAPI.dll&lt;/LI&gt;&lt;LI&gt;RevitAPIUI.dll&lt;/LI&gt;&lt;LI&gt;AdWindows.dll&lt;/LI&gt;&lt;LI&gt;UIFramework.dll&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like this on the csproj for the Revit 2021.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;ItemGroup&amp;gt;
  &amp;lt;PackageReference Include="Revit_All_Main_Versions_API_x64" Version="2021.*" IncludeAssets="build; compile" PrivateAssets="All" /&amp;gt;
&amp;lt;/ItemGroup&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See yaa!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 03:20:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/10955558#M53436</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2022-02-17T03:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Windows reference missing</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/11790208#M53437</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I installed "Revit_All_Main_Versions_API_x64" with NuGet.&lt;/P&gt;&lt;P&gt;Now when I go to MyProject-&amp;gt;References-&amp;gt;"Add Reference", the newly installed package "Revit_All_Main_Versions_API_x64" or "&lt;SPAN&gt;AdWindows.dll"&amp;nbsp;&lt;/SPAN&gt;is not available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried "Browse" and searched the entire drive C: but nothing is found.&lt;/P&gt;&lt;P&gt;How can I add it to the project?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 13:14:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/11790208#M53437</guid>
      <dc:creator>fabian.geroldL3YQU</dc:creator>
      <dc:date>2023-03-01T13:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Autodesk.Windows reference missing</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/11790261#M53438</link>
      <description>&lt;P&gt;If you installed the Nuget &lt;STRONG&gt;Revit_All_Main_Versions_API_x64&lt;/STRONG&gt; correctly with your right Revit version, your project gonna use the reference inside the package that contains:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;RevitAPI.dll&lt;/LI&gt;&lt;LI&gt;RevitAPIUI.dll&lt;/LI&gt;&lt;LI&gt;AdWindows.dll&lt;/LI&gt;&lt;LI&gt;UIFramework.dll&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And you don't need to add any other reference from your installed Revit.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 13:32:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/autodesk-windows-reference-missing/m-p/11790261#M53438</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2023-03-01T13:32:16Z</dc:date>
    </item>
  </channel>
</rss>

