BaGet icon indicating copy to clipboard operation
BaGet copied to clipboard

Net6

Open sunny1028 opened this issue 2 years ago • 5 comments

主版本升级为.NET7 并且升级了绝大部分相关依赖版本 目前为止运行状态良好

如果需要可以自行构建Releases

Addresses https://github.com/loic-sharma/BaGet/issues/761

sunny1028 avatar Jul 05 '23 05:07 sunny1028

yes pls NET6 LTS

jkone27 avatar Jul 28 '23 11:07 jkone27

After enabling the tests I get following error: The UTC time represented when the offset is applied must be between year 0 and 10,000

I fixed it by Replacing occourances of DateTime with DateTimeOffset

joestr avatar Aug 17 '23 19:08 joestr

The only way I can imagine this error happening is if there's a datetime of 0001-01-01 and then the offset pushes it below that date. I'm kinda sick today so I won't check now, but if you push it with tests enabled I can checkout your branch tomorrow and see if I can find something causing that. I don't think there should be a datetime of 0001-01-01 anywhere so this might be important.

Regenhardt avatar Aug 18 '23 12:08 Regenhardt

I just had time to publish the changes again @Regenhardt. They are here

joestr avatar Aug 31 '23 11:08 joestr

Fixed the last Unit Test in #786

joestr avatar Sep 18 '23 10:09 joestr