Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ali 9 posts 79 karma points
    1 week ago
    Ali
    0

    Umbraco ModelsBuilder API not working with project type Web Site Project

    Hi

    I have a solution in VS with two project, Web site project (Umbraco) and Web application project for modelsbuilder. In Web site project i have enabled compilation and installed Umbrco Modelsbuilder API and configured the custom tool but i cant generate models in the other project.

    Anyone tried API mode with Umbraco installed in Web Site Project?

    Get this error in Output:

    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)
    
  • Ali 9 posts 79 karma points
    1 week ago
    Ali
    0

    If i convert the Web site project to Web application project then its works. But i want it to work for web site project.

Please Sign in or register to post replies

Write your reply to:

Draft