.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error in Generic.xaml

1 REPLY 1
Reply
Message 1 of 2
Anonymous
279 Views, 1 Reply

Error in Generic.xaml

Hallo,

 

I am trying to convert some VBA-Moduls to VB.net using Visual Studio 2010 Express and have done quite well with one of them.

At my second try I got the following Problem:

 

When I write my code, I have no errors or warnings in it. 

  

But when I press the "build"-button the following error occurs,

saying:

 

Fehler 1 Der Typ "local:CustomControl1"wurde nicht gefunden (was not found). Beachten Sie, dass bei Typnamen die Groß- und Kleinschreibung berücksichtigt wird. Zeile 7 Position 12. S:\AutocadProgrammierung\NET_Programme\Stabstar\StabStar\StabStar\Themes\Generic.xaml 7 12 StabStar

 

The error ist in a file, that I have not written myself (last line of the following text)  with the header "XAML":

 

<ResourceDictionary

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

xmlns:local="clr-namespace:StabStar">

 

<Style TargetType="{x:Type local:CustomControl1}">

 

I have already removed many parts of my own code to reduce it and make it simple, but the error is still there.

Does anybody know, what the reason could be?

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

I think, I got the solution myself.

I simlpy removed the modul from the explorer. It seems not to be necessary. I do not know how it got there.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost