Skip to content

Getting error that says "Could not find configuration $Configuration." #30

Description

@nglara

Hi there,

For some reason the I'm getting this error that says "Could not find configuration $Configuration." when I run

Publish-SSRSProject -Path "C:\Proejct.Server\Reports\My.Project.Reports.rptproj" -Configuration Debug

Even though I have my configurations setup in my project. I'm not sure if it's the format I have. If somebody could please tell me what's wrong with my project settings, I would highly appreciate it.

Here is how I have my configuration setup in my project:

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
    <FullPath>Debug</FullPath>
    <OutputPath>bin\Debug</OutputPath>
    <ErrorLevel>2</ErrorLevel>
    <OverwriteDatasets>True</OverwriteDatasets>
    <OverwriteDataSources>False</OverwriteDataSources>
    <TargetServerVersion>SSRS2016</TargetServerVersion>
    <Platform>Win32</Platform>
    <TargetReportFolder>My.Project.Reports</TargetReportFolder>
    <TargetDatasetFolder>Datasets</TargetDatasetFolder>
    <TargetDatasourceFolder>Data Sources</TargetDatasourceFolder>
    <TargetReportPartFolder>Report Parts</TargetReportPartFolder>
    <TargetServerURL>https://testing.domain.local/ReportServer</TargetServerURL>
    <StartItem>Report1.rdl</StartItem>
  </PropertyGroup>
  ...
  ...

...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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