A few issues with Silverlight 4 after Installing Visual Studio 2010

Silverlight 4 beta just came out and is better than I expected. This is the first post of many about my experience with this beta and the road blocks I’ll find during my expedition. This version of Silverlight is without any doubt brilliant as well as all the features that are coming out in the release are beyond my expectations.

After installing Visual Studio 2010 I received this “successful” error message.

image

 

I installed Silverlight 4 beta without any issue, fast and straight forward.

image

 

After installation you can see the projects you can build, .NET RIA Services  WCF RIA Services are out of the box.

image

 

When creating a new project now you have the choice to target different Silverlight versions.

image

 

So far so good, issues I found in the beta up to this point.

  • Roadblock testing the COM interop

Error    1    One or more types required to compile a dynamic expression cannot be found. Are you missing references to Microsoft.CSharp.dll and System.Core.dll?  

When adding a reference to the project I get an empty box.

image

If I look at the directory where the dlls are installed

“C:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0”

I cannot find the Microsoft.CSharp.dll I can only find Microsoft.VisualBasic.dll to use. Where is the C# dll located for Silverlight 4? I wasn’t able to find it on my computer.

 

  • Testing the Printing API

When using the printing api, I don’t get access to the raw image that is going to send to the printer, you can pass the objects to print and the API will take care of sending it to the printer, I was expecting to get access to the preview to be able to modify the output if need it.

 

  • Hosting HTML content

I can only host HTML using the WebBrowser tag when running the Silverlight app in fully trusted mode. Otherwise if not I get a HTML disabled control.

<WebBrowser x:Name="MyBrowserControl" Visibility="Collapsed" Width="700" Height="500" />

image

Hope this helps to other people “playing” with Silverlight 4.

Cheers

Al

Follow me in twitter | bookmark me | Subscribe to my feed | Add stats to your blog

Published Monday, November 23, 2009 8:00 PM by albertpascual
Filed under:

Comments

# A few issues with Silverlight 4 after Installing Visual Studio &#8230; &laquo; ???????????????????????????????????????

Pingback from  A few issues with Silverlight 4 after Installing Visual Studio &#8230; &laquo;  ???????????????????????????????????????

# re: A few issues with Silverlight 4 after Installing Visual Studio 2010

Monday, March 22, 2010 8:52 AM by Kipp

Good Day. There are always survivors at a massacre. Among the victors, if nowhere else. Help me! It has to find sites on the: Stock market aluminum prices. I found only this - <a href="newsletter.sigmicro.org/.../platinum-prices-on-stock-market">platinum prices on stock market</a>. Stock market prices, a fund without technical estimate shares, but in which interests are unknown to make, because they isolate that they have peculiar businessmen late, is apart viewed a spending debt. Stock market prices, the consideration gets on the long-term money and this is accrued by the market of periods. Thank :cool: Kipp from Zambia.

# A few issues with Silverlight 4 after Installing Visual Studio &#8230; | ??????????????????????????????????????????????????????

Pingback from  A few issues with Silverlight 4 after Installing Visual Studio &#8230; | ??????????????????????????????????????????????????????

Leave a Comment

(required) 
(required) 
(optional)
(required)