Question

I'm using Microsoft Fakes and Git. There are files in FakesAssemblies which change all the time (.fakes.dll, .fakesconfig, .messages, .xml). Which of these can I exclude in my gitignore. If I exlude everything, my build server blows up saying it can't find the files.

Était-ce utile?

La solution

All the items in the FakesAssemblies subfolder would be regenerated on rebuild so all of those can be ignored out.

The Microsoft.QualityTools.Testing.Fakes is definitely needed.

Your csproj would have references to the .fakes files in the Fakes subfolder which are also required.

A simple way to verify if this is true is just delete the FakesAssemblies subfolder and rebuild.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top