aCute icon indicating copy to clipboard operation
aCute copied to clipboard

Missing `Run As > .NET project` for `dotnet run`

Open auspex opened this issue 7 years ago • 4 comments

I see #20, #62 and #80, which all reference being able to use Run As > .NET project to execute dotnet run

I don't have that option on my imported-from-Visual-Studio projects (Only Run As > .NET Core and Run As > .NET Core Test) . What am I missing? I've installed http://download.eclipse.org/acute/releases/latest .

I'm hoping that this run config would alleviate the annoying need to actually select the project before I can execute it... As it is, if I have any other file selected,Run As > .NET Core fails (though I would have thought it should set the working directory to the project directory by default).

auspex avatar Nov 27 '18 16:11 auspex

In fact, if I create a new project, it doesn't have Run As > .NET project, either.

auspex avatar Nov 27 '18 16:11 auspex

It's Run As > .NET Core, aCute doesn't support the "legacy" .NET (it may work, but it's not tested). It can be a cause of your isses. Does Run As > .NET Core work for you?

mickaelistria avatar Nov 27 '18 17:11 mickaelistria

Well that runs, 'dotnet exec', rather than 'dotnet run', so it didn't look like what seems to have been committed earlier. So my real problem is that it doesn't set the working directory to the project directory, so only works if the project itself is selected

On Tue, 27 Nov 2018, 17:44 Mickael Istria <[email protected] wrote:

It's Run As > .NET Core, aCute doesn't support the "legacy" .NET (it may work, but it's not tested). It can be a cause of your isses. Does Run As > .NET Core work for you?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/eclipse/aCute/issues/153#issuecomment-442151626, or mute the thread https://github.com/notifications/unsubscribe-auth/AAcWuy5t0YPm-BoL4s8-2reNMDRSjZueks5uzXoSgaJpZM4Y140R .

auspex avatar Nov 27 '18 18:11 auspex

This dotnet exec is expected to be happening after a dotnet build (unless you unchecked the "Build Project" option) https://github.com/eclipse/aCute/blob/master/org.eclipse.acute/src/org/eclipse/acute/dotnetrun/DotnetRunDelegate.java#L115 . Do you see this dotnet build happening?

mickaelistria avatar Nov 27 '18 19:11 mickaelistria

As it works for me and reporter hasn't reply in almost 8 years closing.

akurtakov avatar Sep 13 '24 17:09 akurtakov

No problem. "Reporter" hasn't used Eclipse in that long, as I now use VS Code for all development.

On Fri, Sep 13, 2024, 14:36 Александър Куртаков @.***> wrote:

As it works for me and reporter hasn't reply in almost 8 years closing.

— Reply to this email directly, view it on GitHub https://github.com/eclipse/aCute/issues/153#issuecomment-2349602070, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADRNOYKN7GFQQIIKKGVMIDZWMPCLAVCNFSM6AAAAABOFZWMYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBZGYYDEMBXGA . You are receiving this because you authored the thread.Message ID: @.***>

auspex avatar Sep 13 '24 19:09 auspex