Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 20 16:18
    contactsamie commented #549
  • Aug 19 13:57
    matthid commented #2325
  • Aug 18 18:03
    matthid synchronize #2380
  • Aug 18 18:03

    matthid on update_sdk

    fix template tests (compare)

  • Aug 18 08:01
    matthid opened #2380
  • Aug 18 08:01

    matthid on update_sdk

    update sdk to latest LTS (compare)

  • Aug 17 21:12

    matthid on 5.16.0

    (compare)

  • Aug 17 21:05
    matthid closed #2357
  • Aug 17 18:05
    SCullman commented #2379
  • Aug 17 17:49
    matthid synchronize #2357
  • Aug 17 17:49

    matthid on next

    remove docs from legacy package… do an actual release (compare)

  • Aug 17 17:47
    matthid labeled #2379
  • Aug 17 17:17

    matthid on 5.16.0-alpha.1228

    (compare)

  • Aug 17 17:00
    matthid edited #2357
  • Aug 17 17:00
    matthid edited #2357
  • Aug 17 16:32
    matthid closed #2362
  • Aug 17 16:32
    matthid commented #2362
  • Aug 17 16:31
    matthid synchronize #2357
  • Aug 17 16:31
    matthid closed #2377
  • Aug 17 16:31
    matthid closed #2373
Florian Verdonck
@nojaf
Can I use FSharp.Data.SqlClient inside a FAKE5 script?
Getting:
Script is not valid: startup (1,0)-(1,0): Error FS3031: The type provider 'C:\Users\SIDFLOV\.nuget\packages\fsharp.data.sqlclient\2.0.2\lib\netstandard2.0\FSharp.Data.SqlClient.dll' reported an error: Assembly attribute 'TypeProviderAssemblyAttribute' refers to a designer assem bly 'FSharp.Data.SqlClient.DesignTime.dll' which cannot be loaded or doesn't exist. Could not load file or assembly 'C:\Users\SIDFLOV\.nuget\packages\fsharp.data.sqlclient\2.0.2\lib\netstandard2.0\FSharp.Data.SqlClient.DesignTime.dll'. The system cannot find the fi le specified.
Matthias Dittrich
@matthid
Rayan
@SirHaswell
hello
why choose f# over c# for web and game dev ?
Matthias Dittrich
@matthid
@absolute-code I think you should ask this on the F# slack I'm pretty sure you will get plenty of feedback there. This gitter is about FAKE the build system ;)
Rayan
@SirHaswell
oh okay
but i don't found the f# gitter
Rayan
@SirHaswell
@matthid
Matthias Dittrich
@matthid
I don't think F# has a gitter chat
@absolute-code There is https://fsharp.slack.com (which you can join by joining the Fsharp Software Foundation, which is free and easy) and https://forums.fsharp.org/ and probably other places I don't know.
Mike Clark
@mclark1129
I'm trying to figure out why my Team City build is reporting success, despite the fact that the Octo task I am running is failing (and reporting that in the logs)
I'm performing a DeployRelease where one of the steps fail. In the logs I see [13:55:38][Step 1/1] Finished (Failed) 'Octo ' in 00:00:01.3062711 [13:55:38][Step 1/1] Finished (Success) 'DeployRelease' in 00:00:01.3940246
Where DeployRelease is the target running Octo.deployRelease
Is there something I need to do explicitly in order to fail the build target? This just happens automatically if I perform something like DotNet.build
Matthias Dittrich
@matthid
@mclark1129 I think I'd need a minimal sample to say for sure but usually when something fails an exception is thrown and it should bubble up and fail the build. Maybe in your situation it is catched somewhere (or no exception is thrown)
Peter Finn
@mastion
I tried to use the slack webhook integration in Fake 5. It works but when I modified the From field it didn't change the slack username. I looked at the node-slack-sdk and I think the field to modify that is username. Looking at the code I didn't see a transform function but might be missing something. Has anyone been successful changing the posters name using the Fake 5 api?
Matthias Dittrich
@matthid
@mastion I don't think that particular module is heavily used and I don't know any specific people I could ping for this (I'm not using it either). On the other hand it looks like the module is just calling some APIs and doing a jsonconvert on the record types. So just renaming the field in the record should do.
I think you can just copy the SlackNotification.fs to your project and #load it. Once it works just send a PR back :)
Peter Finn
@mastion
Will do. Thanks
Andreas Vilinski
@vilinski
Guys, do you know how to use Fake.Core.Vault? Here is an example how to read encrypted variables http://fake.build/core-vault.html, but not how to save them. What I need is a global replacement for dotnet user-secrets. And Vault.createKey creates some key file, but I don't get how to use them.
Matthias Dittrich
@matthid
@vilinski The idea of the Vault is to have two input methods (like File and Environment Variable) and you need both in order to read the variables. As you pointed out there is currently no good public API to create Vaults in the package as we expect the Vault to be created by other systems, like in the Azure DevOps integration (https://github.com/isaacabraham/vsts-fsharp/blob/master/Common/fake5.ts#L18 and https://github.com/isaacabraham/vsts-fsharp/blob/master/Common/myvault.ts#L32 for example).
But there are some public APIs I have used for testing like createKey and encryptVariable https://github.com/fsharp/FAKE/blob/release/next/src/app/Fake.Core.Vault/Vault.fs#L111
With these and a Newtonsoft.Json Serialize call it should be quite straightforward to build some json
Tomas Jansson
@mastoj
I'm trying to build a dotnet core 3 preview project on Azure Devops, but for some reason it fails when I run fake build. Here is the actual output from azure devops: https://tomasjansson.visualstudio.com/heiconv/_build/results?buildId=12 The azure pipelines is defined here: https://github.com/mastoj/heiconv/blob/master/azure-pipelines.yml
The error is that I 'Microsoft.NETCore.App', version '2.1.0' is missing, but why do I need that? Shouldn't it be enough to install dotnet core 3?
Shmew
@Shmew
@mastoj
I think your task version is wrong
or rather I think you could get it with something like this
- task: UseDotNet@2
  displayName: 'Install .NET Core'
  inputs:
    packageType: sdk
    version: 3.0.100-preview7-012821
    installationPath: $(Agent.ToolsDirectory)/dotnet
Tomas Jansson
@mastoj
@Shmew I’ll try that tonight. New to azure devops, so I don’t have the full understanding of the config yet.
Tomas Jansson
@mastoj
@Shmew I still have the same problem as seen in this build: https://tomasjansson.visualstudio.com/heiconv/_build/results?buildId=13&view=logs
Tomas Jansson
@mastoj
I needed to add both the 3.0 preview of dotnet core and 2.1 to get it working
- task: UseDotNet@2
  displayName: 'Install .NET Core'
  inputs:
    packageType: sdk
    version: 3.0.100-preview7-012821
    installationPath: $(Agent.ToolsDirectory)/dotnet
- task: UseDotNet@2
  displayName: 'Install .NET Core 2.1'
  inputs:
    packageType: sdk
    version: 2.1.x
    installationPath: $(Agent.ToolsDirectory)/dotnet
Shmew
@Shmew
I had that issue on my desktop funny enough, it's related to one of the packages specifying that it needs that sdk version rather than the pipeline itself if I remember correctly. @mastoj
Tomas Jansson
@mastoj
I guess we will get rid of that “nonsense” when fake is updated to dot net core 3 since we then can build a single executable. Or is that the wrong way to go?
Shmew
@Shmew
I don't see why that wouldn't work, but I'm no expert
Matthias Dittrich
@matthid
@mastoj Any reason you are not installing and using the official fake tasks in your azure devops instance? But yes indeed you currently need a latest stable installed to get fake running
Tomas Jansson
@mastoj
@matthid , the reason is that I didn’t know about it. Last night was the first time I played around with azure devops :)
Tomas Jansson
@mastoj
@matthid I changed to use it now, but what is it that I gain by using it (except for one step less)?
Looks like the build fails when using the official fake tasks, https://tomasjansson.visualstudio.com/heiconv/_build/results?buildId=16. I try to build a dotnet core 3 preview console app. Works fine when installing fake manually as seen here: https://tomasjansson.visualstudio.com/heiconv/_build/results?buildId=17
Matthias Dittrich
@matthid
@mastoj It looks like fake is running but the version is too old for it to support netcoreapp3.0 (Caching tool: fake 5.4.1 x64)
All you need at this point is setup a newer fake version in the task itself
The idea is to manage fake version via a shared variable in azure devops for example
Tomas Jansson
@mastoj
Got it, I’ll try that @matthid
OshoNot
@OshoNot
Hey guys
Have anyone been able to have intelisense into visconde + FAKE 5?
Mac OS machines?
Florian Verdonck
@nojaf
I usually add an empty target, run that so the packages are restored and restart the IDE.
Matthias Dittrich
@matthid
@OshoNot You mean vscode?
OshoNot
@OshoNot
Yep. I got it running. Followed @nojaf tip. Thanks guys