MSBuild tells me that it cannot locate the reference included in the following task (this is an inline task):
<Task>
<Reference Include="WindowsBase" />
<Reference Include="$(SolutionDir)ImageTextWriter\bin\$(Configuration)\ImageTextWriter.dll" />
...
</Task>
I have confirmed that this file actually exists at the specified path. Yet MSBuild returns
System.IO.FileNotFoundException: Could not load file or assembly 'ImageTextWriter, Version=...
Am I doing something wrong?
Note: I'm not an MSBuild pro, but this post tells me that hard-coded paths should work.