thub.users.profile.tabs.comments.personalized


I checked again and it seems like it's installed in a shared folder.

So, what command do I issue to run my executable file, "SwatModelSim.exe" from my desktop command prompt?

We've been subscribing to Visual Studio since 2015 (my office); me (personal) since it came out way, way back. That's why I'm in panic mode right now.

Our agency now buys the licenses (I think). My boss is on it, I think. I can't stress enough how important this subscription is for me as developer. I need SQL Server and a whole lot more that comes with it and I make good use of them all, as my boss can attest.

Hopefully, this will be resolve soon.

Thanks for all the tips.

Forgot to add, we do subscribe separately for SQL Server (it used to be free for developers). Microsoft wised up, huh?

Will .net6 run on Visual Studio 2019? What's the difference between Community and Professional Editions? It seems like .net6 runs only with VS 2022?

Oh, no. You mean my .net3.1 won't get any support soon? That's a real bummer.

I just need to run a console app (so I'm trying to install the runtime version for Linux but ASPNET version keeps getting installed, which is for WEB application). So I'm looking for where I can download just the .net runtime for Linux.

But now, I'll need to change the framework to .net 6 before I even move over to Linux.

Thanks for the info.

That's the problem. I have absolute path in my VS project. Now, I'm assigned a relative path to the main cluster-server.

So in production server: the location is: /project/myprojectdirectory/dotnetcore

My development machine: the absolute path, E:\ drive.

Should I change my Application Arguments to: /project/myprojectdirectory/dotnetcore/model_run_test?


Will that work in Linux?

Thanks...

By the way, there is NO error thrown when I run the app WITHOUT debugging. The error occurs when I create a SETUP project for my console application. Sorry. I should have made that point.

Exception occurs during runtime. I think the issue is WHERE to place data files in .netcore projects. I can't find anything in the Internet addressing this issue. Because of this issue, I can't create a standalone executable. Seems weird such an important aspect of where data should be stored is not addressed in .net core literature.

I forgot to mention that I have some files that need to be in the Debug's .netcore3.1 folder; otherwise the console app won't run properly. Should I manually copy them to the Release .netcore3.1 folder before publishing?

Hi Bruce,

You're right. I needed to create a dedicated thread or task. I ended up creating a message manager and process manager classes so I can queue the messages in the individual threads. Testing right now. So far, so good.

I looked at the manifest file and in the schemaLocation, it says it can't find the assembly.adaptive.xsd.


Update: Well, I goofed. I didn't set the Pre-requisites. I set it to download from the same place as my application. Now, it just flags me for "index outside the bounds of array" error. So, there still must be something on my app, although, when I run it, there's no error. So, it would be hard to track the source of this outside-the-bounds-of-array error.

Tried most everything at this point. Still, I ran the app to completion (and this is really long modeling application -- 6 hours -- to complete. No error. So why doesn't it create a working executable?

Yes. First, the error was about some line in the code. Fixed that.

Just tried it, actually no. It doesn't do anything. How do I keep the console from closing when I click. I think there's an error message but I can't read it since it blinks so fast.

Hi,

The app it's running on already utilize both RedirectToStandardOutput and RedirectToStandardError because each active thread/process is calling an external executable.

Anyway, when all else fails, I just Control-Copy-Paste from console to a text file :)
Not very elegant, huh?

I looked at the link. Was trying to use it but there are some codes missing: e.g., It doesn't define what LogRow is and method log() is also missing. Would be nice if there's a complete version somewhere.