ModelsBuilder Custom Tool automatically updated, now incompatible with v7
Hi,
I have just made some changes to some document types in Umbraco, so need to generate new models using the Models Builder Custom Tool extension for Visual Studio, but unfortunately I've run into this issue:
UmbracoModelsBuilder: Starting v8.0.2 07/03/2019 13:00:25.
UmbracoModelsBuilder: UmbracoModelsBuilder failed to generate code: Exception: Response status code does not indicate success (Forbidden)
"API version conflict: client version (8.0.2) is not compatible with server version(3.0.10.102)."
UmbracoModelsBuilder: at Umbraco.ModelsBuilder.Api.ApiClient.EnsureSuccess(HttpResponseMessage result)
at Umbraco.ModelsBuilder.Api.ApiClient.ValidateClientVersion()
at Umbraco.ModelsBuilder.CustomTool.CustomTool.UmbracoModelsBuilder.GenerateRaw(String wszInputFilePath, String wszDefaultNamespace, IntPtr[] rgbOutputFileContents, UInt32& pcbOutput, String& errMsg)
I had the tickbox for automatically updating this Visual Studio extension ticked, so it seems that it's updated to the new v8 as I've opened up Visual Studio.
But I can't seem to find a way to download an older version of the tool. There's also not an option for that within VS2017 as best I can tell.
I tried building the latest v3 patch release from the downloads on GitHub, which built and installed successfully, but comes up with a generic error when trying to use it.
I stupidly didn't make a backup of the VSIX when I installed it originally.
Could someone please advise how to get around this issue? I am not in a position where I can upgrade this site to v8 any time soon.
ModelsBuilder Custom Tool automatically updated, now incompatible with v7
Hi,
I have just made some changes to some document types in Umbraco, so need to generate new models using the Models Builder Custom Tool extension for Visual Studio, but unfortunately I've run into this issue:
I had the tickbox for automatically updating this Visual Studio extension ticked, so it seems that it's updated to the new v8 as I've opened up Visual Studio.
I've had a look here:
https://marketplace.visualstudio.com/items?itemName=ZpqrtBnk.UmbracoModelsBuilderCustomTool#overview
But I can't seem to find a way to download an older version of the tool. There's also not an option for that within VS2017 as best I can tell.
I tried building the latest v3 patch release from the downloads on GitHub, which built and installed successfully, but comes up with a generic error when trying to use it.
I stupidly didn't make a backup of the VSIX when I installed it originally.
Could someone please advise how to get around this issue? I am not in a position where I can upgrade this site to v8 any time soon.
Thanks
Hi all,
A colleague found a download to an older version of the installer in the Q & A on the Visual Studio marketplace page:
https://marketplace.visualstudio.com/items?itemName=ZpqrtBnk.UmbracoModelsBuilderCustomTool#qna
I've successfully installed and used that, and disabled the auto update feature.
Thanks
Do you still happen to have that install?
I appear to be in the same situation and can't find an older version of ModelsBuilder :-(
Hi Gordon,
You can download it from here: https://github.com/ehimah/OtherFiles/raw/master/Umbraco.ModelsBuilder.CustomTool.v3.0.10.102.vsix
Disclaimer: That link isn't associated with me in any way. I found it on the Q & A tab of the marketplace link in my previous comment.
Thanks
I found out about this setting yesterday:
From this page, and other places - https://github.com/zpqrtbnk/Zbu.ModelsBuilder/wiki/Install-And-Configure
That has allowed me to continue using v8 of the tool.
is working on a reply...