Actually, I have some time now, so I'll start by replying to what's been said:
Paradoks: I haven't done any development on a MacOS, but are you absolutely sure that will work? Because MacOS is based on Unix and a concept of an exe file running natively on a Mac sounds... not right. Then again I have no idea how the whole .NET and CLI thing works on Mac. Just saying, that from what I've heard - you actually need to compile the program on a Mac if you want it to work on a Mac.
I'm not talking about a regular .EXE; I'm talking about a .NET .EXE, which is a byte code more like Java.
Paradoks: As for your main problem. You may try using an alternative to Visual Studio like SharpDevelop.
Does that compile for .NET Core, or is it just for other languages to use them instead of C#? Anyway, I'll put it on the list of things to look up as soon as I have enough time.
nightcraw1er.488: Sharpdevelop has been dead for years, since M$ released visual studio for free again, it just wasn’t worth keeping up. And it doesn’t support .net core.
Oh, well then it won't solve my problem. But it seems like it
would be worth them developing it if it's DRM-free.
nightcraw1er.488: The OP wants:
A free portable program, which compiles to Mac and pc, uses C# language, with no contact to the internet. Something which does not exist. I am not entirely happy with everything being internet connected, but that is a simple fact of computing for many years now, and even developing the super secret Star Wars project that I am working on, oooopps, forget I said that, installing something from the net is not going to leak anything. If you don’t trust a M$ provided installer, then don’t use a M$ product.
It's actually not specifically that I don't trust their installer not to spy, but more that I have a policy to keep that computer offline at all times, because I don't want
anyone spying.
nightcraw1er.488: C and c++ are both available as compilers for windows and Mac, thus more or less the same code can be copied over and compiled on the two systems, and would not need the CLR which .net needs, it’s also a similar language. Java is another option, but again net installers
For my purposes it really needs to be cross-platform compatible within a single .EXE, so anything compiled to machine language (including C/C++) won't work, but Java
might theoretically work, but my previous experience with Java makes it seem like it's not really as compatible as people seem to think it is, and it's kind of a pain to work with, but whatever. But you say that even Java can only be installed online?! You've got to be kidding me! Or did I misunderstand you?
nightcraw1er.488: In the time faded about with these conflicting requirements, you could have programmed it in assembly and removed the whole os layer.
Well, to be fair, you don't actually know how much complexity is in the program.
nightcraw1er.488: Now I am not familiar with Mac at all, but I am sure there are ways of running Windows programs on them, a quick google:
https://www.howtogeek.com/187359/5-ways-to-run-windows-software-on-a-mac/
Just build for windows, then emulate the program on Mac. I.e. try to reduce some of these conflicting requirements.
I'll check that out as well. I was trying to avoid emulation for other reasons which I don't even want to get into because we're dealing with enough as it is, but it's not entirely out of the realm of possibility, especially if all else fails.
Paradoks: But that's the thing - it's emulation, not running the program natively. The same way someone could argue that there is no point in compiling anything for Linux because someone may just use Wine.
That's a good point, and frankly, I'm not sure how well you can emulate a Windows .NET program on a Windows emulator running on a Macintosh. I'm not saying that it
wouldn't work well, but I just don't know. In any case, it seems like jumping through a lot of hoops - both an interpreted language
and and emulated OS.
nightcraw1er.488: Yes, the community edition, does everything most people will need. I suggest the emulation purely because of all the numerous conflicting requirements here. There is also no understanding of what the tool is to do, is it a UI, perhaps something which can be done in a batch language etc. It’s hard to analyse something we know nothing about other than:
Must be pc and Mac, c# only, no internet.
And I understand this concern, but unfortunately the answer to this particular question is not one that I'm comfortable posting on the Internet. Believe me, nobody in the world understands better than I do the downside of privacy - at least from the perspective of practicality - but that's how it is. Sorry. But then, for a bunch of people who frequent a website specifically devoted to providing a product with registration and internet connectivity requirements stripped out of it, I'd hope that you'd all understand.
And by the way, you've all been very patient with me, for which I thank you. Most people just call me a freak or an idiot and say that I'm too exhausting, always doing everything the hard way, trying to reinvent wheels, if not gravity itself, etc.
nightcraw1er.488: As a further option, and again depends on what you are doing, have you considered Unity3d? That uses c#, compiles to pc and Mac, I think (and not used in years) the free version can be downloaded and not registered. Forget that it’s a game dev studio, and just use it to build a UI and do your logic. Then build it out for the two platforms.
I've never used Unity, which isn't to say that I wouldn't be comfortable learning a new language, but I don't happen to know it. I didn't realize that it could be used for making anything other than games. Can it? But the bigger problem is that I know someone who does use it, and according to him, it requires registration, an Internet connection, etc. He could be wrong, but that's what he says, which is another reason that I never even considered it.
GameRager: "In the end gog forums users and others learned too late of the horrible malware heresmyaccount was brewing on his home machine......PCs across the net went silent as something worse than melissa and sasser could have ever dreamed to be scoured the land, leaving droves of gamers and fappers wailing and lamenting in it's wake"
(The above is just a joke/me trying to be a bit silly, op/everyone, and not intended to be taken seriously. :))
Actually, I found that very funny. But to put everyone's mind at ease, I'd be the last person to ever do anything illegal. Think about it - as private as I am, why would I want to do something that I know would incite the government, including the police, to poke their nose directly into my business?
GameRager: Sounds good, but this is likely where it would end up
Oblongs! I haven't seen that in forever. At first I thought you mean that it would end up being put in Sensodyne toothpaste, before I realized that it was just an ad before the video. But seriously, why wouldn't they like that suggestion?
GameRager: HeresMyAccount: But if all else fails, I suppose maybe I could do this:
- Backup anything on my computer that I need to keep and isn't already backed up for whatever reason.
- Reformat and scrub my hard drive clean of any trace of anything.
- Reinstall windows.
- Unplug my computer, move it into a room with a phone line, register Windows online, download and install Visual Studio and register it as well.
- Move the computer back and connect it where it's supposed to be, without the Internet.
- Reinstall whatever I want and copy stuff from backups.
If I were to do this, do you think it would have the desired effect? It seems like it would, because no spyware could possibly see anything on my hard drive if there isn't anything on it, right?
I was going to suggest this before, actually....it would likely fit the bill and prevent any "spying"(rare a chance as it would be to begin with).
Sorry that quoting got slightly messed up. Anyway, if I were to do that (which I might, in view of new predicaments that I'll describe soon), can I do a thorough format (at least setting all bits to 0 on the hard drive) using something like fdisk or anything that is included, or if not, what should I use and how would I do it? I haven't reformatted a hard drive since about the mid-2000s, so I'm not sure what I even have for that anymore.
GameRager: Add famous software developer to the list of things I wonder that you might be....:)
Actually, I am a software developer, though I'm currently unemployed (long story), but I'm not a
famous anything. Have you learned nothing from this discussion? (I don't mean for that to sound rude, but I just mean that it should be clear that fame is the farthest thing from anything I'd ever want).
GameRager: I know 360 does, but IIRC Wii(classic) and PS2 do not....but one CAN buy cheapish devices to convert older signals to/from HDMI/etc.
nightcraw1er.488: WII use the video and sound separate cables, which can also go in a scarf converter. Think it’s the same with ps2. A quick google will answer your question.
Actually, I found a nice converter box that I think I'll get.
nightcraw1er.488: For example. I think you can get converters for most though. I would always suggest paying a bit more and getting a tv with different ports all over the shop, just to be sure (and you don’t want to be swapping).
Why would it be better for the TV to do it directly? And what's wrong with swapping? I don't switch between consoles super-often, so I don't mind if I have to change plugs from time to time, as long as it
works.