dotnet-maven-plugin icon indicating copy to clipboard operation
dotnet-maven-plugin copied to clipboard

Add support for F#

Open milbrandt opened this issue 5 years ago • 2 comments

Version 0.24, new fsproj build files

Seems like neither the solution file .sln nor the .fsproj files are inspected. Error reported:

[ERROR] Failed to execute goal org.eobjects.build:dotnet-maven-plugin:0.24:restore (default-restore) on project FsSonarRunner: Could not find any directories with a project/build file. -> [Help 1]

milbrandt avatar Jun 29 '19 17:06 milbrandt

That's right. Today the plugin only looks for either project.json files or *.csproj files. I don't know much about how F# projects work, but it would be a cool addition to identify those.

kaspersorensen avatar Jun 30 '19 19:06 kaspersorensen

They are not that much from csproj files. There are tons of examples here on Github. I stumpled accross this plugin while upgrading here https://github.com/jmecsoftware/sonar-fsharp-plugin/blob/master/FsSonarRunner/FsSonarRunnerCore/FsSonarRunnerCore.fsproj At the moment, it's the old style (commit 006fd6a6d9b3dad73f7026300c3133619bac3fcc) but the next commit to master will upgrade the project file to the new style.

milbrandt avatar Jun 30 '19 20:06 milbrandt