Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

the namespace prefix "0" is not defined

Featured Replies

Posted

I've decompiled a .net exe using dotpeek and justdecompile and I am getting a lot of errors about the namespace prefix "0" is not defined  when imported into Visual Studio. The errors are coming from XAML files

Content="{Binding Path=Double, StringFormat={0:c}}"/>
Binding="{Binding Path=DateTime_payment, StringFormat='{0:MMM-dd-yyyy hh:mm tt}'}"/>
Binding="{Binding Path=Payment_total_amount, StringFormat='{0:$#,##0.00}'}"/>            

Above is an example of where i am getting the errors. This exe uses US locale and all I want to do is change it to uk. This is the only reason I decompiled it as I dont have source code.   

Sounds like you are missing some required xmlns' at the top of the file to tell it what is looking to follow standards wise. 

Things like this:

             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:ignore="http://www.ignore.com"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             mc:Ignorable="d ignore" 

 

  • Author

I have these at the top

xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:Saloon"
        xmlns:db="clr-namespace:SaloonDB;assembly=SaloonDB"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

 

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.