I always get this error when I change content and compile it in the editor.
Hi @eirannejad , could you help to check on this?
Error info:
- Error building code | System.ArgumentException: The value cannot be an empty string. (Parameter ‘path’)
at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
at System.IO.Strategies.FileStreamHelpers.ValidateArguments(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
at Roslyn.Utilities.StandardFileSystem.OpenFile(String filePath, FileMode mode, FileAccess access, FileShare share)
at Roslyn.Utilities.CommonCompilerFileSystemExtensions.OpenFileWithNormalizedException(ICommonCompilerFileSystem fileSystem, String filePath, FileMode fileMode, FileAccess fileAccess, FileShare fileShare)
at Rhino.Runtime.Code.Execution.Roslyn.CompileRequest1.BuildMetaRefs()+MoveNext() at System.Collections.Generic.LargeArrayBuilder
1.AddRange(IEnumerable1 items) at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable
1 source)
at System.Collections.Immutable.ImmutableArray.CreateRange[T](IEnumerable1 items) at Microsoft.CodeAnalysis.Compilation.ValidateReferences[T](IEnumerable
1 references)
at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.Create(String assemblyName, CSharpCompilationOptions options, IEnumerable1 syntaxTrees, IEnumerable
1 references, CSharpCompilation previousSubmission, Type returnType, Type hostObjectType, Boolean isSubmission)
at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.Create(String assemblyName, IEnumerable1 syntaxTrees, IEnumerable
1 references, CSharpCompilationOptions options)
at Rhino.Runtime.Code.Execution.Roslyn.CSharpCompiler.CreateCSharpCompilation(CSharpCompileRequest cr)
at Rhino.Runtime.Code.Execution.Roslyn.CSharpCompiler.TryCompile(CSharpCompileRequest cr, MemoryStream& assemblyData, DiagnosticSet& diagnostics)
at Rhino.Runtime.Code.Languages.Roslyn.Core.RoslynCode1.TryCompile(BuildContext context, CompileSource source, Assembly& assembly, IEnumerable
1& diagnostics)
at Rhino.Runtime.Code.Languages.Roslyn.Core.RoslynCode`1.Compile(BuildContext context)
at Rhino.Runtime.Code.Code.Build(BuildContext context)
at Rhino.Runtime.Code.Code.TryBuild(BuildContext context, DiagnosticSet& diagnostics)
Change the default “null” to 1:
Remove the “y” parameter: