# Failed to find InputFile

**URL:** <https://community.sonarsource.com/t/failed-to-find-inputfile/25801>\
**Category:** SonarQube Cloud\
**Tags:** csharp, dotnet, sonarqube-cloud\
**Created:** [June 4, 2020, 12:56am UTC](https://community.sonarsource.com/t/failed-to-find-inputfile/25801 "2020-06-04T00:56:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![norberth](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/norberth/32/73121_2.png) [@norberth](https://community.sonarsource.com/u/norberth)\
**Post date:** [June 4, 2020, 12:56am UTC](https://community.sonarsource.com/t/failed-to-find-inputfile/25801/1 "2020-06-04T00:56:02Z")

</div>

Hi,

I’m using SonarCloud from Azure DevOps. I’ve integrated the SonarCloud tasks as described here.  
[https://www.azuredevopslabs.com/labs/azuredevops/sonarcloud/](https://www.azuredevopslabs.com/labs/azuredevops/sonarcloud/)

The pipeline runs through but I always get 2 errors saying that a certain file can’t be found.

 ![Error](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/2X/2/22a93f9e52cf829b8800914869d18575e3271965.png)

[Log.txt](https://community.sonarsource.com/uploads/short-url/3wBIqu66HEJuj8x8BqrjZm7Ro3Q.txt) (40.0 KB)

The file definitely exists otherwise the solution could not build.

Any help is greatly appreciated.

Best regards  
Norbert

---

<div class="post-metadata">

**Author:** ![mickaelcaro](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/mickaelcaro/32/4147_2.png) [@mickaelcaro](https://community.sonarsource.com/u/mickaelcaro)\
**Post date:** [June 4, 2020, 11:10am UTC](https://community.sonarsource.com/t/failed-to-find-inputfile/25801/4 "2020-06-04T11:10:49Z")

</div>

Hi @norberth and welcome to the community !

Would you please send me again the log with debug mode enabled please ?

I can send you a PM for that if you prefer, let me know.

Thanks !

---

<div class="post-metadata">

**Author:** ![norberth](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/norberth/32/73121_2.png) [@norberth](https://community.sonarsource.com/u/norberth)\
**Post date:** [June 4, 2020, 11:38am UTC](https://community.sonarsource.com/t/failed-to-find-inputfile/25801/5 "2020-06-04T11:38:20Z")

</div>

Hi Mickael,

yes, let’s do it like that. I’ve already run the pipeline with the debug mode enabled.  
As soon as you send me a PM, I’ll send you the file.

Best regards  
Norbert

---

<div class="post-metadata">

**Author:** ![norberth](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/norberth/32/73121_2.png) [@norberth](https://community.sonarsource.com/u/norberth)\
**Post date:** [June 10, 2020, 12:28am UTC](https://community.sonarsource.com/t/failed-to-find-inputfile/25801/9 "2020-06-10T00:28:06Z")

</div>

Hi @Andrei_Epure,

any news on that matter?

BR,  
Norbert

---

<div class="post-metadata">

**Author:** ![Pavel\_Mikula](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/pavel_mikula/32/7381_2.png) [@Pavel\_Mikula](https://community.sonarsource.com/u/Pavel_Mikula)\
**Post date:** [June 12, 2020, 10:52am UTC](https://community.sonarsource.com/t/failed-to-find-inputfile/25801/14 "2020-06-12T10:52:20Z")

</div>

Hi @norberth,

We’re trying to investigate the issue. Are you sure that there are no `PreBuild` or `PostBuild` events in your pipeline that would move the sourcefile(s) to another locations?

---

<div class="post-metadata">

**Author:** ![norberth](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/norberth/32/73121_2.png) [@norberth](https://community.sonarsource.com/u/norberth)\
**Post date:** [June 12, 2020, 12:17pm UTC](https://community.sonarsource.com/t/failed-to-find-inputfile/25801/16 "2020-06-12T12:17:49Z")

</div>

Hi Pavel,

I am absolutely certain that there is no such thing. We could connect on Skype if you like and I show you the project and the pipeline.

Maybe that helps  
Norbert

---

<div class="post-metadata">

**Author:** ![norberth](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/norberth/32/73121_2.png) [@norberth](https://community.sonarsource.com/u/norberth)\
**Post date:** [June 27, 2020, 6:12pm UTC](https://community.sonarsource.com/t/failed-to-find-inputfile/25801/17 "2020-06-27T18:12:48Z")

</div>

I ended up rewriting the form that gave the error and deleted the file.  
With the file being gone, the error does no longer show up.

Best regards  
Norbert

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/system/32/31083_2.png) [@system](https://community.sonarsource.com/u/system)\
**Post date:** [July 4, 2020, 6:12pm UTC](https://community.sonarsource.com/t/failed-to-find-inputfile/25801/18 "2020-07-04T18:12:53Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![Pavel\_Mikula](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/pavel_mikula/32/7381_2.png) [@Pavel\_Mikula](https://community.sonarsource.com/u/Pavel_Mikula)\
**Post date:** [October 1, 2020, 2:56pm UTC](https://community.sonarsource.com/t/failed-to-find-inputfile/25801/19 "2020-10-01T14:56:29Z")

</div>

Hello,

We’ve discovered that this error is logged when security-related issue is found on a file, that was excluded from the analysis (either by project configuration exclusions or SCM exclusion).

We’ll improve the logging in the next release of security plugin 8.5
