Cannot build Silverlight 1.1 in debug :(

I have the latest VPC of Orcas, Silverlight 1.1 Alpha refresh and alpha tools but when I try to build a debug release silverlight project I get…

Error 1 Unexpected debug information initialization error — ‘Failed to find a required export in the runtime.’ SplashScreenDownload2

I wonder if there is some sort of debug version of the dlls that I’m missing. It used to work before the latest refresh, and it also builds in release mode. Just in case anyone has the same problem or has some ideas this is the diagnosting output from Visual Studio (you get the same error if you run csc by hand)

Target "CoreCompile" in file "C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.CSharp.Targets":
  Building target "CoreCompile" completely.
  Output file "obj\Debug\SplashScreenDownload2.dll" does not exist.
  Task "Csc"
    Command:
    C:\WINDOWS\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:"c:\Program Files\Microsoft Silverlight\agclr.dll" /reference:"c:\Program Files\Microsoft Silverlight\mscorlib.dll" /reference:"c:\Program Files\Microsoft Silverlight\System.Core.dll" /reference:"c:\Program Files\Microsoft Silverlight\system.dll" /reference:"c:\Program Files\Microsoft Silverlight\system.silverlight.dll" /reference:"c:\Program Files\Microsoft Silverlight\system.Xml.core.dll" /debug+ /debug:full /optimize- /out:obj\Debug\SplashScreenDownload2.dll /resource:SLDL_DLL.DLL,SplashScreenDownload2.SLDL_DLL.DLL /resource:sqlservr.exe,SplashScreenDownload2.sqlservr.exe /resource:fxref.hxs,SplashScreenDownload2.fxref.hxs /target:library Page.xaml.cs Properties\AssemblyInfo.cs "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\SplashScreenDownload2\SplashScreenDownload2\obj\Debug\Page.g.cs" "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\SplashScreenDownload2\SplashScreenDownload2\obj\Debug\ProgressAnim.g.cs"
fatal error CS0040: Unexpected debug information initialization error — ‘Failed to find a required export in the runtime.’

Compile complete — 1 errors, 0 warnings
  Done executing task "Csc" — FAILED.
Done building target "CoreCompile" in project "SplashScreenDownload2.csproj" — FAILED

[Edit] Finally gave and reinstalled the VPC. Please note, if you want an error free install ensure that install IE7 before attempting to install Silverlight, I had lots of odd problems with IE6.

Advertisements
This entry was posted in Silverlight. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s