benjamin-bader / stiletto

Fast Dependency Injection for .Net, Mono, and MonoTouch
http://stiletto.bendb.com
Apache License 2.0
43 stars 14 forks source link

FodyWeavers.xml erased on update #10

Closed benjamin-bader closed 11 years ago

benjamin-bader commented 11 years ago

Before update:

<FodyWeavers>
  <Stiletto />
</FodyWeavers>

After update:

<FodyWeavers>
</FodyWeavers>
SimonCropp commented 11 years ago

I suspect this is a nuget "feature". where you prompted to overwrite "FodyWeavers.xml" during the update? And if so what did you select?

benjamin-bader commented 11 years ago

I too suspect nuget. The likeliest reason is that install.ps1 didn't run, but TBH I haven't spent any time on this since I opened it.

I don't recall getting prompted to override the file, but then again I barely remember this morning's breakfast.

GiroSA commented 6 years ago

It is 2018 and this is still happening. I have been bitten by this several times. I will hopefully remember now to check the file after an update.

SimonCropp commented 6 years ago

stop including these files in the nuget https://github.com/benjamin-bader/stiletto/tree/master/NuGet/Stiletto.Fody

people can then manage the xml manually