@Matt_SF you really just need to delete the network xml file and I‘d rather let this do the user manually.
Not sure why this should crash, however it might be the case that when you delete a xml network that is still compiled in the dll it will cause issues, so just recompile the dll after you deleted a file.