question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"emitEntryPoint": true is not creating exe

See original GitHub issue

I’m using the latest CLI (rc2-002418) and both buildand publishcommands not creating exe file. Is there any other setting to build exe file?

{
    "version": "1.0.0-*",
    "compilationOptions": {
        "emitEntryPoint": true,
        "preserveCompilationContext": true
    },
    "dependencies": {
        "Microsoft.NETCore.App": {
          "type": "platform",
          "version": "1.0.0-rc2-23931"
        },
        "NETStandard.Library": "1.0.0-rc2-*",
        "System.Xml.XmlDocument": "4.0.1-rc2-*",
        "System.Xml.ReaderWriter": "4.0.11-rc2-*",
        "System.Xml.XmlSerializer": "4.0.11-rc2-*",
        "System.Diagnostics.TraceSource": "4.0.0-rc2-*",
        "System.Diagnostics.Tracing": "4.1.0-rc2-*",
        "System.Collections": "4.0.11-rc2-*",
        "System.Collections.NonGeneric":"4.0.1-rc3-*"
    },
 "runtimeOptions": {
      "configProperties": {
      "System.GC.Server": true
     }
  },
  "frameworks": {
      "netcoreapp1.0": {}
  }
}

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
hassanselim0commented, May 22, 2016

I think the documentation needs to get better at specifying the difference between the following with regards to the output you get: building a portable app publishing a portable app building a self-contained app publishing a self-contained app

I don’t quite yet understand the difference between building and publishing a portable app, but I think I understand the rest now.

1reaction
guardrexcommented, May 23, 2016

@hassanselim0

@blackdwarf may have one on the way for the outputs of publishing, as well. That’s currently listed for RTM: https://github.com/dotnet/cli/issues/937

I’m also fleshing out some details in an unofficial IIS helper doc in the Slack #iis channel ( http://tattoocoder.com/aspnet-slack-sign-up/ ) that has some info in these regards.

… and I think you probably got this from @blackdwarf’s response, but you don’t really “build a self-contained app,” since using cached packages wouldn’t result in something “self-contained” by definition. I’m very glad you asked about that tho … I’d like to add something to the unofficial doc that pertains to these concepts, as well. 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build .Net Core as an EXE not a DLL
I think most people got to this page because they picked .net core and they can't get an executable .exe file from their...
Read more >
Project.json to MSBuild conversion guide
After upgrading to csproj and opening the project in VS Code, all intellisense, errors, build etc. is not working. VS Code became just...
Read more >
.NET Core Tooling in Visual Studio “15” - .NET Blog
NET CLI is to provide a user-friendly experience for executing MSBuild commands and also as a single tool host for commands that do...
Read more >
Error with latest .net Core and VS2015 - MSDN - Microsoft
The following error occurred attempting to run the project model server process (1.0.1). Unable to start the process. No executable found ...
Read more >
Can't run C# using .NET Core 1.1.0 on Rider
Inside Settings > Build, Execution, Deployment > .NET Core I have the following path: "C:\Program Files\dotnet\dotnet.exe". How can I fix that?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found