The contact model template project appears to be broken at the moment.
I uploaded a PluginFiles archive at https://itasca.sharefile.com/d-s139c705205cb402abc99127518be5944.
This archive contains an example contact model under PluginFiles\contactmodel\example.
Please use this example as a starting point to implement your custom contact model, and do not hesitate to come back to me for further assistance.
I am sorry for the inconvenience.
I compiled a contact model with the PluginFiles archive you shared, but the stress function getOldStress cannot access the stress value.
How can I solve this problem?
I followed the instructions on the “Creating Contact Model DLLs from the MSVS Project Template” page of the Contact Model Plug-Ins site on the Itasca website, but when I try to create the new project from the Itasca Contact Model template in Visual Studio 2019 (as recommended), I get this error: