Coder Social home page Coder Social logo

Comments (4)

Soothsilver avatar Soothsilver commented on June 9, 2024 1

Thank you.

This is caused by the fact that your project targets .NET Framework 4.0, but the DLL in Packer is targeted at .NET Standard 2.0.

If you can change the target framework of your project to .NET Framework 4.7.2, that will resolve the issue.

If not, you would need to recompile the Packer binary with .NET 4.0 as the target framework. I think it's doable, but I didn't try. If you make a pull request on it, I'll merge it in and republish.

from postsharp.community.packer.

Soothsilver avatar Soothsilver commented on June 9, 2024

What you're doing should work.

What happens if you add [assembly: PostSharp.Community.Packer.Packer] to your code? Does it complain that the type doesn't exist? If yes, could you attach your project or a minimal example? Merely installing the package in a project and adding this attribute works for me.

from postsharp.community.packer.

ShoshanaTzi avatar ShoshanaTzi commented on June 9, 2024

Thanks for your quick response.
Yes, I just added the [assembly: PostSharp.Community.Packer.Packer] and got the error above.
I attach the csproj file (as txt), anything more?
1.txt

from postsharp.community.packer.

ShoshanaTzi avatar ShoshanaTzi commented on June 9, 2024

from postsharp.community.packer.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.