Vectorlight News

  • Chat App Converted to HTML and JQuery
    Sep 08, 2011

    Converted from Silverlight to HTML and Javascript/JQuery is the Vectorlight Chat App. Login using your Vectorlight password to chat using your username and avatar.

  • HTML5 iPhone,Android Big Guns Tower Defense
    Jul 02, 2011

    Big Guns has made the leap from Windows Phone 7 (XNA) to HTML5 so you can now play it on your iPhone, Android and other HTML5 compatible devices.

  • HTML5 Games - Word Poppers and Batty
    Jun 04, 2011

    As the take-up of HTML5 quickens (74% of users currently have a browser capable of HTML5 Canvas) we present two more games for both your browser and mobile.

  • Big Guns Tower Defense on Windows Phone 7
    May 06, 2011

    Coming soon to Windows Phone 7 is an XNA port of the popular Vectorlight tower defense game Super Tower Defense. Whilst retaining many of the graphical and gameplay features of the original Silverlight game.

  • Wakacube WP7 Update
    Apr 26, 2011

    Released to the Windows Phone 7 marketplace today is Version 1.1 of Wakacube the 3D physics game of skill. Included in the update are more levels (30 in total) and new mode Wakatime which generates random crate structures to keep players entertained long after the levels have been completed.

  • Home Page News
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: 

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