Skip to content

MissingManifestResourceException #123

@thomassvensen

Description

@thomassvensen

Trying out Alive for the very first time, using NUnit tests to play with a class library which has resource files. Then I get this error:

[Error v1.4.3-vs14.0] Unhandled MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "xxx.CaseManagement.Resources.CaseManagementResources.resources" was correctly embedded or linked into assembly "xxx.CaseManagement" at compile time, or that all the satellite assemblies required are loadable and fully signed.
[Error v1.4.3-vs14.0] Stack trace: 
   at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at xxx.CaseManagement.Resources.CaseManagementResources.get_MailSubjectNotifyNewComplaint()
   at lambda_method(Closure )
   at Moq.MatcherFactory.CreateMatcher(Expression expression, Boolean isParams)
   at Moq.MethodCall..ctor(Mock mock, Condition condition, Expression originalExpression, MethodInfo method, Expression[] arguments)
   at Moq.Mock.<>c__DisplayClass19`1.<Setup>b__18()
   at Moq.PexProtector.Invoke[T](Func`1 function)
   at Moq.Mock.Setup[T](Mock`1 mock, Expression`1 expression, Condition condition)
   at Moq.Mock`1.Setup(Expression`1 expression)
   at xxx.CaseManagement.Tests.Services.ComplaintServiceTests.RegisterComplaint_FromStudentWithMessage_ThenOK()

Everything compiles and runs fine outside Alive. I am stuck...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions