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

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

Closed
dsoltesz opened this issue Nov 15, 2021 · 5 comments
Closed
Assignees
Labels
bug Something isn't working feedback-required
Milestone

Comments

@dsoltesz
Copy link

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
Copy link
Member

does it work from CLI?

@iammukeshm
Copy link
Member

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 iammukeshm self-assigned this Nov 15, 2021
@iammukeshm iammukeshm added the bug Something isn't working label Nov 15, 2021
@iammukeshm iammukeshm added this to the Release 1.0 milestone Nov 15, 2021
@iammukeshm
Copy link
Member

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

  • In the root folder -> this doesn't work.
  • Inside the project folder -> this one works.

Can you please test this and let me know?

@iammukeshm
Copy link
Member

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feedback-required
Projects
None yet
Development

No branches or pull requests

2 participants