-
-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET MAUI support? #297
Comments
I've had a little test with Buildalyzer and StrykerBugRepro, it looks like it will build with Buildalyzer, but only if the var analyzer = manager.GetProject(path);
var envFactory = new EnvironmentFactory(manager, analyzer.ProjectFile);
var buildEnv = envFactory.GetBuildEnvironment("net9.0", new EnvironmentOptions
{
GlobalProperties = { ["TargetFramework"] = "net9.0" } // omitting this fails the build
});
var results = analyzer.Build(buildEnv!);
results.OverallSuccess.ShouldBeTrue(); I'm not sure if Buildalyzer should set this property automatically or if stryker should pass it in, however if I delete the platform specific TFMs from the MAUI app, then stryker gets past the initial build, but now it fails on the mutations compilation with:
I'm not sure what's happening here to be honest. |
So to break this into actionable things:
|
Ok, so I went to add the target framework change I mentioned above (bullet point 2), and it's actually already a thing. There is a var analyzer = manager.GetProject(path);
var results = analyzer.Build("net9.0");
results.OverallSuccess.ShouldBeTrue(); it also passes. So this will be a change that Stryker can implement. I'll take a quick look at that now 👀 |
Apparently, .NET MAUI projects are not supported. (stryker-mutator/stryker-net#3181 (comment))
Is this a known issue?
Are there plans to support it?
Is this documented anywhere?
The text was updated successfully, but these errors were encountered: