Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

System.IO.FileNotFoundException: Could not load file or assembly Microsoft.TeamFoundation.Diff, Version=12.0.0.0 #13

Open
Peter-Juhasz opened this issue Aug 2, 2015 · 13 comments

Comments

@Peter-Juhasz
Copy link

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.TeamFoundation.Diff, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.TeamFoundation.Diff, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at AlekseyNagovitsyn.TfsPendingChangesMargin.MarginCore..ctor(IWpfTextView textView, ITextDocumentFactoryService textDocumentFactoryService, SVsServiceProvider vsServiceProvider, IEditorFormatMapService formatMapService, IScrollMapFactoryService scrollMapFactoryService)
   at AlekseyNagovitsyn.TfsPendingChangesMargin.MarginCoreFactory.<>c__DisplayClass1.<GetMarginCore>b__0()
   at Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func`1 creator)
   at AlekseyNagovitsyn.TfsPendingChangesMargin.MarginCoreFactory.GetMarginCore(IWpfTextViewHost textViewHost)
   at AlekseyNagovitsyn.TfsPendingChangesMargin.ScrollbarMarginFactory.CreateMargin(IWpfTextViewHost textViewHost, IWpfTextViewMargin marginContainer)
   at Microsoft.VisualStudio.Text.Utilities.ContainerMargin.<AddMargins>b__25_1(IWpfTextViewMarginProvider mp)
   at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InstantiateExtension[TExtension,TMetadata,TExtensionInstance](Object errorSource, Lazy`2 provider, Func`2 getter)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
˛
@SeriousM
Copy link

Yes, the extension is expecting that you have the vs2013 files on your machine (which includes the FeamFoundation files).
I guess you don't have vs2013 installed, right?
I propose to include all the referenced teamfoundation references in the package.
@NagiTs what do you say?

@SeriousM
Copy link

@Peter-Juhasz #15 is trying to fix it

@M-Zuber
Copy link

M-Zuber commented Oct 18, 2015

So #15 was the wrong way but I am working on a better fix. Will check back in when that's done

@SeriousM
Copy link

What will be the new approach?
Am 18.10.2015 17:06 schrieb "Mordechai Zuber" [email protected]:

So #15 #15 was
the wrong way but I am working on a better fix. Will check back in when
that's done


Reply to this email directly or view it on GitHub
#13 (comment)
.

@M-Zuber
Copy link

M-Zuber commented Oct 18, 2015

Setting the hint path to use the dll in the visual studio install folders and not the GAC.
It will take time only to test it in an environment that doesn't have vs 2015.
Do you have such a setup?

@SeriousM
Copy link

I have vs2012 and vs2015 but no vs2013.
Am 18.10.2015 19:22 schrieb "Mordechai Zuber" [email protected]:

Setting the hint path to use the dll in the visual studio install folders
and not the GAC.
It will take time only to test it in an environment that doesn't have vs
2015.
Do you have such a setup?


Reply to this email directly or view it on GitHub
#13 (comment)
.

@M-Zuber
Copy link

M-Zuber commented Oct 18, 2015

If the extension works for 2012 that is also fine, but it needs to be a machine that has only 2012 to test the globbing in the hintpath

@SeriousM
Copy link

Nope, sorry. I can't get such a setup running at my work or home :(
Am 18.10.2015 20:46 schrieb "Mordechai Zuber" [email protected]:

If the extension works for 2012 that is also fine, but it needs to be a
machine that has only 2012 to test the globbing in the hintpath


Reply to this email directly or view it on GitHub
#13 (comment)
.

@M-Zuber
Copy link

M-Zuber commented Oct 19, 2015

No worries. I'll look for an azure image or the such

@M-Zuber
Copy link

M-Zuber commented Oct 19, 2015

@M-Zuber
Copy link

M-Zuber commented Oct 20, 2015

Here is a better version thanks to @mika76

@SeriousM
Copy link

This is the PR for the fix from @mika76: #17

@xperiandri
Copy link

Still crashes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants