After I ran the Kentico Upgrade from version 7.0.31 to 8, error is generating.
Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0234: The type or namespace name 'CMSOutputFilter' does not exist in the namespace 'CMS' (are you missing an assembly reference?)
Source Error:
Source File: XXXXX\CMS\App_Code\Samples\Modules\SampleMacroModule.cs Line: 5
Line 3: using CMS.GlobalHelper;
Line 4: using CMS.SettingsProvider;
Line 5: using CMS.CMSOutputFilter;
Line 6:
Did you run the upgrade tool to tell you what needed to be changed? You might check out the reference tool to see what it changed to from v7 to v8.
Class
CMS.CMSOutputFilter.OutputFilter
was moved to
CMS.OutputFilter.ResponseOutputFilter
Brenden,
Could you please provide the URL of reference check TOOL.
Regards Aashish Khandelwal Technoscatter - Drive To Technology
Hello Aashish,
the easiest way to find out API changes in Kentico 8 is to use the following page: List of all changes in Kentico 8 API + on the same page you can download the Kentico code upgrade tool.
Best regards, Martin
Hello Martin,
I tried KENTICO CODE UPGRADE TOOL but it requires framework 4.5 as a prerequisite. I have 4.0 installed on my server so its not working and throwing exceptions.
@Aashish, the link was in my initial post but it looks like I pasted the wrong link and the formatting of the links on the site is hard to read sometimes. http://devnet.kentico.com/documentation/api-changes/374
If you have a local copy of your code not on the server then install .net 4.5 and run it from there and have it evaluate your site.
Please, sign in to be able to submit a new answer.