fullstackhero / dotnet-starter-kit

Production Grade Cloud-Ready .NET 8 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
https://fullstackhero.net/dotnet-webapi-boilerplate/
MIT License
5.3k stars 1.59k forks source link

new Solution does not build when creating from visual studio template #162

Closed dsoltesz closed 3 years ago

dsoltesz commented 3 years ago

Describe the bug Try to build a new sln created from template get a build error in the domain and shared projects about sytlecop.json could not be found

To Reproduce Steps to reproduce the behavior: create a new sln from the visual studio FullStackHero WebAPI Boilerplate

Expected behavior sln should build

iammukeshm commented 3 years ago

does it work from CLI?

iammukeshm commented 3 years ago

I see this issue with Visual Studio only. The normal CLI way works.

https://fullstackhero.net/dotnet-webapi-boilerplate/general/getting-started/#creating-your-first-solution

Please refer to the above guide and use the first option.

I will try to fix the issue created when VS creates the solution. Thanks for pointing it out.

iammukeshm commented 3 years ago

@dsoltesz I see that when VS creates the solution, there are 2 .sln files.

Can you please test this and let me know?

iammukeshm commented 3 years ago

Got it. While creating a new solution, just make sure to place both the solution and projects in the same folder. I am attaching screenshots below. This should do the trick. I was able to build the project. The only minor thing I noticed is , the folder structure is lost in Visual Studio. But that's something very minor.

CC8Isn0maP devenv_BCkLq8hz97

Do let me know if it works for you now.

dsoltesz commented 3 years ago

That does work though we probably don't want to force people to have to click that option