I have a perfectly fine working solution (ASP.NET 2.0 WAP with some other projects like web services) that uses the Generator and FireMail to create .pdf documents and send emails out.
I'm able to successfully build and publish the web sites and web services using VS.NET 2005 IDE... BUT I'm now trying to automate the process using MSBuild and running into these errors:
[exec] Datasource.vb(837): error BC30002: Type 'ceTe.FireMail.Message' is not defined.
[exec] Datasource.vb(840): error BC30002: Type 'ceTe.FireMail.HtmlMessage' is not defined.
[exec] Datasource.vb(842): error BC30002: Type 'ceTe.FireMail.PlainTextMessage' is not defined.
[exec] Datasource.vb(848): error BC30002: Type 'ceTe.FireMail.Address' is not defined.
[exec] Datasource.vb(855): error BC30002: Type 'ceTe.FireMail.Attachment' is not defined.
With regards to the particular class file (Datasource.vb), here's a snippet of the code raising the errors:
Public Function SendEmail( ... ) As Boolean
Dim msg As ceTe.FireMail.Message
Try
If MailType = Mail.MailFormat.Html Then
msg = New ceTe.FireMail.HtmlMessage
Else
so you can see I'm explicitly naming the ceTe namespace for classes. I do have the two dlls (ceTe.FireMail.20.dll and ceTe.DynamicPDF.20.dll set as project references and they are copied into the \bin\ folder automatically via IDE) as well as by the msbuild process.
When I attempt to run the msbuild locally on my development workstation (where the Cete dev s/w is all installed of course), the msbuild DOES work. On a server (which is where I want to automate the build process) it raises the above errors. I do not have the Cete dev s/w installed (nor do I expect I would need to). It looks like the project reference isn't being retained?
Any ideas?
automating builds
Re: automating builds
Support · Apr 20, 2011Hello,
Given the fact that the build script is working on your development machine and not on the build server is probably because the build script is looking at a different location on your server. And you are right, you do not need to install the product MSI on the server, all you need is the dll.
Thanks,
ceTe Software Support Team.