Are any/all dependencies included in a BizTalk exported application MSI?
Specifically any referenced assemblies in the GAC?
They can be if you add them to the Application in BizTalk Administrator before exporting the .msi.
When you do, be sure to check one of the "Add to the global assembly cache on MSI file import/install" options.
Related
Is there a way to deploy asp net application with dexexpress components other than using virtual machine with installed libs on it?
I want to deploy it to azure websites but get an error that .dll are missing (dont get that error during debugging on localhost where devexpress installed).
Be sure, that you marked the referenced assemblies that you want to publish on the vm as "copy local = true". You can find that option in the properties of a reference.
The output folder of your web app will be automatically copied over to azure websites. For more information how web pages are packaged have a look How to: Create a Web Deployment Package in Visual Studio
You can try one of these options:
Find a NuGet package which includes the dll's you need. I don't know which components you use but NuGet contains a lot of packages -> https://www.nuget.org/packages?q=devexpress
Include the dll's you need in a 3thPartyLib in your project and then reference these assemblies (with copy local = true) from your project.
Be sure to include the license file in your deployment.
I have created a .Net library to be used for SSIS Projects. We have created number of SSIS templates all using same dotnet library.
Can someone share - how can we ensure that if we make changes to our DLL and then it reflects to all SSIS templates which we have created.
Means storing DLL centrally which everyone can refer to.
Ensure you strongly sign the DLL and deploy it to GAC. Then reference it in your SSIS templates.
My biztalk production server does not have Visual stodio installed on the server.
Now i have to create one application in the production server which will use schema from another application which is already deployed in the production server .
I have to reference the schema from the existing application in the new application
is it necessary to have visual studio installed on the production server or there is any other option.
No, it isn't necessary (or desirable IMO) to install VS on BizTalk Production Servers.
What you need to do is to copy the common schema assembly to your development BizTalk environment, and then reference the assembly from your new Project.
If you don't have the source to the referenced schemas, then you can get the schema assembly from the installation directory (usually %PROGRAMFILES%\Generated By BizTalk if you deploy with the basic MSI export, but may differ if it was installed with the deployment framework etc). Alternatively, the assembly will also be available in the GAC (command line C:\Windows\Assembly\GAC_MSIL\{AssemblyName}\{Version}__{GUID}\Assembly.DLL)
You can then use the referenced schemas in your new project.
Do not add the referenced schema assembly as a resource to your new project as this is already deployed (and an assembly can only 'belong' to one application).
You can also get the schema definition from the BizTalk Admin Console.
Locate the required schema under Schemas, right-click and select Properties, then Schema View.
Install visual studio on a development machine, do the development work there and then deploy it to the production server.
I have to call functions from a custom dll from BizTalk orchestrations (similar to this solution Call a custom .NET component from BizTalk 2006). The dll calls functions of a third party dll, which uses some other third party dlls (we are using to communicate with a legacy system).
The article Global Assembly Cache Tool (Gacutil.exe) says that my best bet would be to "include" the referenced dll into the dll I put into the GAC, but I don't know how to do this from Visual Studio (2010).
Any ideas to get this work ?
It looks like putting them into the system PATH solved this problem.
Is there a way to use BTSTask to add a non dll assembly to a BizTalk application? If I use the "AddReference" command it seems like it only allows you to add BizTalk assemblies?
Yes you can add any .NET assembly as resource and package it in the MSI. See this topic http://msdn.microsoft.com/en-us/library/aa561819(BTS.70).aspx