Skip to content

Message: Webresource name does not contain a valid prefix. #481

@westerdaled

Description

@westerdaled

The error is

Creating Webresource '..\web-resources\js\mysolution-form.js' -> '/js/mysolution-form.js'
The application terminated with an error.
Timestamp: 25/02/2024 20:58:04
Code: -2147159784
Message: Webresource name does not contain a valid prefix.

Server stack trace:
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)

Created a Visual Studio project folder in

.\myDataverseSolution\DeployWebresources

My js files are in

.\myDataverseSolution\web-frontend\web-resources\js

My splk.json

    */
  "files": [
    {
      "uniquename": "/js/mysolution-form.js",
      "file": "..\\web-resources\\js\\mysolution-form.js",
      "description": ""
    }
  ]

My client chose the project folder for the XRm typescript files so ... I am hoping this isn't the issue 😒

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions