I am using an upgraded VS project from VS2015 to VS2017. Everything working fined without any changed done to rldc file. But there will be RDLC compilation error as below when the RDLC report changed and saved.
Error The definition of this report is not valid or supported by this version of Reporting Services. The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition' which cannot be upgraded.
VS2017 will change the rdlc header from <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
to <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
I had searched on the net for solution and mostly advice to set the Solution/Project > properties > TargetServerVersion option to SQL Server 2008 R2, 2012. But I can't find the TargetServerVersion in my whole project solution. Is there any further setting needs to add in order to enable the option? Any advice or suggestions are welcome and thanks in advance.