Comments (6)
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.
Example: https://github.com/fsprojects/FSharp.Interop.Dynamic/commits/vs2017-fsproj
from msbuildsdkextras.
@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.
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.
/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.
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:
- Building
- Packing
Seems like 1 is working, but 2 is with the NuGet team.
from msbuildsdkextras.
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)
- SDK folder for UAP not found HOT 2
- Update to Microsoft.NETCore.UniversalWindowsPlatform 6.2.12 HOT 2
- Per-RID project is only built once when referenced from another (non-Extras) project HOT 1
- MSB4057: GetCopyToPublishDirectoryItems missing for per-RID project
- Support Xamarin.Mac FullFramework projects
- Azure DevOps Unable to find package MSBuild.Sdk.Extras HOT 6
- Does Xamarin.iOS10 use IOS14 SDK? Is there a list of all the supported TFMs
- Unable to add reference to netstandard through Visual Studio UI
- Failures with GetDirectoryName HOT 1
- Do I still need MSBuild.Sdk.Extras with .net6? HOT 3
- NET6_0 constants not properly defined HOT 3
- Visual Studio 2019 hangs when loading project using MSBuild.Sdk.Extras HOT 1
- Could not use with F#
- VS2022 Preview 5 Mac - unable to find the SDK (SDK not found error) HOT 2
- NETFX_CORE not working with the latest version
- MSBuild.Sdk.Extras cannot build the TargetFrameworks Xamarin.iOS and net6.0-ios together HOT 6
- Is it possible to build a different output for the same TargetFramework
- UWP references fail when setting TargetPlatformMinVersion HOT 1
- Readme references a site sporting a database error.
- The name 'InitializeComponent' does not exist in the current context HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msbuildsdkextras.