Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nglara opened this issue Jun 23, 2023 · 1 comment
Open

Comments

@nglara
Copy link

nglara commented Jun 23, 2023

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>
  ...
  ...

...

@IanLedzion
Copy link

I think that the module targets old style rptproj files which have a different XML schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants