If project names changed then which things are mandatory?

Aug 14, 2013 at 8:12 PM
Hi,
i developed a new solution and copied files in each project.

my projects' names were different.

Now i am getting almost 64 errors when i try to build the application.

see below.


Error 43 The type reference cannot find a public type named 'BBCodeBlock'. Line 13 Position 50. POS.App H:\WPF POS\POS\POS\POS\POS\Pages\Navigation.xaml 13 50
Error 37 The tag 'ModernWindow' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 1 Position 19. POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 1 19
Error 26 The tag 'ModernTab' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 15 Position 10. POS.App H:\WPF POS\POS\POS\POS\POS\Content\ContentLoaderImages.xaml 15 10
Error 35 The tag 'ModernTab' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 11 Position 10. POS.App H:\WPF POS\POS\POS\POS\POS\Content\LoremIpsumList.xaml 11 10
Error 38 The tag 'ModernTab' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 11 Position 10. POS.App H:\WPF POS\POS\POS\POS\POS\Pages\ContentLoader.xaml 11 10
Error 39 The tag 'ModernTab' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 10 Position 10. POS.App H:\WPF POS\POS\POS\POS\POS\Pages\ControlsModern.xaml 10 10
Error 40 The tag 'ModernTab' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 10 Position 10. POS.App H:\WPF POS\POS\POS\POS\POS\Pages\ControlsStyles.xaml 10 10
Error 42 The tag 'ModernTab' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 10 Position 10. POS.App H:\WPF POS\POS\POS\POS\POS\Pages\LayoutTab.xaml 10 10
Error 44 The tag 'ModernTab' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 10 Position 10. POS.App H:\WPF POS\POS\POS\POS\POS\Pages\Settings.xaml 10 10
Error 31 The tag 'ModernMenu' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 14 Position 18. POS.App H:\WPF POS\POS\POS\POS\POS\Content\ControlsModernMenu.xaml 14 18
Error 30 The tag 'ModernFrame' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 15 Position 22. POS.App H:\WPF POS\POS\POS\POS\POS\Content\ControlsModernFrame.xaml 15 22
Error 33 The tag 'DataGridTextColumn' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 25 Position 22. POS.App H:\WPF POS\POS\POS\POS\POS\Content\ControlsStylesDataGrid.xaml 25 22
Error 29 The tag 'BBCodeBlock' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 17 Position 18. POS.App H:\WPF POS\POS\POS\POS\POS\Content\ControlsModernButton.xaml 17 18
Error 34 The tag 'BBCodeBlock' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 15 Position 14. POS.App H:\WPF POS\POS\POS\POS\POS\Content\ControlsStylesSampleForm.xaml 15 14
Error 28 The tag 'BBCodeBlock' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 13 Position 18. POS.App H:\WPF POS\POS\POS\POS\POS\Content\ControlsModernBBCodeBlock.xaml 13 18
Error 41 The tag 'BBCodeBlock' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 13 Position 18. POS.App H:\WPF POS\POS\POS\POS\POS\Pages\Introduction.xaml 13 18
Error 27 The tag 'BBCodeBlock' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 11 Position 14. POS.App H:\WPF POS\POS\POS\POS\POS\Content\ContentLoaderIntro.xaml 11 14
Error 32 The tag 'BBCodeBlock' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 11 Position 10. POS.App H:\WPF POS\POS\POS\POS\POS\Content\ControlsModernWindow.xaml 11 10
Error 36 The tag 'BBCodeBlock' does not exist in XML namespace 'http://firstfloorsoftware.com/ModernUI'. Line 10 Position 10. POS.App H:\WPF POS\POS\POS\POS\POS\Content\ModernFrame\CancelNavigateSample.xaml 10 10
Error 45 The non-generic type 'System.WeakReference' cannot be used with type arguments POS.MetroUI.WPF H:\WPF POS\POS\POS\POS\POS.MetroUI.WPF\Windows\Controls\ModernFrame.cs 69 22
Error 52 The name "SampleParameterCommand" does not exist in the namespace "clr-namespace:POS.App". POS.App H:\WPF POS\POS\POS\POS\POS\Pages\Navigation.xaml 20 33
Error 51 The name "SampleMsgBoxCommand" does not exist in the namespace "clr-namespace:POS.App". POS.App H:\WPF POS\POS\POS\POS\POS\Pages\Navigation.xaml 19 33
Error 50 The name "SampleDisabledCommand" does not exist in the namespace "clr-namespace:POS.App". POS.App H:\WPF POS\POS\POS\POS\POS\Pages\Navigation.xaml 18 33
Error 1 The name "ModernWindow" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 1 1
Error 2 The name "ModernWindow" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 9 5
Error 4 The name "ModernWindow" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 13 5
Error 5 The name "LinkGroup" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 14 9
Error 6 The name "LinkGroup" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 15 13
Error 8 The name "LinkGroup" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 19 9
Error 9 The name "LinkGroup" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 20 13
Error 15 The name "LinkGroup" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 28 9
Error 16 The name "LinkGroup" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 29 13
Error 19 The name "LinkGroup" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 34 9
Error 20 The name "LinkGroup" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 35 13
Error 23 The name "LinkGroup" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 40 9
Error 24 The name "LinkGroup" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 41 13
Error 3 The name "Link" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 10 9
Error 7 The name "Link" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 16 17
Error 10 The name "Link" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 21 17
Error 11 The name "Link" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 22 17
Error 12 The name "Link" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 23 17
Error 13 The name "Link" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 24 17
Error 14 The name "Link" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 25 17
Error 17 The name "Link" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 30 17
Error 18 The name "Link" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 31 17
Error 21 The name "Link" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 36 17
Error 22 The name "Link" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 37 17
Error 25 The name "Link" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\MainWindow.xaml 42 17
Error 48 The name "DefaultLinkNavigator" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\Pages\Navigation.xaml 16 25
Error 49 The name "DefaultLinkNavigator" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\Pages\Navigation.xaml 17 29
Error 47 The name "BBCodeBlock" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\Pages\Navigation.xaml 13 20
Error 53 The name "BBCodeBlock" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\Pages\Navigation.xaml 30 17
Error 54 The name "BBCodeBlock" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\Pages\Navigation.xaml 33 17
Error 55 The name "BBCodeBlock" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\Pages\Navigation.xaml 34 17
Error 56 The name "BBCodeBlock" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\Pages\Navigation.xaml 35 17
Error 57 The name "BBCodeBlock" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF POS\POS\POS\POS\POS\Pages\Navigation.xaml 37 17
Error 58 The name "BBCodeBlock" does not exist in the namespace "http://firstfloorsoftware.com/ModernUI". POS.App H:\WPF PO
Aug 14, 2013 at 8:19 PM
First error comes in app project. (in Navigation.xaml)

when i checked this namespace then intellisense doesn't show below namespace.
xmlns:mui="http://firstfloorsoftware.com/ModernUI"

I even set it in Assembly.Info (of POS.MetroUI.WPF).

please check it .

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Markup;
using System.Resources;
using System;


// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("b2f22fc6-bee5-463e-b4011-0324ab2225d9")]

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("POS.MetroUI")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Maifs")]
[assembly: AssemblyProduct("POS.MetroUI")]
[assembly: AssemblyCopyright("Copyright © Maifs 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

[assembly: XmlnsDefinition("http://firstfloorsoftware.com/ModernUI", "POS.MetroUI.Presentation")]
[assembly: XmlnsDefinition("http://firstfloorsoftware.com/ModernUI", "POS.MetroUI.Windows")]
[assembly: XmlnsDefinition("http://firstfloorsoftware.com/ModernUI", "POS.MetroUI.Windows.Controls")]
[assembly: XmlnsDefinition("http://firstfloorsoftware.com/ModernUI", "POS.MetroUI.Windows.Converters")]
[assembly: XmlnsDefinition("http://firstfloorsoftware.com/ModernUI", "POS.MetroUI.Windows.Navigation")]
[assembly: XmlnsPrefix("http://firstfloorsoftware.com/ModernUI", "mui")]

[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page, 
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page, 
// app, or any theme specific resource dictionaries)
)]
[assembly: NeutralResourcesLanguageAttribute("en-US")]
Aug 14, 2013 at 9:09 PM
i uploaded the whole project at here for more convenience.

Please look into it.
Aug 16, 2013 at 12:03 AM
Thanks you soo much buddies. My problem has been solved. :)
Coordinator
Aug 16, 2013 at 8:31 AM
First, I would strongly suggest to not just pull the entire source into your own project. You'll be missing out on ModernUI fixes and new features (or you'll need to apply them manually). And second, when you choose to do this, you must retain all copyright and trademark notices as per the license.

The build error indicates that you are missing the XmlnsDefinition attributes. Looking at your source, that seems to be the case.