-
Notifications
You must be signed in to change notification settings - Fork 74
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
Frogbot pipeline on Azure DevOps fails with .NET 8 Windows app #795
Comments
Hi @mikeKuester - Thanks for reporting this issue. I also noticed that based on the Also - in order to escalate support issues - you can use the client portal via https://jfrog.com/support/ |
@hadarshjfrog Thanks for your response. I can check this if I'm back at work next year. Ciao, |
Hello @hadarshjfrog, I added a build task, before the frogbot task, which runs without any error: variables:
solution: '**/*.sln'
buildConfiguration: 'Release' - task: DotNetCoreCLI@2
displayName: Build
inputs:
projects: '$(solution)'
arguments: '/p:EnableWindowsTargeting=true --configuration $(buildConfiguration)'
configuration: '$(buildConfiguration)' But the error from the FrogBot task doesn't disappear:
In my frogbot-config.yml, the install command is defined with "nuget restore", as mentioned in the frogbot-config.yml template. But the error says: 'dotnet restore' command failed? I modified the frogbot-config.yml in order to use scan:
projects:
- installCommand: dotnet restore -p:EnableWindowsTargeting=true # /p:Ena.. is also ignored Now it uses the
How can I force FrogBot to use the EnableWindowsTargeting? Without that, .NET projects targetting Windows can not be build (or restored) on non-Windows maschines. |
Describe the bug
I have a .NET 8 solution in Git on Azure DevOps, which I want to scan with Frogbot. I tried this first with a small console app, were it works. But scanning my Windows .NET WPF app fails. I can scan the same .NET WPF app on my windows machine with the actual JFrog CLI (v2.72.0) without errors.
Current behavior
Reproduction steps
Pipeline:
Expected behavior
Frogbot should scan this solution without any errors from the pipeline.
JFrog Frogbot version
2.23.6
Package manager info
Nuget
Git provider
Azure DevOps
JFrog Frogbot configuration yaml file
.frogbot/frogbot-config.yml
Operating system type and version
ubuntu-latest
JFrog Xray version
No response
The text was updated successfully, but these errors were encountered: