Giter Club home page Giter Club logo

Comments (6)

jbtule avatar jbtule commented on May 22, 2024 1

Yeah apparently msbuild has a hack on mono that allows the debugging extension to be changed to mdb which they use in a patched into the fsharp.language.targets on mono.
https://github.com/mono/mono/blob/master/packaging/MacSDK/patches/fsharp-fix-mdb-support.patch

However nothing i'm building has is outputting mdbs. So I have a work around for my purposes, I set the FscDebugFileExt.

<PropertyGroup>
    <FscDebugFileExt>.pdb</FscDebugFileExt>
</PropertyGroup>

Seems appropriate and working.

from msbuildsdkextras.

jbtule avatar jbtule commented on May 22, 2024

Example: https://github.com/fsprojects/FSharp.Interop.Dynamic/commits/vs2017-fsproj

from msbuildsdkextras.

clairernovotny avatar clairernovotny commented on May 22, 2024

@jbtule can you please try the latest off of the CI feed? Should be 1.0.6-beta.* I just fixed this but would like your confirmation before I push it to NuGet.org.

from msbuildsdkextras.

jbtule avatar jbtule commented on May 22, 2024

Well it worked on windows!

https://ci.appveyor.com/project/jbtule/fsharp-dynamic-832/build/73

On mac, it's looking for .mdb files all of a sudden.

https://travis-ci.org/fsprojects/FSharp.Interop.Dynamic/builds/255652802?utm_source=github_status&utm_medium=notification

/usr/local/share/dotnet/sdk/1.0.4/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(104,5): error MSB4018: The "PackTask" task failed unexpectedly. [/Users/travis/build/fsprojects/FSharp.Interop.Dynamic/FSharp.Interop.Dynamic/FSharp.Interop.Dynamic.fsproj]
/usr/local/share/dotnet/sdk/1.0.4/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(104,5): error MSB4018: System.IO.FileNotFoundException: File not found: '/Users/travis/build/fsprojects/FSharp.Interop.Dynamic/FSharp.Interop.Dynamic/obj/Release/portable-net45+sl5+win8/FSharp.Interop.Dynamic.dll.mdb'.

from msbuildsdkextras.

clairernovotny avatar clairernovotny commented on May 22, 2024

I'm not sure where that error lives... might be worth an issue on the NuGet repo if it's with the Pack targets. I'd split this into two parts:

  1. Building
  2. Packing

Seems like 1 is working, but 2 is with the NuGet team.

from msbuildsdkextras.

clairernovotny avatar clairernovotny commented on May 22, 2024

I just pushed 1.0.6 to NuGet.org, please lmk if you hit any other issues; happy to fix!

from msbuildsdkextras.

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.