dotnet electronize start command throws errors when used asp.netcore2.1 with the angular #161

Closed
opened 2026-01-29 16:32:39 +00:00 by claunia · 4 comments
Owner

Originally created by @WeihanLi on GitHub (May 20, 2018).

dotnet electronize start command throws errors when used asp.netcore2.1 with the angular.
The error is as follows:

Error occurred during dotnet publish.

but when I run dotnet publish,there's no error.

My Environment:

  • Asp.Net Core 2.1
  • ElectronNET.CLI/ElectronNET.API 0.0.9
Originally created by @WeihanLi on GitHub (May 20, 2018). `dotnet electronize start` command throws errors when used asp.netcore2.1 with the angular. The error is as follows: ``` Error occurred during dotnet publish. ``` but when I run `dotnet publish`,there's no error. My Environment: - Asp.Net Core 2.1 - ElectronNET.CLI/ElectronNET.API 0.0.9
Author
Owner

@WeihanLi commented on GitHub (May 20, 2018):

When I use asp.net core2.0, it works great.
So I'm not sure whether it is a bug of asp.net core2.1 or asp.netcore2.1spa or Electron.NET bug

@WeihanLi commented on GitHub (May 20, 2018): When I use asp.net core2.0, it works great. So I'm not sure whether it is a bug of asp.net core2.1 or asp.netcore2.1spa or Electron.NET bug
Author
Owner

@WeihanLi commented on GitHub (May 27, 2018):

It seems to be a bug of ElectronNET.CLI

@WeihanLi commented on GitHub (May 27, 2018): It seems to be a bug of `ElectronNET.CLI`
Author
Owner

@DimaMorgun commented on GitHub (Sep 3, 2018):

If u use Angular in you'r application remove the ng build statement in tag in you'r .csproj file.

@DimaMorgun commented on GitHub (Sep 3, 2018): If u use Angular in you'r application remove the ng build statement in <PropertyGroup> tag in you'r .csproj file.
Author
Owner

@srameh commented on GitHub (Sep 7, 2018):

I have a MVC site in Asp.Net Core 2.1 and when I run I get same error.
"Error occurred during dotnet publish."
Now even when I downgrade it to Core 2 I get the same error.
Is there a fix for this?

@srameh commented on GitHub (Sep 7, 2018): I have a MVC site in Asp.Net Core 2.1 and when I run I get same error. "Error occurred during dotnet publish." Now even when I downgrade it to Core 2 I get the same error. Is there a fix for this?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#161