Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type 'Win32EmbeddedDeployment' is not defined #177

Open
joshie23 opened this issue Apr 17, 2019 · 2 comments
Open

Type 'Win32EmbeddedDeployment' is not defined #177

joshie23 opened this issue Apr 17, 2019 · 2 comments

Comments

@joshie23
Copy link

We currently have an asmx web service that we use to make calls to our data server. I can get our development server to produce a pdf from html. However, I receive the titled error when calling the following line on our production server:

New RemotingToolset(Of PdfToolset)(New Win32EmbeddedDeployment(New TempFolderDeployment()))

On the development server, I do not compile the web service. I copied the whole solution over to the production server and can see the TuesPechkin dlls there. There is not Visual Studio on the production server. Do I need to compile the web service to be able to use the dlls or is there something else going on?

@andabil
Copy link

andabil commented Apr 17, 2019

Try Win64EmbeddedDeployment or use AnyCPU with have both the Win32 and Win64 dlls.

@UmangAccolite
Copy link

With TuesPechkin.Wkhtmltox.AnyCPU Nuget package, I am getting an error at line Win32EmbeddedDeployment that is is not defined.
private static IConverter converter =
new ThreadSafeConverter(
new RemotingToolset(
new Win32EmbeddedDeployment(
new TempFolderDeployment())));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants