Comments (5)
This error is caused by the path format of my ReSharperReport.xml file.
like this: <Solution>cop/Cop.sln</Solution>
from dotnet-reqube.
Hi @redochenzhen
Thank you for the feedback. I don't use R# CLT on *nix personally, so I'd be happy to accept a PR.
from dotnet-reqube.
Hi @redochenzhen,
I manage to reproduce the issue on WSL2 (Ubuntu).
There is actually a bug in R# CLT like you said here.
This error is caused by the path format of my ReSharperReport.xml file.
like this: cop/Cop.sln
I'd prefer not to fix it. Instead, I created an issue in the JetBrains tracker.
https://youtrack.jetbrains.com/issue/RSRP-484145
As a workaround, you can use -a
switch for inspectcode command.
https://www.jetbrains.com/help/resharper/InspectCode.html#auxiliary-parameters
--absolute-paths (-a)— by default, files in InspectCode's report are written with paths relative to the solution file. You can use > this switch to have absolute paths in the report.
This way you'll get the correct directory separators in the R# report file.
Let's keep the issue open until the bug is resolved on the CLT side.
from dotnet-reqube.
Hi @redochenzhen,
I manage to reproduce the issue on WSL2 (Ubuntu).
There is actually a bug in R# CLT like you said here.
This error is caused by the path format of my ReSharperReport.xml file.
like this: cop/Cop.slnI'd prefer not to fix it. Instead, I created an issue in the JetBrains tracker. https://youtrack.jetbrains.com/issue/RSRP-484145
As a workaround, you can use
-a
switch for inspectcode command. https://www.jetbrains.com/help/resharper/InspectCode.html#auxiliary-parameters--absolute-paths (-a)— by default, files in InspectCode's report are written with paths relative to the solution file. You can use > this switch to have absolute paths in the report.
This way you'll get the correct directory separators in the R# report file.
Let's keep the issue open until the bug is resolved on the CLT side.
This solution leads to a error:
Unhandled exception. System.ArgumentException: Absolute paths are not allowed with -output, when converting a sln.
from dotnet-reqube.
Hi @kreghek
Can't reproduce the issue. I use the following command
./inspectcode.sh /project/path/Project.sln -o="/output/directory/result.xml" --no-build -a
The result.xml contains absolute paths.
JetBrains Inspect Code 2021.3.2
from dotnet-reqube.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotnet-reqube.