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

  • Home
  • SEARCH
  • 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 970897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:52:30+00:00 2026-05-16T02:52:30+00:00

I am trying to write T4 template to create wrapper classes for classes created

  • 0

I am trying to write T4 template to create wrapper classes for classes created by SubSonic 3 (implementing IActiveRecord). But when I compile my template I get following error:

Compiling transformation: Metadata file 'SubSonic.Core' could not be found

I’m including SubSonic.Core in my settings file. <#@ assembly name="SubSonic.Core" #> and then importing the namespaces like <#@ import namespace="SubSonic.Schema"#> and <#@ import namespace="SubSonic"#>

What I’m doing wrong? Do I need to put SubSonic.Core.dll into GAC?

  • 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-16T02:52:31+00:00Added an answer on May 16, 2026 at 2:52 am

    Have you tried putting .dll at the end of the assembly name?

    <#@ assembly name="SubSonic.Core.dll" #>
    

    (Make sure that SubSonic.Core.dll is in the same directory).

    There is an article on the T4 Assembly directive that may help you:

    http://www.olegsych.com/2008/02/t4-assembly-directive/
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write an Eclipse template which will create getters and setters when
I am trying to write a template class in C++ and getting this strange
I'm trying to write a custom rendering template for use in the DisplayForm of
I am trying to write bool-conversion operator for std::bitset I tried: template<size_t size> operator
noob here still experimenting with templates. Trying to write a message processing class template
I'm trying (and failing) to write a simple template file: <#@ template language=C# hostspecific=True
I am trying write a function that generates simulated data but if the simulated
I'm trying to write an auto-scaffolder template for Index views. I'd like to be
I am trying to set up a package template in SSIS, following the Wrox
I'm trying to write a new emacs mode for a new template c-like language,

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.