I went through all installation steps and created my first project S#arp Architecture Application.
My next step was running scaffolding generator. And then I got the troubles.
Any time I run custom tool, I get two error messages:
Compiling transformation: Metadata file 'Inflector.Net.dll' could not be found
Compiling transformation: Metadata file 'SharpArch.Core.dll' could not be found
I checked the references - they was set correctly. I was stuck but I didn't want to surrender, and after hours of googling and voodoo I got the solution.
The problem is solved by specifying the absolute path to the referenced assembly in template file (@assembly directive)
I found two files where Inflector.Net.dll and SharpArch.Core.dll are referenced:
and replaced following rows
<#@ assembly name="SharpArch.Core.dll" #>
with
<#@ assembly name="
and
<#@ assembly name="Inflector.Net.dll" #>
with
<#@ assembly name="
No error anymore!
I reported the issue:
ReplyDeletehttp://github.com/codai/Sharp-Architecture/issues#issue/39
Fixed it and pushed out the new release. Thanks Igor.
ReplyDelete