Installing the iTextSharp extension from within WebMatrix didn't add expected DLL to bin folder
It just seems like a bug, but maybe I am misunderstanding how it is supposed to work.
I think I used the Extensions Gallery (Down Arrow Icon) instead of the NuGet (Dice Icon) when I had tried installing iTextSharp where it said successful but never actually added the expected .dll file to the bin directory.
As an alternative, I ended up using ASP.NET Web Pages Administration web-portal to install iTextSharp which did it correctly.
To test your suggestion, I opened up a different older Site which I used just for testing something. It doesn't show the NuGet icon like my main web-application where I added iTextSharp via Web Pages Administration. That's probably unrelated issue...
Anyway, I used the Extensions icon to find iTextSharp and install. It gave success message, and again the expected .dll file hasn't actually been put in the bin folder.
So now I am going to try a new Site for the sake of testing this. I used the Starter Site template to create a new one. This one has both the Extensions and NuGet icons.
I tried the Extensions first, which did the same as other times. Said it installed successfully but never added the expected .dll file to bin folder.
I next tried NuGet icon. It installed it successfully and correctly with the itextsharp.dll file ending up in the bin folder.
So it looks like the bug is with the Extensions Icon which doesn't actually install the iTextSharp library. Maybe the bug is that iTextSharp shouldn't be showing up when searching under Extensions.
Dan Liu commented
I was the "Anonymous". :)
I tried on released version of WM2 and can see the itextsharp.dll got installed to the bin folder of the site.
The extension that I used is the NuGet extension (with a dice icon).
The package that I installed was "iTextSharp".
Were you doing the same? And can you check the bin folder?
@Ye Yu, I believe I used the Extensions gallery within WebMatrix when it did not work.
@Anonymous, the following is what I get from About. Not sure what you mean by site... it is a custom web application I have been building on WebMatrix since first beta release.
IIS Express: 7.1.1307.1
.NET Framework: 4.0.30319.296 (RTMGDR.030319-2900)
Web Deploy: 7.1.1631.0
SQL Server Compact: 4.0.8854.1
Web Platform Installer: 7.1.1863.0
ASP.NET Web Pages: 2.0.20715.0
ASP.NET Web Pages: 1.0.20105.407
Dan Liu commented
Which build of WebMatrix and which type of site did you use?
I used a starter site and could not repro the issue. After installing the ITextSharp package, I saw itextsharp.dll added to bin folder successfully.
Ye Yu commented
are you installing from nuget gallery or extension gallery?
When I used the /_Admin/Login.cshtml to add the iTextSharp extension, it added correctly. When using the WebMatrix built-in Extension install interface, it does not add correctly (just registers as installing without actually doing anything).
I seem to remember having had this problem with a past extension as well as the work around before being the same (use the Web Pages Administration Portal instead of WebMatrix UI).