by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Cameron MacFarland
    @distantcam
    Yeah so I was thinking of writing a hook that ran Fody.exe on the assembly.
    Kleptine
    @Kleptine
    Yeaah.
    Hmm actually right
    Cameron MacFarland
    @distantcam
    The hook is .NET 2.0 code, but Fody.exe is .NET 4 .
    Kleptine
    @Kleptine
    You could just have it run the subprocess and block until it's done.
    Cameron MacFarland
    @distantcam
    Yep
    Kleptine
    @Kleptine
    Yeah honestly that's probably a lot easier, but since I'm already this far, hey why not.
    Cameron MacFarland
    @distantcam
    It's easier to do that then to rewrite all the fody addins to support .NET 2
    Kleptine
    @Kleptine
    I wasn't aware Fody actually was setup to run as an .exe on it's own
    Cameron MacFarland
    @distantcam
    It's not... yet.
    Kleptine
    @Kleptine
    Ahhh gotcha.
    Yeah not sure exactly what it would take to get it running, and loading config files outside of MSBuild
    Partially why I ended up taking this route I think.
    The changes actually are quite small -- mostly just replacing a few unsupported methods (though I can definitely imagine a more complicated addin might be tricky)
    Will have to see.
    Cameron MacFarland
    @distantcam
    Yeah there's a few hurdles, but I think it's possible.
    Kleptine
    @Kleptine
    Let me know if you get anywhere with that method.
    Would probably hop over to that anyway just for stability's sake.
    Cameron MacFarland
    @distantcam
    For sure.
    Kleptine
    @Kleptine
    I'm also not entirely sure how many of these addin's actually support the IL from .NET 2.0
    I may also be misunderstanding this: does .NET determine the specification for the IL, or is that based on something else?
    Simon Cropp
    @SimonCropp
    @distantcam so how r u going to get around all the addins that need a reference to work correctly?
    and i created a public fody room if u want to move there https://gitter.im/Fody/Fody
    pablo
    @psantosl
    Hi guys, a probably silly question (or a RTFM one): can I run Fody/Costura from CLI? I mean, we use NAnt to build, and I'd like to run it from there :-S
    Eli Ekstein
    @eliekstein
    Having a weird situation that when i'm using seq (https://getseq.net/) package, then my class fails to build (with costura installed of course)
    FACELESS
    @NothingFaceX
    Hello there , can some one please give me Id of fody costura developer ?
    Jesse Connor
    @jesseconnr
    I'm trying to embed AWSSDK.Core and AWSSDK.S3 and I'm getting an error from one of the AWSSDK methods when it runs that seems like it can't find the AWSSDK.Core assembly. I've confirmed it's there and loading and I confirmed the code works without embedding the dependencies. I'm curious if anyone can point me in a direction on where to start looking. The error itself is Method not found: 'System.DateTime Amazon.Runtime.IClientConfig.get_CorrectedUtcNow()'.
    Confirmed create temporary assemblies doesn't work, testing without compression now but I doubt that will be it as well.
    Jesse Connor
    @jesseconnr
    Ha, just realized the last message before mine is from 2017. Awesome.
    Dinoh26
    @Dinoh26
    Hi, Im trying to use costura in a prism proyect, but after i configure it, prism doesnt detect the dll methods, im using a module path to load the modules
    1jessej
    @1jessej
    So I am using Costura.Fody to embed all of the assemblies into an exe file so I can just have the one file instead of a folder full of DLLs, but for some reason it embeds all but 2 DLLs. AxInterop.AXVLC.dll and Interop.AXVLC.dll. Any idea why?
    Red5goahead
    @Red5goahead
    Hi guys, I'm tring to use costura in some Visual Studio project but I got some error in csproj file (missing file {0}). I create a video to explain better. https://streamable.com/m31cg . visual studio is a 2015 pro, lasted version updated, Windows 10 Pro. Any ideas?
    Simon Cropp
    @SimonCropp
    @Red5goahead best to read this https://github.com/Fody/Costura/issues/new?template=bug_report.md then raise a new issue
    Red5goahead
    @Red5goahead
    @SimonCropp Ok thanks I'm trying to install .NET Core SDK because I haven't
    Simon Cropp
    @SimonCropp
    Note that those things r optional. Just that for the ones that r relevant to u, u should be using the latest stable
    Red5goahead
    @Red5goahead
    @SimonCropp did you watch the video? I have no issue to install any other nuget libraries, I can't add fody and / or Costura to projects
    Red5goahead
    @Red5goahead
    Is it possible to make sure that any library in the path, maybe not updated, is not considered if there is still an embedded version of it? Now it is not so and if the library is present as a physical file in the path is used this version is not the embedded one
    L!εsAμεr
    @liesauer
    Hi guys, i used Costura.Fody with default config, but it still a lot of dll out there. it there anything i need to configuration?
    image.png
    Simon Cropp
    @SimonCropp
    @liesauer what version are you using?
    L!εsAμεr
    @liesauer
    @SimonCropp 4.3.1
    Simon Cropp
    @SimonCropp
    What version of costura?
    @liesauer
    L!εsAμεr
    @liesauer
    @SimonCropp sorry it is not 4.3.1, fody is 4.2.1, costura is 4.0.0
    Simon Cropp
    @SimonCropp
    How r u referencing v4.2.1 of fody when Costura relies on v5 @liesauer
    L!εsAμεr
    @liesauer
    @SimonCropp i changed manually, because v5 seems need MSBuild>=16, i am using 15.9.20+g88f5fadfbe for .NET Core now.
    L!εsAμεr
    @liesauer
    @SimonCropp does Costura support dotnet publish? i upgraded my netcore sdk to 2.2 and using Costura v5, it works with dotnet build, but doesn’t work with dotnet publish, still lots of dlls out there. the FodyTarget is executed.
           FodyTarget:
               Fody: Fody (version 5.0.0.0 @ file:///Users/imac/.nuget/packages/fody/5.0.0/build/../netstandardtask/Fody.dll) Executing
                 Fody/Costura:   Executing Weaver
               Fody:   Finished Fody 909ms.
    Simon Cropp
    @SimonCropp
    @liesauer i dont believe any specific logic has been put in place to handle publish. so i doubt it works
    arvoboweniii
    @arvoboweniii
    When using Costura.Fody - CreateTemporaryAssemblies option, is there a way to get the location where does it dump the assembly to? Ex: C:\Users\username\AppData\Local\Temp\Costura\C83815D61CE49B2E8D23145A1B95A956\32
    I was going to just manually set the path to the assembly I needed to gain access to but the "C83815D61CE49B2E8D23145A1B95A956" part of the path through me for a loop.