Don't forget to add a reference to ItextSharp in your project, please also note that this PDFHelper is adapted to fit my needs and you might need to edit it to display the information you want.
This file is for nopCommerce v1.6, it has not been tested on any other version.
ok, when I follow the directions for adding [assembly: AllowPartiallyTrustedCallers()] to AssemblyInfo.cs in VS 2010, I just keep getting an error and it doesnt compile.
Also, how do I "add a reference to ItextSharp in your project", I'm a complete NOOB to this and I am trying to learn as fast as possible, but I have no idea what files to enter a reference string into when I open the NC 1.6 source code in VS.
I added the line right after: [assembly: AssemblyCulture("")] [assembly: AllowPartiallyTrustedCallers()]
Then I re-compiled. I use VS2008 so I have no idea if there is something in VS2010 that causes this, what exact error do you get?
To add a reference, right-click the Nop.BusinessLogic in Visual Studio and select Add Reference, then select the browse tab and select the ItextSharp.dll you just built in the first steps.
I have got to ask, I know Andrei is busy, but how hard would it be to re-release 1.6 with this already done for the PDF/invoice issue? The only thing keeping me from opening my two 1.6 stores is this issue and problems with Paypal Standard. I am beyond useless when it comes to building DLL's or compiling code, so having this permanently fixed for those of us on a medium trust hosting provider would be awesome. Just my two cents
I agree with MWESALES. It would be a great help to have a quick 1.6 update that would do this. I pretty much figure if I can't understand the lingo I probably can't follow the instructions.
I added the line right after: [assembly: AssemblyCulture("")] [assembly: AllowPartiallyTrustedCallers()]
Then I re-compiled. I use VS2008 so I have no idea if there is something in VS2010 that causes this, what exact error do you get?
To add a reference, right-click the Nop.BusinessLogic in Visual Studio and select Add Reference, then select the browse tab and select the ItextSharp.dll you just built in the first steps.
BR Joakim
Using VS2008, I used the following line in order to get it to compile and work, not sure why it is different than what is used by others: