Write a course project. My task is to write a CLR library in which the function will be considered with assembleable insert. Wrote a function for a regular Windows Forms application, everything works fine. Put the function code in the library and throws an error. Tried to find on forums, write what you want to use ASMA in the settings of the build. Did so but the problem is not resolved. If you comment out the AFM — no errors Tell me how to get rid of this problem?