Upgrades Questions on upgrading to version 7.x.
Version 7.x > Upgrades > Visual Studio Build errors after upgrade to 7 View modes: 
User avatar
Member
Member
Snarrak - 2/20/2014 9:00:53 AM
   
Visual Studio Build errors after upgrade to 7
After upgrading from v6 to v7 I ran into 176 Build Errors in Visual Studio, I used the .new CSPROJ-file.

These are the errors are about missing files in the folders APIExample, CMSModules and Old_App_code. What happened to these files? I tried removing these lines from the csproj-file manually, but this only raises other errors.

How to deal with these errors?

Thanks.
Jorik

Examples:
Error 107 Source file 'CMSAPIExamples\Code\Administration\SmartSearch\Default.aspx.designer.cs' could not be found
Error 108 Source file 'CMSAPIExamples\Code\Tools\Staging\Default.aspx.cs' could not be found
Error 109 Source file 'CMSAPIExamples\Code\Tools\Staging\Default.aspx.designer.cs' could not be found
Error 110 Source file 'CMSAPIExamples\Code\Administration\WebFarm\Default.aspx.cs' could not be found
Error 111 Source file 'CMSAPIExamples\Code\Administration\WebFarm\Default.aspx.designer.cs' could not be found
Error 112 Source file 'CMSAPIExamples\Code\Settings\Default.aspx.cs' could not be found
Error 113 Source file 'CMSAPIExamples\Code\Settings\Default.aspx.designer.cs' could not be found
Error 114 Source file 'CMSAPIExamples\Controls\APIExample.ascx.cs' could not be found
Error 115 Source file 'CMSAPIExamples\Controls\APIExample.ascx.designer.cs' could not be found
Error 116 Source file 'CMSAPIExamples\Controls\APIExampleSection.ascx.cs' could not be found
Error 117 Source file 'CMSAPIExamples\Controls\APIExampleSection.ascx.designer.cs' could not be found
Error 118 Source file 'CMSAPIExamples\Default.aspx.cs' could not be found
Error 119 Source file 'CMSAPIExamples\Default.aspx.designer.cs' could not be found
Error 120 Source file 'CMSAPIExamples\Code\Tools\MediaLibrary\Default.aspx.cs' could not be found
Error 121 Source file 'CMSAPIExamples\Code\Tools\MediaLibrary\Default.aspx.designer.cs' could not be found
Error 122 Source file 'CMSAPIExamples\Code\Development\Modules\Default.aspx.cs' could not be found
Error 123 Source file 'CMSAPIExamples\Code\Development\Modules\Default.aspx.designer.cs' could not be found
Error 124 Source file 'CMSAPIExamples\Pages\APIExamplesPage.Master.cs' could not be found
Error 125 Source file 'CMSAPIExamples\Pages\APIExamplesPage.Master.designer.cs' could not be found
Error 126 Source file 'CMSAPIExamples\Pages\Menu.aspx.cs' could not be found
Error 127 Source file 'CMSAPIExamples\Pages\Menu.aspx.designer.cs' could not be found
Error 128 Source file 'CMSModules\EventManager\Controls\EventAttendees.ascx.designer.cs' could not be found
Error 129 Source file 'CMSModules\EventManager\Controls\EventManagement.ascx.designer.cs' could not be found
Error 130 Source file 'CMSModules\Blogs\CMSPages\Comment_Edit.aspx.designer.cs' could not be found
Error 131 Source file 'CMSModules\Blogs\CMSPages\Trackback.aspx.designer.cs' could not be found
Error 132 Source file 'CMSModules\Blogs\Controls\BlogCommentDetail.ascx.designer.cs' could not be found
Error 133 Source file 'CMSModules\Blogs\Controls\CommentFilter.ascx.designer.cs' could not be found
Error 134 Source file 'CMSModules\Blogs\Controls\Comment_Edit.aspx.designer.cs' could not be found
Error 135 Source file 'CMSModules\Blogs\Controls\NewBlog.ascx.designer.cs' could not be found
Error 136 Source file 'CMSModules\Blogs\Controls\NewSubscription.ascx.designer.cs' could not be found
Error 137 Source file 'CMSModules\Blogs\MyBlogs\MyBlogs.aspx.designer.cs' could not be found
Error 138 Source file 'CMSModules\Blogs\MyBlogs\MyBlogs_Comments_List.aspx.designer.cs' could not be found
Error 139 Source file 'CMSModules\Blogs\MyBlogs\MyBlogs_Header.aspx.designer.cs' could not be found
Error 140 Source file 'CMSModules\Blogs\Tools\Blogs_Comments_List.aspx.designer.cs' could not be found
Error 141 Source file 'CMSModules\Blogs\Tools\Blogs_Default.aspx.designer.cs' could not be found
Error 142 Source file 'CMSModules\Blogs\Tools\Blogs_Header.aspx.designer.cs' could not be found
Error 143 Source file 'CMSModules\EventManager\CMSPages\AddToOutlook.aspx.designer.cs' could not be found

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/25/2014 2:17:39 AM
   
RE:Visual Studio Build errors after upgrade to 7
Hi,

How was the upgrade applied? Manually or automatically using the tool?
Version 6 was web site project or web application project?

Best regards,
Juraj Ondrus

User avatar
Member
Member
Snarrak - 2/25/2014 2:32:26 AM
   
RE:Visual Studio Build errors after upgrade to 7
Hi Juraj,

I tried both manual and automatic, both same issue.
It was a version 6 web application

Regards,
Jorik

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/28/2014 5:18:09 AM
   
RE:Visual Studio Build errors after upgrade to 7
It is very strange, are those files included into the web application project? Do you see them in the solution explorer tree?

Best regards,
Juraj Ondrus

User avatar
Member
Member
Snarrak - 2/28/2014 5:57:55 AM
   
RE:Visual Studio Build errors after upgrade to 7
No the files do not exist (in solution explorer, or even in the file explorer).


User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/3/2014 3:34:05 AM
   
RE:Visual Studio Build errors after upgrade to 7
This is very strange. I am unable to reproduce the issue so far. Would it be possible to describe the exact upgrade steps and also what customizations were made to the project prior the upgrade?

Thank you!

Best regards,
Juraj Ondrus

User avatar
Member
Member
Snarrak - 3/5/2014 3:31:32 PM
   
RE:Visual Studio Build errors after upgrade to 7
Hi Juraj,

Not a lot of customization. Most customization are templates.

The files which are missing, are not used for any customization. For example the Blogs-module is one of the errors, but we do not use this blog module.

Download the upgrade report below.

Thanks in advance!

I Upgrade to v7 report

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/6/2014 1:55:29 AM
   
RE:Visual Studio Build errors after upgrade to 7
Hello,

Thank you for the report. Have you tried to merge the changes from the .new project file to the existing one? It seems that the .new one contains all the modules listed and you are not using them. I would try merging the changes and not overwriting the old file right ahead.

Best regards,
Juraj Ondrus

User avatar
Member
Member
Snarrak - 3/6/2014 10:18:49 AM
   
RE:Visual Studio Build errors after upgrade to 7
Hi,

I assume that I need to Content and Compile elements of the new csproj file. However, this project file contains all the items I do not have which are causing the build errors as seen in the report.
I think that new csproj file contains more modules than I have installed.

In what way are you suggesting me to do a merge? there are like a thousand differences if I compare the files...

Regards,
Jorik

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/7/2014 1:16:14 AM
   
RE:Visual Studio Build errors after upgrade to 7
Hi,

The thing is that the upgrade just copies the new files and is not checking the installation type. So, in this case you need to keep using the old file or, check what is new and additional in the .new file and add it to the old one.

Best regards,

Juraj Ondrus