emonney / QuickApp

ASP.NET Core / Angular startup project template with complete login, user and role management. Plus other useful services for Quick Application Development
https://www.ebenmonney.com/quickapp
MIT License
1.26k stars 594 forks source link

Cannot launch in visual studio code #13

Closed Xarkam closed 7 years ago

Xarkam commented 7 years ago

Hello,

I trying to launch the "QuickApp" by Visual Studio code by I receive always this error Exception thrown: 'System.ArgumentNullException' in System.Private.CoreLib.ni.dll

And the app don't start.

Any idea ?

Thanks.

RajuKottedi commented 7 years ago

is it working in VS2017 ? i am facing the same issue in both VS2017 and VSCode.

Xarkam commented 7 years ago

Hello @RajuKottedi . In my case, Quickapp run in VS2017.

See #19, #20 ans #21 to execute under Linux.

For debugging, you can add this line in Statup.cs: System.Console.WriteLine("### PID= " + System.Diagnostics.Process.GetCurrentProcess().Id + " ###"); This add the PID in the console and you just attach by Net Core Attach in vscode and select the correct PID in list displayed.

You also execute directly in vscode by using .NET Core Launch (web) bud you absolutely need to create the dist files. See #20 & #21

emonney commented 7 years ago

@RajuKottedi what error messages are you getting? And the version of QuickApp you're using.

RajuKottedi commented 7 years ago

Thanks @Xarkam & @emonney for your reply. Actually i was facing issue with local db creation. it didn't work in my laptop but its working fine in my desktop. Same issue i was facing with other applications while creating local db creation in my laptop.

@emonney app is working fine in both vscode and vs2017 in my desktop. I really liked the app. Keep up the good work. Thanks.

emonney commented 7 years ago

Great. Closing the issue.