Sure would be lovely if someone from Umbraco picked up Stephan's work and created a VSIX for VS2022. Not to mention updating Modelsbuilder to make it compatible with V9.
If using the community ModelsBuilder package and the API mode, then VS extension is required the build/generating models which connect to an endpoint using the credentials of an Umbraco backoffice user. This offers a few other features besides the Umbraco ModelsBuilder mode like ignoring ModelsBuilder to generate a property and implement it yourself. This is useful for JSON property data or property eidtors, which hasn't implemented a PVC.
I have a similar issue on a project I am working on, which use ModelsBuilder Api mode and the VS extension.
There a few features which the embedded ModelsBuilder doesn't have like IgnorePropertyType and ImplementPropertyType attributes. So for now I need to generate models from VS2019.
For most project we use the embedded version of ModelsBuilder, but er can't change this for this project since it use these features.
Modelsbuilder not working in VS 2022
Anybody know how to get modelsbuilder working in VS 2022?
I just got a new laptop and installed VS 2022. I opened a v8 umbaco .sln
I went to "Build Models" and it's missing from the context menu.
I checked Tools > Options and the Umbraco section is missing.
I reinstalled all packages via nuget.
Still no luck.
I really don't want to install VS 2019 on this new machine, but I will if that's the only way for Modelsbuilder to work.
The current *.vsix isn't compatible with VS 2022.
Here's a thread about it: https://github.com/modelsbuilder/ModelsBuilder.Original/issues/258
Sure would be lovely if someone from Umbraco picked up Stephan's work and created a VSIX for VS2022. Not to mention updating Modelsbuilder to make it compatible with V9.
Hi,
You don't need the VS Extension for using models builder. Umbraco, and modelsbuilder, works fine without the extension.
https://our.umbraco.com/documentation/reference/templating/modelsbuilder/
What features are you missing since the extension is essensial for your work?
The piece I need from the *.vsix is the "Build Models" functionality
Is there a way to generate the model classes without using the *.vsix ?
Umbraco builds them out-of-the box.
Just configure the project as described in the documentation. You can setup the namespace, the output folder etc.
The documentation I see for API uses the *.vsix and "Build Models"
https://our.umbraco.com/Documentation/Reference/Templating/Modelsbuilder/Builder-Modes-vpre8_5
If using the community ModelsBuilder package and the API mode, then VS extension is required the build/generating models which connect to an endpoint using the credentials of an Umbraco backoffice user. This offers a few other features besides the Umbraco ModelsBuilder mode like ignoring ModelsBuilder to generate a property and implement it yourself. This is useful for JSON property data or property eidtors, which hasn't implemented a PVC.
I have a similar issue on a project I am working on, which use ModelsBuilder Api mode and the VS extension.
There a few features which the embedded ModelsBuilder doesn't have like
IgnorePropertyType
andImplementPropertyType
attributes. So for now I need to generate models from VS2019.For most project we use the embedded version of ModelsBuilder, but er can't change this for this project since it use these features.
is working on a reply...