asp.net - Visual Studio 2013 can't find present dlls -


scenario

i undo pending changes, , latest version tfs. attempt build solution , errors 2 assemblies, these are:

assembly errors

a different member of team same me , builds fine , assemblies found 0 issues.

our web.config same since both check out of tfs.

what have done

i asked path 2 troublesome dlls sit on machine, , checked same path on machine, exist! have dlls in same folder , same version hers!

c:\program files (x86)\microsoft asp.net\asp.net web pages\v1.0\assemblies\

i compared our projname.csproj.user file check , see if had different in hers after read this topic. same mine!

i proceeded remove dlls, adding them manually path above, , errors gone, told web.config has changed , needs checked in, , know has changed:

<reference include="system.web.helpers, version=1.0.0.0, culture=neutral, publickeytoken=31bf3856ad364e35, processorarchitecture=msil">   <hintpath>c:\program files (x86)\microsoft asp.net\asp.net web pages\v1.0\assemblies\system.web.helpers.dll</hintpath>   <private>false</private> </reference> 

the above used on line, without hintpath stuff.

i don't want checked in, , tiring have remove stuff each time want check-in code tfs.

problem

system.web.webpages , system.web.helpers not being loaded on machine, on other team member's machine.

any appreciated.

possible reason dll registered on colleagues machine. didn't have hintpath. per msdn "assemblies registered in gac won't have hintpath entry references". make sure referenced assembly registered on gac on computers trying build project on.

register dll , try again.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -