|
Yup - that's the one! The very last curly brace was gone!
Of course, I only seek answers here, I would never use another web site...
|
|
|
|
|
Yeah man, it's always the simple stuff that gets us. As engineers we love to think, much to our determent. So when a problem arises we tend to think of the more complicated solutions first, and it's always those damned semicolons that get us because we overlook them.
Jeremy Falcon
|
|
|
|
|
I just built a HelloWorld console app in Visual Studio 2017.
Interesting. I guess I should've known, but didn't expect it.
The output is a DLL (.NET Assembly).
The target assembly runs inside the .NET Core app named dotnet.exe.
Who'da thunk it?
I guess this makes sense?
This is interesting.
Building a C# Hello World application with .NET Core in Visual Studio 2017 | Microsoft Docs[^]
EDIT
Yep, here's how you would manually start your console app now:
"c:\program files\dotnet\dotnet" helloworld.dll
Well, I'm starting all over with .NET again, after 17 years.
modified 31-Jul-17 16:31pm.
|
|
|
|
|
I think the idea of .net core is to be run on any system, any device. so this would make sense.
I may be incorrect with my very high level understanding of .net core.
|
|
|
|
|
Slacker007 wrote: I think the idea of .net core is to be run on any system, any device. so this would make sense.
Yes, totally agree. And I know I should've expected it. Just so odd.
Plus, that was kind of the (supposedly according to the original .NET story) what was going to happen with .NET and the CLR too, but it never materialized.
Or, it did, just 18 years later.
|
|
|
|
|
raddevus wrote: what was going to happen It basically is that way, except that the startup (i.e. dotnet.exe) is baked-in to the resultant exe. Which made it platform specific. Given M$ history and desire to dominate, that made sense then. Need different domination tactic now... hence dotnet.exe on windows, some other startup on linux.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Microsoft knows:
Anonymous The key to flexibility is indecision!!!
We devs love this stuff where the rug is pulled out from underneath us.
The more often it occurs, the better.
Maybe tomorrow links on the web won't work in MS Edge? It's an update after all.
|
|
|
|
|
Revolutionary work you have here.
I want to learn this kind of gradient! Teach me!
It's fresh not just fab!
You are so inspiring!
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Hear hear!
"Don't put off for tomorrow what can be put off for the day after tomorrow." -- Mark Twain
Code you haven't written yet doesn't need to be thrown out when the spec changes.
|
|
|
|
|
PIEBALDconsult wrote: Code you haven't written yet doesn't need to be thrown out when the spec changes.
A fantastic axiom to add to the list!!
Developer: "My software (vaporware) solution fulfills the entire list of requirements provided by the Bus. Analyst."
Manager: "Wait. We don't have Bus. Analysts at this company. So..??
Developer: "And no requirements list either. The software passes all QA tests."
|
|
|
|
|
Slacker007 wrote: I may be incorrect with my very high level understanding of .net core.
I think you have the core concept down pat.
Marc
Latest Article - Create a Dockerized Python Fiddle Web App
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
|
PIEBALDconsult wrote: Core blimey?
You said it!
|
|
|
|
|
Nah, limey core
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
raddevus wrote: Yep, here's how you would manually start your console app now: Nah, doesn't make sense; your 'console' application would not be runnable as a traditional console-application.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
So?! That doesn't me it isn't one.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
It would at least mean it is not a traditional 'console app'.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
The OP'er didn't claim that it was.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
..and?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
Eddy Vluggen wrote: your 'console' application would not be runnable as a traditional console-application
I know.
Microsoft is following the GREAT EXAMPLE created by (interpreted) Python.
|
|
|
|
|
GWBASIC.EXE MYPROG.BAS
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
raddevus wrote: I guess this makes sense?
Every sense, if you think about it... .NET Core had the goal to be platform independent, but truly there is not such a thing as at some point you hit the OS and problems are there...
So they moved the dependency from your code to the loader (dotnet.exe) and left you with a pure DLL. That way they got to the level where code not only can be compiled in any platform, but the result can be run on any...
If it is OK with you:
.NET Core: compile once, run everywhere[^]
ASP.NET Core: compile once, host everywhere[^]
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
You can read the text of Neal Stephenson's In The Beginning...was the command line at:
Neal Stephenson's site[^] (download the zip)
It's a very interesting look at how computers became a product.
Neal Stephenson wrote in 1999
Why, then, do I say that Microsoft is not such a great operating systems company? Because the very nature of operating systems is such that it is senseless for them to be developed and owned by a specific company. It's a thankless job to begin with. Applications create possibilities for millions of credulous users, whereas OSes impose limitations on thousands of grumpy coders, and so OS-makers will forever be on the sh*t-list of anyone who counts for anything in the high-tech world. Applications get used by people whose big problem is understanding all of their features, whereas OSes get hacked by coders who are annoyed by their limitations. The OS business has been good to Microsoft only insofar as it has given them the money they needed to launch a really good applications software business and to hire a lot of smart researchers. Now it really ought to be jettisoned, like a spent booster stage from a rocket. The big question is whether Microsoft is capable of doing this. Or is it addicted to OS sales in the same way as Apple is to selling hardware?
Interesting that Stephenson understood this way back in 1999. Did Microsoft listen? It feels like it.
You can also get the mobi fully formatted book version at amazon : In The Beginning...was the command line[^]
|
|
|
|
|
Is that the Stephenson who invented the steam train
|
|
|
|