Skip to content
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

Can't resolve resource assemblies #2734

Closed
bjorkstromm opened this issue Mar 19, 2020 · 1 comment · Fixed by #2881
Closed

Can't resolve resource assemblies #2734

bjorkstromm opened this issue Mar 19, 2020 · 1 comment · Fixed by #2881
Assignees
Labels
Milestone

Comments

@bjorkstromm
Copy link
Member

Workaround in script:

AppDomain.CurrentDomain.AssemblyResolve += (_, args) =>
{
    if (args.Name.Contains(".resources, "))
    {
        return System.Reflection.Assembly.Load(args.Name.Replace(".resources, ", ", "));
    }

    return null;
};

But we should add this to the global assembly resolve event.

@bjorkstromm bjorkstromm self-assigned this Mar 19, 2020
@gep13 gep13 changed the title Can'r resolve resource assemblies Can't resolve resource assemblies May 19, 2020
@bjorkstromm bjorkstromm changed the title Can't resolve resource assemblies Can'r resolve resource assemblies May 19, 2020
@gep13 gep13 changed the title Can'r resolve resource assemblies Can't resolve resource assemblies May 19, 2020
@bjorkstromm bjorkstromm changed the title Can't resolve resource assemblies Can't resolve resouuuurce assemblies May 19, 2020
@bjorkstromm bjorkstromm added this to the v1.0.0 milestone May 19, 2020
@patriksvensson patriksvensson changed the title Can't resolve resouuuurce assemblies Can't resolve resource assemblies May 19, 2020
bjorkstromm added a commit to bjorkstromm/cake that referenced this issue Oct 11, 2020
devlead pushed a commit to bjorkstromm/cake that referenced this issue Oct 15, 2020
@cake-build-bot
Copy link

🎉 This issue has been resolved in version v1.0.0 🎉

The release is available on:

Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants