Показать сообщение отдельно
Старый 08.05.2015, 11:35   #4  
kpoxa is offline
kpoxa
Участник
 
7 / 11 (1) +
Регистрация: 09.11.2012
Цитата:
Сообщение от axm2013 Посмотреть сообщение
А во всяких Global Assembly Cache регистрировали с помощью gacutil?
https://nasheet.wordpress.com/2012/0...use-dll-in-ax/
Пример из 12 ки но думаю идеи схожи
Эта библиотека была в GAC. Вывод сделала вот из книги:
Цитата:
Assembly exist in the Global Assembly Cache
Follow these steps to add a reference that exists in the Global Assembly Cache:
1. If the DLL has been added to the Global Assembly Cache, you can right-click on the Reference node in the AOT and select Add Reference.
//и т.д.
Assembly not in Global Assembly Cache
If the file does not exist in the Global Assembly Cache follow these steps:
1. Click on the Browse button in the Add Reference form shown above and find the DLL file.
// и т.д.
Как вы видите на первом скриншоте, библиотека была доступна на форме Add references.

Цитата:
Сообщение от Товарищ ♂uatr Посмотреть сообщение
Добрый день!
Не воспроизводится. Та ли dll?
"..\Program Files\Reference Assemblies\Microsoft\Framework\.."
Та, взята из темы palleagermark: Querying printer queues from X++

Решила проблему так.
В файле WebReferenceGenerator.config (путь \Program Files\Microsoft Dynamics AX\50\Server\AxDev\Bin) добавила

X++:
<compilation>
    <assemblies>
        <!-- These assemblies are used as references for compiling web service proxies. -->
        <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
        <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
        <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
        <add assembly="System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
        <add assembly="System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
        <add assembly="System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
        <add assembly="System.Printing, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />  <!--   -->
        <add assembly="Microsoft.Dynamics.IntegrationFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
    </assemblies>
</compilation>
За это сообщение автора поблагодарили:  (1).