473,385 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

MSBuild problem

When running a build using MSBuild (.NET Framework 2.0) I am getting
the following error appearing:
error BC30610: Class 'FrontPage' must either be declared
'MustInherit' or override the following inherited 'MustOverride'
member(s):
d:\builds\internet\mainstream\FrontEnd\Motorbike
\Proposer1.aspx.designer.vb(22):

This is using a build file that contains the data:

<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/
developer/msbuild/2003">

<Target Name="Build">

<!-- Clean, then rebuild entire solution -->
<MSBuild Projects="InternetFull.sln" Targets="Clean;Rebuild" />

If I build the solution on the same machine using Visual Studio 2005
then it builds with no problems.

The classes that cause that error are code behind pages that inherit
from a generic base page class that uses generics. This base page
class has a MustOverride member in it. Some sample code:

Public MustInherit Class AMBPage(Of P As IPresenter)
Inherits ABasePage(Of P, IMBWebApplicationController)

Public MustOverride Overrides Function CreatePresenter() As P
End Class

Partial Public Class FrontPage
Inherits AMBPage(Of FrontPagePresenter)
Implements IFrontPageView

#Region " Overrides "

''' <summary>
''' Creates a new instance of the FrontPagePresenter
''' </summary>
Public Overrides Function CreatePresenter() As FrontPagePresenter

Return New FrontPagePresenter(Me)

End Function

#End Region

End Class

Any help that I can get with this would be greatly appreciated!

Thanks,

Rob

Oct 17 '07 #1
0 975

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Uma Abhyankar | last post by:
Hello, I am using .NET Beta1 Visual Studio. I have to invoke VCBuild through MSBuild on command prompt. I have following issues: Issue1: -------- MSBuild invokes VCBuild internally....
1
by: Uma Abhyankar | last post by:
Hello All, I was facing an issue with VCBuild on Beta1. Today after shifting to .NET Beta2, it looks like the issue is still not resolved :-( I have to invoke VCBuild through MSBuild on command...
4
by: cisco | last post by:
could not find anything specific to this but does anyone know of msbuild has a new quick start tutorials. The only one i can find seem to be for the preview version of msbuild. Is thiis the only...
5
by: Al | last post by:
Hi all We have created a xml file that imports a single project using the Import element. This project compiles to a class library, but has references to two other projects that are also class...
3
by: Danny | last post by:
Hi I trying to master msBuild but have a problem. I have a solution that I wish to build using msbuild but want to override BeforeBuild/AfterBuild targets for each of the projects. I trying to...
2
by: Daniel Knöpfel | last post by:
Hi all I need to adapt an Msbuild script to compile a visual studio 2005 solution (including several projects and a website). The application is written in C# and using .NET 2.0. Due to late...
4
by: ramshankaryadav | last post by:
Hi, I'm facing a problem while building a project through MSBuild, this project is a part of a solution which has several other projects on which it depends, but I want to build this project...
3
by: shapper | last post by:
Hello, I am working on an ASP.MET MVC Web Application with NET 3.5 in VS 2008. I need to run some extra tasks on this project build so I download MSBuild from http://msbuildtasks.tigris.org/....
7
by: shapper | last post by:
Hello, I am working on an ASP.MET MVC Web Application with NET 3.5 in VS 2008. I need to run some extra tasks on this project build so I download MSBuild from http://msbuildtasks.tigris.org/....
0
by: bpulimal | last post by:
We have a build machine that gets files for MSBuild from source control (SourceGear Vault). Occasionally, developers check in components and later decide to exclude those components from Visual...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.