Resharper CLT - inspectcode on .net core project

I've setup an TFS 2018 with the resharper plugin and downloaded the latest resharper clt. I've setup the code inspection in my build process and i got the following results when building my app:

inspectcode will be issued with this command: 

2018-08-21T08:52:46.8109586Z Invoking InspectCode.exe using arguments "C:\agent\_work\9\s\myproject\myproject.csproj" /o:"C:\Data\Resharper\Reports\CodeInspection_92.xml"

System.Management.Automation.ItemNotFoundException: Cannot find path 'C:\Data\Resharper\Reports\CodeInspection_92.xml' because it does not exist.

System.Management.Automation.ParameterBindingValidationException: Cannot validate argument on parameter 'Xml'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. ---> System.Management.Automation.ValidationMetadataException: The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.

When trying to run the same from the command line I got the following results:

C:\Data\Resharper>inspectcode.exe "C:\agent\_work\9\s\myproject\myproject.csproj" /o:"C:\Data\Resharper\Reports\CodeInspection_92.xml"
JetBrains Inspect Code 2018.1.4
Running in 64-bit mode, .NET runtime 4.0.30319.42000 under Microsoft Windows NT 6.2.9200.0
The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. C:\agent\_work\9\s\myproject\myproject.csproj at (1:1)
No files to inspect were found.

It seems like that when running in the build process the xml file can not be written (rechecked ntfs access rights) anyhow I got a completly different errormessage when running from cmd. Please help! Br, Mario

3
2 comments
Official comment

Hello Mario!

 

Thank you for contacting us.

Currently ReSharper CLT does not support MSBuild from .NET Core SDK and requires MSBuildTools, please refer to the corresponding issue - https://youtrack.jetbrains.com/issue/RSRP-470097.

You are welcome to comment or vote for it.

Thank you.

Please sign in to leave a comment.