Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311771

Summary: csproj file created by eclipse and later on modified with Expression Blend 4 RC does can work from eclipse.
Product: z_Archived Reporter: Satish Nikam <satish_nikam>
Component: ESLAssignee: Chuwei Huang <chuwei.huang>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: yves.yang
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows All   
Whiteboard:
Attachments:
Description Flags
test_before_blend_modification.zip
none
test_after_blend_modification.zip none

Description Satish Nikam CLA 2010-05-05 14:12:23 EDT
Expression Blend 4 Release Candidate is not available and RTM also will be released soon. As Expression Blend 4 is targetted forSilverlight 4, we must support this version of Blend.
The Expression Blend 4 RC build is available at http://www.microsoft.com/downloads/details.aspx?FamilyID=88484825-1b3c-4e8c-8b14-b05d025e1541&displaylang=en

If we create a Silverlight project in eclipse, then open in Expression Blend 4, add project reference of some other dll, say Silverlight Control Toolkit. Then save the project in Expression Blend 4. It will modify and add following items to the .csproj file.

<Utf8Output>true</Utf8Output>
<ExpressionBlendVersion>4.0.20421.0</ExpressionBlendVersion>

If we now open this project in eclipse, it gives following error.
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'Utf8Output' not found. (file:LondonTubeDashboard.csproj, 34, 17)	

If we remove the <Utf8Output>true</Utf8Output> manually from .csproj file using Notepad, eclipse then gives 
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'ExpressionBlendVersion' not found. (file:LondonTubeDashboard.csproj, 34, 17)

Eclispe works fine after removing the <ExpressionBlendVersion>4.0.20421.0</ExpressionBlendVersion> tag.

As we want to support cross development using eclipse-blend-visual studio, we must fix this issue and should depend on user to removed this manually.
Comment 1 Yves YANG CLA 2010-05-05 20:12:17 EDT
Obviously, there is a new change of XML schema in "Expression Blend 4". We
cannot work on it without the XML schema. It should be in the product of
"Expression Blend 4". And we need "Expression Blend 4" for testing as
well.
Comment 2 Yves YANG CLA 2010-05-05 20:14:55 EDT
Could you post the project modified by Expression Blend 4?

ChuWei, could we add a property ExpressionBlendVersion to get a quick fix?
Comment 3 Satish Nikam CLA 2010-05-05 20:49:49 EDT
Created attachment 167254 [details]
test_before_blend_modification.zip

test_before_blend_modification.zip
Comment 4 Satish Nikam CLA 2010-05-05 20:50:07 EDT
Created attachment 167255 [details]
test_after_blend_modification.zip

test_after_blend_modification.zip
Comment 5 Chuwei Huang CLA 2010-05-06 01:03:48 EDT
Already update emf model for Utf8Output and ExpressionBlendVersion.
Comment 6 Yves YANG CLA 2010-05-08 07:16:03 EDT
The msbuild schema and model is changed to support the new syntax of Blend 4 and Silverlight 4.