MSBuild failing in Teamcity for asp.net VB website after upgrading framework from v4.0 to v4.7.2

Here is the build log from teamcity, I don't know why the teamcity can't find the referenced project for this website. I have already given reference via "Project references" which is also visible in sln file. Also, I upgraded the projects to 4.7.2 (both the project and dependent project).

[Rebuild] AspNetCompiler (18s) [AspNetCompiler] C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v /tmadmin.net -p Websites\Tmadmin.net\ -u -f -d PrecompiledWeb\tmadmin.net\ [AspNetCompiler] E:\TeamCity\buildAgent\work\684457ebf6628615\Websites\Tmadmin.net\App_Code\UnityConfig.vb(160, 0): error BC30002: Type 'FavItemsBroadcastReportPresenter' is not defined. [AspNetCompiler] E:\TeamCity\buildAgent\work\684457ebf6628615\Websites\Tmadmin.net\App_Code\UnityConfig.vb(164, 0): error BC30002: Type 'VideoConsolidatedReportPresenter' is not defined.

1 comment
Comment actions Permalink

Are you still facing this issue? It seems like the build is trying to go through the 4.0 compiler, which might be causing issues if your projects were upgraded to 4.7.2. If the issue still replicates please tell us which teamcity version you are using and share a screenshot of the build step settings.

0

Please sign in to leave a comment.