Assembly reference failure in VS 2015 RC (works in VS 2013) -


i created empty asp.net project , added following t4 template it:

<#@ template debug="false" hostspecific="false" language="c#" #> <#@ assembly name="system.core" #> <#@ assembly name="newtonsoft.json.dll" #> <#@ assembly name="microsoft.spatial.dll" #> <#@ output extension=".txt" #> 

i added nuget packages newtonsoft.json , microsoft.spatial. after compile project using visual studio 2013, can edit template file , when save output correctly generated.

however, if load same project visual studio 2015 rc, attempt save template file result in following error:

"compiling transformation. metadata file 'microsoft.spatial.dll' not found."

note it's microsoft.spatial.dll causes error, newtonsoft.json.dll accepted. , if prefix microsoft.spatial.dll "$(projectdir)bin" accepted.

i avoid using path prefix (because location of dll depends on project type have no control of), puzzles me why 1 dll nuget package can specified without path prefix, while dll causes failure.


Comments