ip2region_private/binding/c#/README.md

18 lines
940 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# C# 客户端
## 实现情况:
现已实现同步和异步查询,具体使用方法可以参考 UnitTests 中的使用方法。
## 如何贡献?
你可以任意修改代码,但必须确保通过全部的单元测试。
在此之前,请保证你已经安装了 Net4.6 和 Net Core 2.0 版本。
操作步骤:
1使用 VS2017推荐可以到 https://visualstudio.microsoft.com/zh-hans/downloads/ 下载。),或者其它相关版本打开 IP2Region 项目。
2使用 VS 打开IP2Region 项目。
3保存 sln 文件到 c# 文件夹下(该文件应该自动被忽略)。
4右键点击“解决方案IP2Region”添加 UnitTests 和 BenchmarkTest 项目。
5请右键点击整个解决方案选择“重新生成解决方案”。
6菜单栏上“测试”=>“运行”=>“所有测试”,检测是否通过全部测试即可(你可以根据需要自行增加特定的单元测试)。