question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TP Template does not build on Mono

See original GitHub issue

Description

TP created from the template does not build on macOS/mono.

Repro steps

Please provide the steps required to reproduce the problem

  1. dotnet new -i FSharp.TypeProviders.Templates
  2. dotnet new typeprovider -n LemonadeProvider -lang F#
  3. cd LemonadeProvider
  4. mono .paket/paket.exe update
  5. dotnet build -c release

Expected behavior

Project should compile

Actual behavior

lemonadeprovider_runtime_fsproj_ _untitled__workspace_

Analysis

This is looks very strange for me, because fsharp.typeproviders.templates.5.0.0.nupkg contains netfx.props file and fsproj files import it. win10_-_1803__april_

but dotnet new typeprovider -n LemonadeProvider -lang F# creates a folder without netfx.props and without imports. lemonadeprovider_tests_fsproj_ _untitled__workspace_

Related information

  • Operating system = macOS Mojave (10.14)
  • .NET Core 2.1.401, Mono 5.12.0.301

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dsymecommented, Oct 1, 2018

Thank you @sergey-tihon !

1reaction
sergey-tihoncommented, Oct 1, 2018

Fixed in v5.1.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Monogame Template Wont Compile
So I'm using Visual Studio Community 2017 and MonoGame 3.7.1. All templates load fine, and Im able to start any thats not the...
Read more >
T4 templates not transformed during build
A custom tool 'TextTemplatingFilePreprocessor' is associated with file 'Templates\ModelTemplate.tt', but the output of the custom tool was not ...
Read more >
T4 template will not transform with build
I can get my T4 template to generate a file by: right click [tt file] | run Custom tool. That works great! (yay...
Read more >
Can't run T4 Template (Could not find standard assembly
I've installed mono, which is working correctly (I can run a hello world) ... Build the project, then select 'Run Template' from the...
Read more >
Dotnet restore vs nuget restore. Share. In my code repo, there
NET Framework and Windows-only, dotnet build is . nuget\packages) is considered a source not a cache. run dotnet restore on this solution through...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found