Skip to content

Works correctly only if a .rptproj file contains more then one Report and DataSource #26

@PavelSamoilenko

Description

@PavelSamoilenko

Who faced to with the same limitations.

Error in PowerShell if only one item in XML (one report or one DataSource):
Publish-SSRSProject : The property 'Count' cannot be found on this object. Verify that the property exists

Error, if there are not DataSources in the rpproj file:
Publish-SSRSProject : The property 'DataSource' cannot be found on this object. Verify that the property exists.

You should add at least two items for every node:

  <ItemGroup>
    <Report Include="TestReport1.rdl" />
    <Report Include="TestReport2.rdl" />
  </ItemGroup>  
  <ItemGroup>
    <DataSource Include="SharedDataSourceTest.rds" />
    <DataSource Include="SharedDataSourceTest2.rds" />
  </ItemGroup>

Via Visual Studio:
image

Error here:
image
(before merge #25)

Would be grate if anybody remove these limitations.

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