Apollo3zehn / PureHDF

A pure .NET library that makes reading and writing of HDF5 files (groups, datasets, attributes, ...) very easy.
MIT License
47 stars 16 forks source link

Unsafe code may only appear if compiling with /unsafe (HDF5.NET.Benchmarks) #13

Closed LiorBanai closed 2 years ago

LiorBanai commented 2 years ago

I get the following error when try to build the solution: image

Apollo3zehn commented 2 years ago

You can add

  <PropertyGroup>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  </PropertyGroup>

to your csproj file to solve this. I will check it also next week.

LiorBanai commented 2 years ago

I just unloaded the project but assumed you have the same issue.

Apollo3zehn commented 2 years ago

Solved in commit 0f311b2cc8c097ce0fe5340224d471f0dac265d6.