none
WPF project Mysql Connect Error . RRS feed

  • Question

  •  

     

     hi , i write a simple mysql connect application on Microsoft Expression Blend 2 with C#  but while build project i was take this errors.

     

     Build project: Paylira.sln, Targets: Build
    __________________________________________________
    Project "C:\Users\Administrator\Documents\Expression\Expression Blend Projects\Paylira\Paylira.sln" (Build target(s)):

    __________________________________________________
    Project "C:\Users\Administrator\Documents\Expression\Expression Blend Projects\Paylira\Paylira.sln" is building "C:\Users\Administrator\Documents\Expression\Expression Blend Projects\Paylira\Paylira\Paylira.csproj" (default targets):

    __________________________________________________
    Project "C:\Users\Administrator\Documents\Expression\Expression Blend Projects\Paylira\Paylira\Paylira.csproj" is building "C:\Users\Administrator\Documents\Expression\Expression Blend Projects\Paylira\Paylira\y03wdmcy.tmp_proj" (_CompileTemporaryAssembly target(s)):

    C:\Windows\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /nowarn:1701,1702 /defineBig SmileEBUG;TRACE /reference:"..\..\..\..\..\..\..\Program Files\MySQL\MySQL Connector Net 5.2.4\Binaries\.NET 2.0\MySql.Data.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\PresentationCore.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\PresentationFramework.dll" /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll" /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /reference:"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\WindowsBase.dll" /debug+ /outSurprisebj\Debug\Paylira.exe /target:winexe /win32icon:Application.ico App.xaml.cs "AssemblyInfo.cs" prograsbarControl.xaml.cs sonuc.xaml.cs UserControl1.xaml.cs Window1.xaml.cs "C:\Users\Administrator\Documents\Expression\Expression Blend Projects\Paylira\Paylira\obj\Debug\prograsbarControl.g.cs" "C:\Users\Administrator\Documents\Expression\Expression Blend Projects\Paylira\Paylira\obj\Debug\sonuc.g.cs" "C:\Users\Administrator\Documents\Expression\Expression Blend Projects\Paylira\Paylira\obj\Debug\UserControl1.g.cs" "C:\Users\Administrator\Documents\Expression\Expression Blend Projects\Paylira\Paylira\obj\Debug\Window1.g.cs" "C:\Users\Administrator\Documents\Expression\Expression Blend Projects\Paylira\Paylira\obj\Debug\App.g.cs" "C:\Users\Administrator\Documents\Expression\Expression Blend Projects\Paylira\Paylira\obj\Debug\GeneratedInternalTypeHelper.g.cs"
    AssemblyInfo.cs(5,18): error CS0234: The type or namespace name 'MysqlClient' does not exist in the namespace 'MySql.Data' (are you missing an assembly reference?)
    Done building project "y03wdmcy.tmp_proj" -- FAILED.
    C:\Users\Administrator\Documents\Expression\Expression Blend Projects\Paylira\Paylira\Window1.xaml(5,2): error MC2000: Unknown build error, 'Could not find file 'C:\Users\Administrator\Documents\Expression\Expression Blend Projects\Paylira\Paylira\obj\Debug\Paylira.exe'. Line 5 Position 2.'
    Done building project "Paylira.csproj" -- FAILED.
    Build failed.

    -------------------

    My AssemblyInfo.cs  source here

    ----------------

     

    //

    // This file was auto-generated by a tool. Do not modify.

    //

    using System.Resources;

    using MySql.Data.MysqlClient;

    [assembly: NeutralResourcesLanguageAttribute("en-US" , UltimateResourceFallbackLocation.MainAssembly)]

     

     

    ------------------------------------------------------

    if u any idea , can you write.

    Thursday, November 20, 2008 2:27 PM