Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4078368
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:39:56+00:00 2026-05-20T17:39:56+00:00

Prior to T4 Templates, our setup was working – CruiseControl was pulling the latest

  • 0

Prior to T4 Templates, our setup was working – CruiseControl was pulling the latest files from SourceSafe, building them, and sending out emails.

We installed Visual Studio 2010 SDK, and then the Visualization & Modeling SDK. Our Visual Studio Solution is very simple…the DataLayer project is using Entity Framework (uses the .tt files) .. the BusinessLayer project has a reference to the DataLayer .dll .. the UI project has a reference to the BL .dll. This all works fine in the clients.

On the CC server, I’ve installed the VS 2010 SDK as well, and the Visualization & Modeling SDK. The error being reported by CC is now this:

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\TextTemplating\v10.0\Microsoft.TextTemplating.targets (396,5):

error: There was a problem loading the assembly ‘C:\WINDOWS\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll’ The following Exception was thrown: System.BadImageFormatException: Could not load file or assembl …

This is a section from our ccnet.config file:

<msbuild>
              <executable>C:\WINDOWS\microsoft.net\Framework64\v4.0.30319\MSBuild.exe</executable>
              <workingDirectory>C:\Program Files (x86)\CruiseControl.NET\server\IT\WorkingDirectory\ITX\</workingDirectory>
              <projectFile>ITX.sln</projectFile>
              <buildArgs>/noconsolelogger /p:Configuration=Debug /v:diag /p:nowarn=1591 /t:Transform /p:TransformFile=ITXModel.Views.tt</buildArgs>
              <targets>ITX_BL;ITX</targets>
              <timeout>900</timeout>
              <logger>C:\Program Files (x86)\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MsBuild.dll</logger>
            </msbuild>

I thought by simply adding this /t:Transform /p:TransformFile=ITXModel.Views.tt to the buildArgs that would work .. but it had the same exact error, with or without those arguments.

I’m not very experienced with MSBuild, CruiseControl, or T4 Templates .. any suggestions, thoughts, ideas on how to resolve this problem? Thank you for your time .. 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T17:39:56+00:00Added an answer on May 20, 2026 at 5:39 pm

    It looks like text transform task relies on 32 bit System.data.dll, but was called using 64 bit tool. Try to call 32 bit MSBuild.exe from

    C:\WINDOWS\microsoft.net\Framework\v4.0.30319\MSBuild.exe

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If you were to hash a user's password prior to sending it across the
Prior Information: (In case you are wondering where I am coming from) First Question:
using the following code to prevent any version of IE prior to IE8 from
Prior to Excel 2007, we used to catch the open file event in Excel
Prior to Rails 3, creating a plugin to extend find was relatively easy: basically
I have prior experience in build a automatic build process for .NET & Delphi
In a prior post I was trying to upload a file to a server
I deleted my prior question dealing with the subject as the context has changed
I don't have any prior experience with Selenium/WebDriver tests. I know that Play supports
I'm narrowing in on an underlying problem related to two prior questions. Basically, I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.