Coder Social home page Coder Social logo

Comments (9)

leandrogomes777 avatar leandrogomes777 commented on July 18, 2024 1

Hi, we've have the same issue here.

We have a workaround to compile.
Set the DebugType on your csproj to portable (instead of full or pdbonly).
Ex:
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>

@pamidur could you address this issue? We have to maintain the configuration of pdb to "full" here.

from aspect-injector.

pamidur avatar pamidur commented on July 18, 2024

Hi @minchili , thank you for the report, I'll look at it shortly.
Is there any chance you could send the project as zip?

from aspect-injector.

minchili avatar minchili commented on July 18, 2024

ClassLibrary1.zip
Thanks for the reply, here is the project where the error occurred.

from aspect-injector.

pamidur avatar pamidur commented on July 18, 2024

What IDE you use? I didn't manage to reproduce it on VS2022

from aspect-injector.

minchili avatar minchili commented on July 18, 2024

I use VS2022 too, this is my IDE info.
IDE Info.txt

from aspect-injector.

pamidur avatar pamidur commented on July 18, 2024

@leandrogomes777 thank you for the input. It is definitely an issue with PDB type and Mono.Cecil

from aspect-injector.

pamidur avatar pamidur commented on July 18, 2024

@leandrogomes777 @minchili
could you please check if 2.7.2 and 2.7.1 have the same issue?

from aspect-injector.

leandrogomes777 avatar leandrogomes777 commented on July 18, 2024

Hi @pamidur, i've made tests with the 2.7.2 version and no issues.

from aspect-injector.

pamidur avatar pamidur commented on July 18, 2024

Ok so I found a root cause - over-optimization while compiling for self-contained image
Should be fixed in 2.8.1

Thank you @leandrogomes777 , @minchili

from aspect-injector.

Related Issues (20)

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.