Share via

Test throws TypeInitializationException

Darren Rockett 0 Reputation points
2024-06-14T08:05:45.1233333+00:00

I have posted the following on Stack Overflow, any help would be appreciated

https://stackoverflow.com/questions/78619545/xunit-test-throws-typeinitializationexception

Developer technologies | .NET | .NET Multi-platform App UI
0 comments No comments

1 answer

Sort by: Most helpful
  1. Darren Rockett 0 Reputation points
    2024-06-14T09:01:40.94+00:00

    The issue was resolved by clearing down DeploymentManagerAutoInitializer.cs, I am not sure where the file has appeared from (says it is Auto Generated) and can't find a great deal of info on it, it also cannot be removed from the project (along with WindowsAppSdk-VersionInfo.cs).

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.