We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
运行下列代码后,并没有ini文件产生,是我哪里操作错了吗?我是.NET 6
using Masuit.Tools.Files; using Microsoft.EntityFrameworkCore.Metadata.Internal; using static System.Collections.Specialized.BitVector32; namespace ConsoleApp6 { internal class Program { static void Main(string[] args) { INIFile ini = new INIFile("filename.ini"); ini.IniWriteValue("section", "key", "value"); // 写值 } } }
The text was updated successfully, but these errors were encountered:
你没有传ini文件的绝对路径,这会导致filename.ini会生成到C:\Windows目录下去
Sorry, something went wrong.
我改成这样可以了,非常感谢答疑。
INIFile ini = new INIFile(Environment.CurrentDirectory + "\\filename.ini");
但是之前那样在C:\Windows也找不到。
No branches or pull requests
运行下列代码后,并没有ini文件产生,是我哪里操作错了吗?我是.NET 6
The text was updated successfully, but these errors were encountered: