'Metadata file could not be found' error when referencing assembly in T4

Viewed 1784

I have class library A and library B with T4 template.
B references A, and assembly directive exist inside template:

<#@ assembly name="$(ProjectDir)$(OutDir)A.dll" #>

When I run template transformation error is shown:

Compiling transformations: Metadatafile: 'path\A.dll' could not be found.

But this file is there!

I get this error in VS 2012.

Have no idea what causes this error.

Update

Well, I found a mistake in assembly directive, just mistyped.

0 Answers
Related