visual studio 2015 - t4 Debuging: ReflectionTypeLoadException "Unable to load one or more of the requested types" -
i have custom t4 template. when right-click , select "run custom tool" run without error. if right-click , select "debug t4 template" error above addition of
=== pre-bind state information === log: displayname = my.interfaces, version=1.0.5708.24057, culture=neutral, publickeytoken=null (fully-specified) log: appbase = file:///c:/program files (x86)/microsoft visual studio 14.0/common7/ide/ log: initial privatepath = null calling assembly : (unknown). === log: bind starts in default load context. log: no application configuration file found. log: using host configuration file: log: using machine configuration file c:\windows\microsoft.net\framework\v4.0.30319\config\machine.config. log: policy not being applied reference @ time (private, custom, partial, or location-based assembly bind). log: attempting download of new url file:///c:/program files (x86)/microsoft visual studio 14.0/common7/ide/my.interfaces.dll. log: attempting download of new url file:///c:/program files (x86)/microsoft visual studio 14.0/common7/ide/my.interfaces/my.interfaces.dll. log: attempting download of new url file:///c:/program files (x86)/microsoft visual studio 14.0/common7/ide/my.interfaces.exe. log: attempting download of new url file:///c:/program files (x86)/microsoft visual studio 14.0/common7/ide/my.interfaces/my.interfaces.exe.
i using 'assembly' directive qualified valid path c:... dll.
<#@ assembly name="c:\...\my.interfaces.dll" #>
again not error when not debugging.
my question how debugger import assembly without copying 'ide' directory?
it seems dll referencing wrong version. located in bin directory of project in same solution. updated dll , rebuilt project. worked, no need put dll anywhere else.
:\
Comments
Post a Comment