Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Projects won't load in VS2019 #1013

Closed
rmagruder opened this issue Apr 22, 2019 · 7 comments
Closed

Projects won't load in VS2019 #1013

rmagruder opened this issue Apr 22, 2019 · 7 comments

Comments

@rmagruder
Copy link

Same machine as installed VS2017 which DOES load the ServiceAndWebApps solution just fine....VS2019 will NOT. Also verified on another machine. VS2019 complains that the proper .net SDK could not be found and the project cannot be loaded. But again, same machine works fine on VS2017, so the SDK's are properly installed.

This could well be a VS2019 bug but other .net core projects seem to load fine it. This one, however, just won't.

@MrDywar
Copy link

MrDywar commented Apr 27, 2019

I was able to build it in VS 2019.

  1. Install ".NET Core 2.2" for your VS 2019 instance using - "Visual Studio Installer".
  2. If it fails on "Devspaces.Support", just add it into solution (add existing project).

Mb it will help you.

PS
But i had another issue with localhost vs separete IP (think so), because i'm using docker toolbox with VirtualBox. Some services works, some one not. Trying to solve it.

@mvelosop
Copy link
Collaborator

Hi @MrDywar,

Thanks for the tip above!

Could you post the error message(s) you get.

It's important to ensure the 4 GB RAM as per https://github.com/dotnet-architecture/eShopOnContainers/wiki#setting-up-your-development-environment-for-eshoponcontainers

Hope this helps.

@MrDywar
Copy link

MrDywar commented May 1, 2019

Hi @mvelosop,

Thanks for link, i did not read all docs before i started :)

As i use docker toolbox the https://github.com/dotnet-architecture/eShopOnContainers/wiki/03.-Setting-the-eShopOnContainers-solution-up-in-a-Windows-CLI-environment-(dotnet-CLI,-Docker-CLI-and-VS-Code) did the trick!

  • If i run "docker-compose up", it's works well. I was able to login to SPA as demouser and place an order.
  • But if i open solution from "VS 2019", it automatically starting containers and nothing works (because of docker toolbox i think). Project builds without errors.

Docker for Windows (localhost) and docker toolbox (192.168.99.100) difference bring some erros, like 4хх on images. But it's OK.

I think my problem not related to VS 2019, and @rmagruder just need to instal ".NET Core 2.2".

P.S.
ESHOP_EXTERNAL_DNS_NAME_OR_IP was updated to 192.168.99.100.

May be i will update to Win Pro, and start using Hyper-V. It will reduce problems today and in the future.

@mvelosop
Copy link
Collaborator

mvelosop commented May 2, 2019

I don't like to run the app from VS and to avoid the app from starting you can configure VS like this:

image

Hope this helps.

@nishanil
Copy link
Contributor

nishanil commented May 2, 2019

@mvelosop This might be a good tip to add it to our wiki?

@mvelosop
Copy link
Collaborator

mvelosop commented May 7, 2019

Closing this issue now, but feel free to comment, will reopen if needed.

@mvelosop mvelosop closed this as completed May 7, 2019
@mvelosop mvelosop mentioned this issue May 10, 2019
@TNadir
Copy link

TNadir commented Oct 17, 2019

image
I have occured problem with SQL server

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants