.net - resources.ApplyResources() causes ambiguous match error -


ok, work in company multiple developers using vs2013 linked tfs. when run our application, runs fine until open window. when form loads, hits line in designer of form:

    resources.applyresources(me.tcpersonnel, "tcpersonnel") 'tcpersonnel being tabcontrol 

when hits line, error saying there "ambiguous match found". if continue anyway (ignoring error), form , control works fine.

the weird part when colleagues map branch computers , latest version (my stuff being checked in), , run it, works without errors. me points there may wrong computer rather bad code.

the relevant resx elements below:

    <data name="&gt;&gt;tcpersonnel.name" xml:space="preserve">       <value>tcpersonnel</value>     </data>     <data name="&gt;&gt;tcpersonnel.type" xml:space="preserve">       <value>system.windows.forms.tabcontrol, system.windows.forms, version=1.0.0.0, culture=neutral, publickeytoken=null</value>     </data>     <data name="&gt;&gt;tcpersonnel.parent" xml:space="preserve">       <value>tlpcentral</value>     </data>     <data name="&gt;&gt;tcpersonnel.zorder" xml:space="preserve">       <value>1</value>     </data> 

is there solution research has come nothing.

p.s. machine 1 out of colleagues running 64bit operating system, not sure if makes difference.

this indicates 1 or more files in tfs workspace have got out of sync tfs.

to resolve it, instead of using normal latest, can force of latest files without allowing tfs skip files thinks date.

(apologies 2010 screenshots, i'll try , update them 2013 when i'm on 2013 box later today, should find equivalent functionality in 2013.)

in source control explorer, right-click project , choose specific version:

enter image description here

and in next dialog, choose latest version , select both checkboxes:

enter image description here


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -