haplokuon / netDxf

.net dxf Reader-Writer
MIT License
966 stars 393 forks source link

question about <Assertion failed>(断言失败) #414

Open airsxue opened 1 year ago

airsxue commented 1 year ago

When I use netDxf to read this dxf file(sample.zip), it will show below error with Assertion failed, but it still work effective when I enter "Ingnore" ,could you please help to advice how can I avoid this situation? or the dxf format reason? Thanks. 微信图片_20220929092456 sample.zip

haplokuon commented 1 year ago

Use the Release build, make sure that in the Build tab of the project properties the "Define Debug constant" is unchecked.

Also you can open the netDxf.csproj file and make sure that in the property group for the desired build, DEBUG does not appear in the DefineConstants group.