question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I have a Xamarin project where I’m running stryker and it’s complaining that Xamarin.Forms.Xaml assembly failed to resolve. This then seems to cause a problem where it tries to mutate the InitializeComponents method which is part of Xamarin which it fails to do. To solve this I tried excluding files in the /views/ folder so it wouldn’t try to mutate any of the .xaml.cs files. It says they’re being excluded but then it appears that it’s still trying to mutate them anyway. I’ll copy my config file and log file below. Does stryker normally work with Xamarin?

Environment Windows 10 .NET Command Line Tools (2.2.203)

Config file

{
  "stryker-config": {
    "files-to-exclude": [
      "/App.xaml.cs",
      "/Views/"
    ]    
  }
}

log-20190419.txt

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
richardwerkmancommented, May 8, 2019

Awesome to hear! 🎉 I guess the PR code will be released with the next minor release 0.11.0. Have fun using stryker!

0reactions
Project4MobileDevcommented, May 8, 2019

Ah yeah that was it, I didn’t have the debug profile selected. Yeah it runs successfully on our Xamarin project, very cool 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xamarin Support Policy
Xamarin support will end on May 1, 2024 for all Xamarin SDKs. Android 13 and Xcode 14 SDKs (iOS and iPadOS 16, macOS...
Read more >
Xamarin end of support is Nov 2023 for iOS and Android
But, recently, We have been hearing and reading that, Microsoft is sunsetting Xamarin end of support is Nov 2023 for iOS and Android....
Read more >
Xamarin | Open-source mobile app platform for .NET
Xamarin is a free and open source mobile app platform for building native and high-performance iOS, Android, tvOS, watchOS, macOS, and Windows apps...
Read more >
.NET MAUI Reaches General Availability, Replacing ...
Xamarin support will continue through November 2023. Desktop ... For the brand-new Windows support, for example, .NET MAUI uses the WinUI 3 ...
Read more >
End of Support Date Announced for Xamarin
Along the same lines, it was announced that Xamarin will continue to be supported only until May 1 st 2024. This gives a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found