Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for F# #29

Open
milbrandt opened this issue Jun 29, 2019 · 2 comments
Open

Add support for F# #29

milbrandt opened this issue Jun 29, 2019 · 2 comments

Comments

@milbrandt
Copy link

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]

@kaspersorensen
Copy link
Owner

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.

@milbrandt
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants