NewProfile: Cannot Combine "FileMode: Create" with "FileAccess: Read"
BinToss opened this issue · comments
Noah Sherwin commented
System.ArgumentException: Combining FileMode: Create with FileAccess: Read is invalid.
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at HXE.NewProfile.<Scaffold>g__CreateBlam|1_8(<>c__DisplayClass1_0& )
at HXE.NewProfile.<Scaffold>g__BlamSav|1_3(<>c__DisplayClass1_0& )
at HXE.NewProfile.Scaffold(String pathParam, LastProfile lastprof, Profile profile)
at HXE.NewProfile.Generate(String pathParam, LastProfile lastprof, Profile profile, Boolean makeScaffold, Boolean profileIsGood)
at HXE.Kernel.<Invoke>g__Blam|7_2(<>c__DisplayClass7_0& )
at HXE.Kernel.Invoke(Executable executable, Configuration configuration)
at SPV3.Main.MainLoad.Invoke()
at SPV3.Main.Invoke()