简体   繁体   中英

error CS1729: The type `ARSoft.Tools.Net.Dns.DnsServer' does not contain a constructor that takes `4' arguments

I'm trying to compile a code taken from github. My understanding of Visual Studio or C# is pretty basic. Can anybody please help me with the error?

Github source: github.com/slothbag/NxtHypeDns

Source file link: github.com/slothbag/NxtHypeDns/blob/master/NxtHypeDns/Program.cs

Error screenshot: http://i.imgur.com/KE8En7s.jpg

Thanks

The code here looks like the DnsServer takes those 4 arguments. Are you sure you have the correct binaries? How did you install?

If you are using the codeplex version then it doesn't look like it take a ProcessQuery parameter.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM