Visual Studio 2013 MenuItem Compile Issue

SyntaxEditor for Silverlight Forum

Posted 5 years ago by Clark French
Version: 14.1.0172
Platform: Silverlight 5
Avatar

When we move to Visual Studio 2013 from VS2010, we are unable to compile the app.  The error we get is as follows:

Error 3 The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?) D:\Temp\ActiproVS2013MenuItemIssue\ActiproVS2013MenuItemIssue\obj\Debug\MainControl.g.cs 42 18 ActiproVS2013MenuItemIssue

We copied the file from the sample program. The samples compile and work just fine.  When we copy the file from the samples into a new project it does not work anymore and gives the above error.

Are there any special project settings or file settings we need to make in order to get the project to compile.

Comments (1)

Posted 5 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Clark,

It sounds like you are missing an assembly reference in your separate project, such as to our Shared Library for Silverlight.  We define a MenuItem control in that.


Actipro Software Support

The latest build of this product (v2018.1 build 0232) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.