✅ appsettings-schema.json missing when using Visua...
# help-with-umbraco
j
So like, I'm really bad at installing Umbraco v10.7.0 apparently. When I use Visual Studio, there's no
appsettings-schema.json
When I use the command line, specifically using the 10.7.0 template, there IS appsettings-schema.json Is it me? Am I the problem? Yours, boarding their flight at Dublin airport, Rich
Loading appsettings.json greets me with this console message:
k
Did you build/restore/etc? I think the schema is put in place when you do that; the NuGet actions to place files in your project are run on restore/build/etc. I think the command-line project-creation guide tells you to
dotnet restore
after
dotnet new
.
Didn't know "new project" from within VS still worked. 🤓
j
Oooo will try that out and report back
HAHA YEP runnning "Build>Build solution" worked perfectly. Well. We learn. TY @kdx-perbol #h5yr!
y
Hello @jacksorjacksor (Richard Jackson) , It will be come after running the application. It happened with me and I continue working , After I create some props it is come . There is another way, You can copying the file from auother Project.
k
That's not a long-term solution. If the schema file doesn't come from restoring the Umbraco NuGet, something is wrong.
s
Yes, please don't copy it from another project, the schema changes over time. A
dotnet build
will ensure you get the schema for the appropriate Umbraco version 👍
7 Views