0
爲什麼Microsoft Visual Studio 2008自動將SSRS報告的模式從2008更改爲2010?當添加某些功能(這些都是2008年兼容)架構將自動變更情況:從Microsoft Visual Studio 2008中的自動模式更改
<Reportxmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
到:
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition">
有沒有辦法來強制模式繼續成爲2008年的版本?
請注意,TargetServerVersoin項目屬性設置爲SQL Server 2008 R2。
爲什麼你想要它保持不變?看看[這](http://stackoverflow.com/questions/39188874/ssrs-2014-report-deploy-issue)爲什麼它發生在後續版本以及如何解決它。 2008 R2 R2是另一個版本的xmlns。 – SMM
@SMM感謝您的回覆。我們有我們自己的嵌入式報告軟件,它只能使用2008架構。 – Nicholas
如果您只需要將RDLs正確格式化以供使用,那麼您應該能夠在項目屬性中設置目標SSRS報告版本,並且在構建時您將在bin文件夾中獲得適當的xlnms版本。我不認爲你可以阻止VS這樣做,因爲在某些VS版本級別下,本地xmlns發生了變化。 – SMM