"emitEntryPoint": true is not creating exe
See original GitHub issueI’m using the latest CLI (rc2-002418
) and both build
and publish
commands 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:
- Created 7 years ago
- Comments:7 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
@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. 👍