4 ms·
Did you try https://dotnet.github.io/getting-started/ https://dotnet.github.io/getting-started/? Can I help with getting it running?
by Locke1689 11y ago
Did you try https://dotnet.github.io/getting-started/ https://dotnet.github.io/getting-started/?
Can I help with getting it running?
- euroclydon 11y agoI did that the other day, on beta8 or whatever. In that case, I could run a console app. Then I tried the Yeoman setup [1] for a simple website without auth. It failed to run. Today, I uninstalled mono, previous dmx stuff, and ran the package linked in this story. Same result. Yeoman website failed. It's failing to resolve the fx dependencies. Also, it's difficult for me to understand if I need mono or not. I have it. [1] https://docs.asp.net/en/latest/tutorials/your-first-mac-aspnet.html https://docs.asp.net/en/latest/tutorials/your-first-mac-aspn...
- Locke1689 11y agoAh, sorry, I know nothing about Yeoman -- I'm only familiar with console applications :)
- soccerdave 11y agoI followed the steps here. Do you happen to know how to build the command-line app in to an executable? I was able to run it with 'dnx run', but not sure how to build it
- edgyswingset 11y agoYou have to use dnu. To restore packages: $ dnu restore To build: $ dnu build To run: $ dnx run To run some other command: $ dnx <COMMAND_HERE>
- soccerdave 11y agoI was able to use 'dnu build', but that looks like it builds a dll and places it in a folder. I was curious if it's possible to build a single executable (similar to go) that can be run. Also, 'dnx run' is slightly slow so I wanted to see if the performance hit was less after building an exe.
- edgyswingset 11y agoAh! What you're looking for is dotnet/cli[0]. [0] https://github.com/dotnet/cli https://github.com/dotnet/cli
- shanselman 11y agoSoon, but not quite yet. you'll be able to "dotnet compile" in a folder and that'll make stuff, and then "dotnet compile --native" will give you a single linked executable.