Skip to content

Instantly share code, notes, and snippets.

@ryansroberts
Created April 6, 2016 08:33
Show Gist options
  • Select an option

  • Save ryansroberts/b6383af77fd6aa3a663483a743d6c003 to your computer and use it in GitHub Desktop.

Select an option

Save ryansroberts/b6383af77fd6aa3a663483a743d6c003 to your computer and use it in GitHub Desktop.

Revisions

  1. ryansroberts created this gist Apr 6, 2016.
    21 changes: 21 additions & 0 deletions boom
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    ~/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)