Mam DLL w folderze BIN, i muszę go znaleźć się w pliku web.config, albo że mam przykry błąd:Jak odwołać się do DLL w web.config?
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0234: The type or namespace name 'ServiceModel' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
Ten DLL nie jest w GAC, a do tego nie można używać
<assemblies><add ...
Więc domyślam się, że muszę użyć configSections jak
<configSections>
<section name="Microsoft.System.Web"
type="Microsoft.System.Web,
Version=3.0.0.0, Culture=neutral,
PublicKeyToken=10633fbfa3fade6e "/>
</configSections>
Jaki powinien być poprawny kod?
Nazwa dll jest w pytaniu: Microsoft.System.Web, i widząc znaczniki, które otrzymujesz, jest to część WCF REST – balexandre