haplokuon / netDxf

.net dxf Reader-Writer
MIT License
1.01k stars 411 forks source link

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

Open airsxue opened 2 years ago

airsxue commented 2 years 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 2 years 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.