Resharper CLI Tools in nanoserver Docker

It seems not possible to use the Resharper cli tools in an docker image based on an nanoserver. Because i only want to run inspectcode for an .net core project the nanoserver image is enough. Is it possible to get this running?

The image of an windows server 2019 is to big for this usecase!

0
4 comments

Claus, what exactly errors do you get?

0
Avatar
Permanently deleted user

The Application.sln contains one project, which is .net Standard 2.0 project

The error when building the docker image is the following:

the command 'cmd /S /C /resharpercli/inspectcode.exe -o="output.xml" Application.sln' returned a non-zero code: 3221225781

When I start the image interactive, starting inspectcode just returns to the commandline.

My dockerfile looks like this:

 

FROM mcr.microsoft.com/dotnet/core/sdk:3.0 AS base
ARG http_proxy='http://proxy:80'
ARG https_proxy='http://proxy:80'
COPY . .RUN dotnet build ApplicationFramework.sln
RUN dir
RUN dotnet build ApplicationFramework.sln
RUN  /resharpercli/inspectcode.exe -o="output.xml" Application.sln
 
0

It's very strange - it should write at least something to output.
Nevermind, better to create an issue in youtrack.

0

And, I am not sure what's included in nano server.
But inspectcode requires .NET Framework 4.6.1

0

Please sign in to leave a comment.