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

Notification

Icon
Error

Microsoft.Xaml.Targets, XamlBuildTask
kostek
#1 Posted : Thursday, August 31, 2017 1:54:04 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 8/31/2017(UTC)
Posts: 2
Location: Poland

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
Hi
After switching from VS 2015 to 2017 i started having issued while building projects that contain WorkflowFundation files (xaml).

Error:
Quote:
NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/d...ng_project-build-issues
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Xaml.targets: XC1020: Build error occurred in the XAML MSBuild task: 'Could not load file or assembly 'XamlBuildTask, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.'


Repro :
Create test project with workflow foundation files and there you are, it fails to build.

Additional info:
If Xaml files are removed the project builds correctly. It works w/o problems in 2015.

I checked that XamlBuildTask.dll is available in the "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\" but what looks suspicious to me is that the version it searches for "Version=15.0.0.0". That version of the file does no exist and probably shouldn't.

Thanks
M.
Remco
#2 Posted : Friday, September 1, 2017 12:25:55 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
1 user thanked Remco for this useful post.
kostek on 9/1/2017(UTC)
kostek
#3 Posted : Friday, September 1, 2017 6:55:52 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 8/31/2017(UTC)
Posts: 2
Location: Poland

Thanks: 2 times
Was thanked: 1 time(s) in 1 post(s)
Works like a charm !

Thx for a very quick solution :)

Great support!
1 user thanked kostek for this useful post.
Remco on 9/1/2017(UTC)
Remco
#4 Posted : Monday, September 4, 2017 7:13:55 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
This fix has now been released with v3.11.
1 user thanked Remco for this useful post.
kostek on 9/4/2017(UTC)
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.039 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download