Deploying a simple report with a shared dataset

reporting-services

Solution

First, deploy the data source:

Then, deploy any necessary shared datasets:

Now, you'll be able to deploy or run your report.

Problem

I've created a new SSRS project, and added a shared data source. When I run the project, I get the expected result succesfully. However, when I try to deploy the report I get: Error: Cannot deploy the report because the shared data source '/Data Sources/DataSource1' that the report references does not exist on the report server. I'm guessing I am missing something very simple and critical because I am a complete beginner. What am I doing wrong?

Original source