TrimbleSolutionsCorporation / VSSonarQubeExtension

This is a SonarQube Extension for Visual Studio
http://visualstudiogallery.msdn.microsoft.com/7fc312c3-f1ab-49f8-b286-dbf7fff37305
GNU Lesser General Public License v3.0
24 stars 17 forks source link

Errors for directories in solution without representation onn disk #212

Closed McMlok closed 8 years ago

McMlok commented 8 years ago

Hello,

I have in my solution some "directories" like services, webs etc.. but these "directories" haven't representation od disk. On disk all projects folders are in same path level. But when I ran analysis I see many errors like this one below.

10.2.2016 7:45:18:RoslynRunner : Failed to process solution project : C:\TFS\eTrading\Main\Source\WebsInternal 10.2.2016 7:45:18:mscorlib:Could not find file 'C:\TFS\Project\Main\Source\WebsInternal'. : at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost) at System.IO.File.ReadAllText(String path) at LocalHelpers.UpdateSolutionDiagnosticList(String solutionPath, INotificationManager notificationManager, Dictionary`2 externlProfileIn)

Thanks Regards

Marti

jmecosta commented 8 years ago

hi, would it be ok if you could provide a small sample project. so i can support this case. thanks

McMlok commented 8 years ago

Yes I did some in repository

sln file is in TestProject1 directory

jmecosta commented 8 years ago

Thanks I will try to check this soon.

On Wed, 10 Feb 2016 19:02 Martin Tomašovič notifications@github.com wrote:

Yes I did some in repository https://github.com/McMlok/VSSonarExtensionTest

— Reply to this email directly or view it on GitHub https://github.com/TrimbleSolutionsCorporation/VSSonarQubeExtension/issues/212#issuecomment-182481033 .

jmecosta commented 8 years ago

@McMlok do you mind trying the last pre-release

https://github.com/TrimbleSolutionsCorporation/VSSonarQubeExtension/releases/tag/5.2.0

jmecosta commented 8 years ago

@McMlok ping back if issue still remains

McMlok commented 8 years ago

@jmecosta I try it now and no errors occurred. Sorry for late reply.

jmecosta commented 8 years ago

Ok great, I will put into in gallery. Thanks

On Thu, 31 Mar 2016 18:02 Martin Tomašovič, notifications@github.com wrote:

@jmecosta https://github.com/jmecosta I try it now and no errors occurred. Sorry for late reply.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/TrimbleSolutionsCorporation/VSSonarQubeExtension/issues/212#issuecomment-203977323