Latest News

  • Silverlight Online Chat
    Jul 24, 2010

    Today we launch the new Silverlight Live Chat application demonstrating the Liquid RichTextBox and Emoticon replacements.

  • New Super Shoot Em Up 2 Game
    Jun 29, 2010

    Added to the Games section is the new Super Shoot 'Em Up 2 game. Take control of your tank with the aim to defeat the computer controlled opponents. Features all new weapons, levels and Battle Mode!

  • Silverlight 4 Controls V5.3.2 Released
    Jun 28, 2010

    This release contains several fixes raised in the forums.

  • New Sandmania Puzzle Game
    Jun 18, 2010

    Sandmania is the latest game from vectorlight, the aim of this game is to guide sand from the top of the screen to the various colored containers below.

  • New Moon Tower Defense Game
    May 29, 2010

    Added to the Games section is the new Moon Tower Defense game. Defend the Moon from the circling Aliens and Humans.

software123
software123
Error when building the ItemViewer sample application Posted: Jan 21, 2010
 

------ Rebuild All started: Project: ItemViewer, Configuration: Debug Any CPU ------

C:\WINDOWS\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE;SILVERLIGHT /reference:"..\..\..\..\..\..\Liquid Controls 5.2.5\Liquid.dll" /reference:"C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Reference Assemblies\mscorlib.dll" /reference:"C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Reference Assemblies\System.Core.dll" /reference:"C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Reference Assemblies\system.dll" /reference:"C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Reference Assemblies\System.Net.dll" /reference:"C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Reference Assemblies\System.Windows.Browser.dll" /reference:"C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Libraries\Client\System.Windows.Controls.dll" /reference:"C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Reference Assemblies\System.Windows.dll" /reference:"C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Reference Assemblies\System.Xml.dll" /debug+ /debug:full /optimize- /out:obj\Debug\ItemViewer.dll /resource:obj\Debug\ItemViewer.g.resources /target:library App.xaml.cs Page.xaml.cs Properties\AssemblyInfo.cs "C:\Documents and Settings\JOF\Mijn documenten\downloads\ItemViewer\ItemViewer\obj\Debug\App.g.cs" "C:\Documents and Settings\JOF\Mijn documenten\downloads\ItemViewer\ItemViewer\obj\Debug\Page.g.cs"

c:\Liquid Controls 5.2.5\Liquid.dll: warning CS1684: Reference to type 'System.Windows.Media.Imaging.BitmapCreateOptions' claims it is defined in 'c:\Program Files\Microsoft SDKs\Silverlight\v2.0\Reference Assemblies\System.Windows.dll', but it could not be found


Compile complete -- 0 errors, 1 warnings

Begin application manifest generation

Application manifest generation completed successfully

Validating file names being packaged in the XAP

ItemViewer -> C:\Documents and Settings\JOF\Mijn documenten\downloads\ItemViewer\ItemViewer\Bin\Debug\ItemViewer.dll

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018: The "ValidateXaml" task failed unexpectedly.

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018: System.TypeLoadException: Could not load type 'System.Windows.Media.Imaging.BitmapCreateOptions' from assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase)

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at System.Reflection.Assembly.GetType(String name)

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.Schema.ClrNamespace.SearchAssembliesForShortName(String shortName)

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.Schema.ClrNamespace.TryGetXamlType(String xamlName, Assembly localAssembly, XamlType& xamlType)

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.Schema.ClrNamespace.GetXamlType(String typeName, XamlTypeSearchSettings searchSettings, Assembly localAssembly, Boolean throwOnError)

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.XamlContext.GetXamlType(String prefix, String name, XamlTypeSearchSettings searchSettings, XamlNamespace& xamlNs, Boolean throwOnError)

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.Parser.XamlScanner.ReadObjectElement(XamlName name, Boolean isEmptyTag)

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.Parser.XamlScanner.ReadElement()

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.Parser.XamlScanner.DoXmlRead()

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.Parser.XamlScanner.Read()

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.Parser.XamlPullParser.<P_PropertyElement>d__31.MoveNext()

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementBody>d__23.MoveNext()

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.Parser.XamlPullParser.<P_Element>d__7.MoveNext()

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementContent>d__39.MoveNext()

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementBody>d__23.MoveNext()

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.Parser.XamlPullParser.<P_Element>d__7.MoveNext()

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.Parser.XamlPullParser.<Parse>d__0.MoveNext()

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.TextReaderEnumerator.MoveNext()

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.Internal.Xaml.XamlTextReader.Read()

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at MS.MarkupCompiler.ValidationPass.ValidateXaml(String fileName, Assembly[] assemblies, Assembly callingAssembly, TaskLoggingHelper log, Boolean shouldThrow)

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute()

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute()

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at Microsoft.Silverlight.Build.Tasks.ValidateXaml.Execute()

C:\Program Files\MSBuild\Microsoft\Silverlight\v2.0\Microsoft.Silverlight.Common.targets(195,9): error MSB4018:    at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult)

Done building project "ItemViewer.csproj" -- FAILED.

========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========


Error 2 The "ValidateXaml" task failed unexpectedly.

System.TypeLoadException: Could not load type 'System.Windows.Media.Imaging.BitmapCreateOptions' from assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.

   at System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase)

   at System.Reflection.Assembly.GetType(String name)

   at MS.Internal.Xaml.Schema.ClrNamespace.SearchAssembliesForShortName(String shortName)

   at MS.Internal.Xaml.Schema.ClrNamespace.TryGetXamlType(String xamlName, Assembly localAssembly, XamlType& xamlType)

   at MS.Internal.Xaml.Schema.ClrNamespace.GetXamlType(String typeName, XamlTypeSearchSettings searchSettings, Assembly localAssembly, Boolean throwOnError)

   at MS.Internal.Xaml.XamlContext.GetXamlType(String prefix, String name, XamlTypeSearchSettings searchSettings, XamlNamespace& xamlNs, Boolean throwOnError)

   at MS.Internal.Xaml.Parser.XamlScanner.ReadObjectElement(XamlName name, Boolean isEmptyTag)

   at MS.Internal.Xaml.Parser.XamlScanner.ReadElement()

   at MS.Internal.Xaml.Parser.XamlScanner.DoXmlRead()

   at MS.Internal.Xaml.Parser.XamlScanner.Read()

   at MS.Internal.Xaml.Parser.XamlPullParser.<P_PropertyElement>d__31.MoveNext()

   at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementBody>d__23.MoveNext()

   at MS.Internal.Xaml.Parser.XamlPullParser.<P_Element>d__7.MoveNext()

   at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementContent>d__39.MoveNext()

   at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementBody>d__23.MoveNext()

   at MS.Internal.Xaml.Parser.XamlPullParser.<P_Element>d__7.MoveNext()

   at MS.Internal.Xaml.Parser.XamlPullParser.<Parse>d__0.MoveNext()

   at MS.Internal.Xaml.TextReaderEnumerator.MoveNext()

   at MS.Internal.Xaml.XamlTextReader.Read()

   at MS.MarkupCompiler.ValidationPass.ValidateXaml(String fileName, Assembly[] assemblies, Assembly callingAssembly, TaskLoggingHelper log, Boolean shouldThrow)

   at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute()

   at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute()

   at Microsoft.Silverlight.Build.Tasks.ValidateXaml.Execute()

   at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult) ItemViewer

 
 
dan
dan
RE: Error when building the ItemViewer sample application Posted: Jan 25, 2010
 

Hi,


I have updated the demo as the current one was built against an older version of Visual Studio.  You can download the updated demo from the same link as before.


http://www.vectorlight.net/controls/itemviewer.aspx


Thanks!

 
 

Rate this page: 

1 Star 2 Star 3 Star 4 Star 5 Star
8 Ratings / 2.5 Average