VS Project References Broken On Case Sensitivity of GUID

前端 未结 5 1076
旧巷少年郎
旧巷少年郎 2020-12-09 03:03

Since upgrading to VS 2015, my team has experienced random quirky things which I\'m sure are being worked out at Microsoft right now. One pretty annoying one is that we see

5条回答
  •  南方客
    南方客 (楼主)
    2020-12-09 03:55

    In order to use the answer in a git hook, I had to convert it to sed's regex syntax:

    sed -r "s/(\{?)([0-9A-F-]+)(\}?<\/Project>)/\1\L\2\E\3/g" sample.csproj
    

    Maybe someone finds this useful.

提交回复
热议问题