Skip to content

Instantly share code, notes, and snippets.

@ryansroberts
Created April 6, 2016 08:33
Show Gist options
  • Save ryansroberts/b6383af77fd6aa3a663483a743d6c003 to your computer and use it in GitHub Desktop.
Save ryansroberts/b6383af77fd6aa3a663483a743d6c003 to your computer and use it in GitHub Desktop.
~/c/lolba ❯❯❯ dotnet build --native
Compiling olba for
NXCore,Version=v5.0
ompilation succeeded.
0 Warning(s)
0 Error(s)
Time elapsed 00:00:05.8359092
Input Assembly: /Users/ryanroberts/code/lolba/bin/Debug/dnxcore50/lolba.dll
Error: A positive capacity must be specified for a Memory Mapped File backed by an empty file.
System.ArgumentException: A positive capacity must be specified for a Memory Mapped File backed by an empty file.
at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateFromFile(FileStream fileStream, String mapName, Int64 capacity, MemoryMappedFileAccess access, HandleInheritability inheritability, Boolean leaveOpen)
at ILCompiler.SymbolReader.PortablePdbSymbolReader.TryOpenMetadataFile(String filePath, MetadataStringDecoder stringDecoder, MemoryMappedViewAccessor& mappedViewAccessor)
at ILCompiler.SymbolReader.PortablePdbSymbolReader.TryOpen(String pdbFilename, MetadataStringDecoder stringDecoder)
at ILCompiler.CompilerTypeSystemContext.InitializeSymbolReader(ModuleData moduleData)
at ILCompiler.CompilerTypeSystemContext.AddModule(String filePath, String expectedSimpleName)
at ILCompiler.CompilerTypeSystemContext.GetModuleFromPath(String filePath)
at ILCompiler.Compilation.AddCompilationRoots()
at ILCompiler.Compilation.CompileSingleFile()
at ILCompiler.Program.Run(Stringrgs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment