Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReadMe Clarification #2

Open
ChrisMyrick opened this issue Aug 5, 2019 · 0 comments
Open

ReadMe Clarification #2

ChrisMyrick opened this issue Aug 5, 2019 · 0 comments

Comments

@ChrisMyrick
Copy link

ChrisMyrick commented Aug 5, 2019

I ran into a few snags following the ReadME -

Step 1 - Make sure you can view preRelease packages (checkbox in NugetPackage manager) and add the nuget package to the Server project.

Step 2 - Add using statements to program.cs

using ElectronNET.API;
using Microsoft.Extensions.Hosting;

Step 3 - Add using statements to startup.cs

using ElectronNET.API;
using Microsoft.Extensions.FileProviders;
using System.Threading.Tasks;

Step 5 - Would not install until I specified a version. (--version 5.22.14)

Step 7 - From the screenshot, it appears that you are creating a complete profile with various attributes, versus just adding of the Environment Var.

After completing the above and clicking on the green arrow, I get a notification in the console window indicating that the current working directory does not contain a project or solution file.


Start Electron Desktop Application...
Microsoft Windows [Version 10.0.18362.267]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Users\chrism\source\repos\learning\BlazorAspNetCoreHosted\BlazorAspNetCoreHosted.Server\bin\Release\netcoreapp3.0>dotnet publish -r win-x64 --output "C:\Users\chrism\source\repos\learning\BlazorAspNetCoreHosted\BlazorAspNetCoreHosted.Server\bin\Release\netcoreapp3.0\obj\Host\bin"
Microsoft (R) Build Engine version 16.3.0-preview-19329-01+d31fdbf01 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
C:\Users\chrism\source\repos\learning\BlazorAspNetCoreHosted\BlazorAspNetCoreHosted.Server\bin\Release\netcoreapp3.0>
Error occurred during dotnet publish: 1

C:\Users\chrism\.dotnet\tools\electronize.exe (process 10440) exited with code -1.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant