Click here to Skip to main content
16,005,120 members
Home / Discussions / WPF
   

WPF

 
QuestionHow to read data from listbox.Itemtemplate and pass it in xml format Pin
Rocky2327-Apr-11 20:58
Rocky2327-Apr-11 20:58 
AnswerRe: How to read data from listbox.Itemtemplate and pass it in xml format Pin
Abhinav S27-Apr-11 21:33
Abhinav S27-Apr-11 21:33 
GeneralRe: How to read data from listbox.Itemtemplate and pass it in xml format Pin
Rocky2327-Apr-11 21:50
Rocky2327-Apr-11 21:50 
GeneralRe: How to read data from listbox.Itemtemplate and pass it in xml format Pin
Pete O'Hanlon27-Apr-11 21:55
mvePete O'Hanlon27-Apr-11 21:55 
QuestionLine chart API Pin
anishkannan27-Apr-11 20:17
anishkannan27-Apr-11 20:17 
AnswerRe: Line chart API Pin
Abhinav S27-Apr-11 21:31
Abhinav S27-Apr-11 21:31 
AnswerRe: Line chart API Pin
Pete O'Hanlon27-Apr-11 22:07
mvePete O'Hanlon27-Apr-11 22:07 
QuestionAssembly Not Found Error In XAML [modified] Pin
Kevin Marois27-Apr-11 10:51
professionalKevin Marois27-Apr-11 10:51 
I'm trying to reference my Project Model class from another project from within my UI project:

<Window x:Class="Abtech.Spares.UI.Views.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        xmlns:local="clr-namespace:Abtech.Spares.DataModel.Models;assembly=Abtech.Spares.DataModel.Models"
        Title="My App" 
        Height="600" 
        Width="800">


I'm trying to reference it in

<Window.Resources>

    <DataTemplate x:Key="Project" DataType="{x:Type local:ProjectModel}">
        <StackPanel Orientation="Horizontal">
            <Image Source="/Abtech.Spares.UI;component/Media/Graphics/Sidebar/project_16x16.png" Margin="0,0,2,0"></Image>
            <TextBlock Text="{Binding ProjectName}" />
        </StackPanel>
    </DataTemplate>

</Window.Resources>


The compiler is highligting this line
xmlns:local="clr-namespace:Abtech.Spares.DataModel.Models;assembly=Abtech.Spares.DataModel.Models"

and telling me that the assembly is not found. The assembly is referenced in this project.

The error is
Assembly 'Abtech.Spares.DataModel.Models' was not found. Verify that you are not missing an assembly reference. Also, verify that your project and all referenced assemblies have been built.

I'm not quiet sure what to do about this.
Everything makes sense in someone's mind
modified on Wednesday, April 27, 2011 4:58 PM

AnswerRe: Assembly Not Found Error In XAML Pin
Abhinav S27-Apr-11 18:37
Abhinav S27-Apr-11 18:37 
GeneralRe: Assembly Not Found Error In XAML Pin
Kevin Marois28-Apr-11 7:17
professionalKevin Marois28-Apr-11 7:17 
QuestionWPF namespaces reference [modified] Pin
devvvy26-Apr-11 23:19
devvvy26-Apr-11 23:19 
AnswerRe: WPF namespaces reference Pin
Jammer27-Apr-11 3:42
Jammer27-Apr-11 3:42 
GeneralRe: WPF namespaces reference Pin
devvvy27-Apr-11 21:08
devvvy27-Apr-11 21:08 
AnswerRe: WPF namespaces reference Pin
Ian Shlasko27-Apr-11 4:01
Ian Shlasko27-Apr-11 4:01 
GeneralRe: WPF namespaces reference Pin
SledgeHammer0127-Apr-11 6:51
SledgeHammer0127-Apr-11 6:51 
GeneralRe: WPF namespaces reference Pin
Ian Shlasko27-Apr-11 7:20
Ian Shlasko27-Apr-11 7:20 
GeneralRe: WPF namespaces reference Pin
SledgeHammer0127-Apr-11 7:46
SledgeHammer0127-Apr-11 7:46 
GeneralRe: WPF namespaces reference Pin
Pete O'Hanlon27-Apr-11 8:51
mvePete O'Hanlon27-Apr-11 8:51 
GeneralRe: WPF namespaces reference Pin
Pete O'Hanlon27-Apr-11 7:19
mvePete O'Hanlon27-Apr-11 7:19 
GeneralRe: WPF namespaces reference Pin
devvvy27-Apr-11 21:20
devvvy27-Apr-11 21:20 
GeneralRe: WPF namespaces reference Pin
Pete O'Hanlon27-Apr-11 22:16
mvePete O'Hanlon27-Apr-11 22:16 
GeneralRe: WPF namespaces reference Pin
RugbyLeague27-Apr-11 22:31
RugbyLeague27-Apr-11 22:31 
GeneralAnswers here! Thanks [modified] Pin
devvvy27-Apr-11 21:06
devvvy27-Apr-11 21:06 
GeneralRe: WPF namespaces reference Pin
Pete O'Hanlon27-Apr-11 21:53
mvePete O'Hanlon27-Apr-11 21:53 
GeneralRe: WPF namespaces reference Pin
devvvy28-Apr-11 16:55
devvvy28-Apr-11 16:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.