Skip to main content
2 of 2
added 42 characters in body; edited tags
Bart Koopman
  • 29.6k
  • 3
  • 40
  • 90

DD4T 2.0 Templating ILMerge Issue "Unresolved assembly reference not allowed"

I want to upgrade my existing custom TBBS to use DD4T 2.0 from DD4T 1 and uploaded the following into my Nuget feed:

  1. DD4T.Core.2.1.0
  2. DD4T.Model.2.1.0
  3. DD4T.Templates.Base.2.1.2
  4. Newtonsoft.Json.6.0.8

I am referring those in my ms-build commands to merge those dlls alongwith TBBs to get a Templating.merged.dll which I want to upload to my CMS.

The issue what I am facing is as soon as I point to DD4T.Templates.Base DLL which is there in DD4T 2.0 my merged DLL shows 0 bytes.

All other DD4T 2.0 DLLs are fine with merging except DD4T.Templates.Base DLL. I checked the build window and it shows:

Unresolved assembly reference not allowed

For the DLLs like Tridion.ExternalContentLibrary V2 etc. I am adding those in the ms-build merge one by one but not sure how many I need to add. Currently I am stuck with the error Tridion.ExternalContentLibrary.DomainLibrary and I did not find this in ECL list.

Please suggest the best way to deal with this.

Shubh
  • 97
  • 4