Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Project build error after updating to vs2013
brenkehoe
#1 Posted : 11 years ago
Rank: Newbie

Groups: Registered
Joined: 10/24/2013(UTC)
Posts: 4

After upgrading to vs 2013 i get the following error on one of my projects:

..\..\..\..\..\..\..\..\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Xaml.targets (193)#0: XC1020: Build error occurred in the XAML MSBuild task: 'Object type cannot be converted to target type.'

This error occurs when i include any workflow activity xaml files. (Any file with a build action of XamlAppDef).

Anyone got any ideas ?
Remco
#2 Posted : 11 years ago
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,218

Thanks: 975 times
Was thanked: 1306 time(s) in 1211 post(s)
Hi,

Thanks for sharing this issue. Can you confirm whether placing NCrunch in Compatibility mode makes any difference here?


Cheers,

Remco
brenkehoe
#3 Posted : 11 years ago
Rank: Newbie

Groups: Registered
Joined: 10/24/2013(UTC)
Posts: 4

Running in Compatibility Mode does not seem to make any difference for me.

Thanks
brenkehoe
#4 Posted : 11 years ago
Rank: Newbie

Groups: Registered
Joined: 10/24/2013(UTC)
Posts: 4

Remco you should be able to recreate this.

Create a new solution / project (I did 4.5.1 Class library)
Add a single workflow activity xaml file to the project

Thanks

Bren
Remco
#5 Posted : 11 years ago
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,218

Thanks: 975 times
Was thanked: 1306 time(s) in 1211 post(s)
Thanks for sharing the steps to reproduce. It looks like this is caused by a version clash with MSBuild. A fix is being prepared as part of 1.48 to address this. Meanwhile, you can find a workaround for the problem in this forum post.
SteveCooperOrg
#6 Posted : 11 years ago
Rank: Newbie

Groups: Registered
Joined: 10/25/2013(UTC)
Posts: 7
Location: United Kingdom

Thanks: 2 times
Was thanked: 2 time(s) in 2 post(s)
Thanks for this -- projects with XAML files now build successfully for me in VS2013.

Thanks again!

Steve
brenkehoe
#7 Posted : 11 years ago
Rank: Newbie

Groups: Registered
Joined: 10/24/2013(UTC)
Posts: 4

Thanks Remco it now builds using the xml workaround. Thanks for your help with this
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.045 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download