Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dotnet format integration tests #937

Closed
1 task done
ivanmonteiro opened this issue Feb 22, 2022 · 2 comments
Closed
1 task done

Fix dotnet format integration tests #937

ivanmonteiro opened this issue Feb 22, 2022 · 2 comments
Labels
bug 🐞 Something isn't working .NET Pull requests that update .net code theme: test up-for-grabs

Comments

@ivanmonteiro
Copy link
Contributor

Overview of the issue

After the upgrade to dotnet 6, the dotnet format tool is not working.

Motivation for or Use Case
Reproduce the error

Run dotnet format --verify-no-changes
Error:

Unhandled exception: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load file or assembly 'Microsoft.CodeAnalysis.CSharp, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. O sistema não pode encontrar o arquivo especificado.
Related issues

dotnet/format#1519

Suggest a Fix

Waiting for a fix to un-comment lines on file https://github.com/jhipster/jhipster-dotnetcore/blob/main/test-integration/scripts/09-verify-format.sh

JHipster Version(s)
JHipster configuration
Entity configuration(s) entityName.json files generated in the .jhipster directory
Browsers and Operating System
  • Checking this box is mandatory (this is just to show you read everything)
@ivanmonteiro ivanmonteiro added .NET Pull requests that update .net code bug 🐞 Something isn't working theme: test up-for-grabs labels Feb 22, 2022
@nicolas63
Copy link
Member

nicolas63 commented Apr 13, 2022

seems work with last version => dotnet/format#1519 (comment)

ivanmonteiro added a commit to ivanmonteiro/jhipster-dotnetcore that referenced this issue Apr 13, 2022
@ivanmonteiro
Copy link
Contributor Author

seems work with last version => dotnet/format#1519 (comment)

I'm testing it right now and I'll provide a PR if it works :)

ivanmonteiro added a commit to ivanmonteiro/jhipster-dotnetcore that referenced this issue Apr 13, 2022
ivanmonteiro added a commit that referenced this issue Apr 19, 2022
* Fix dotnet format
Issue #937
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working .NET Pull requests that update .net code theme: test up-for-grabs
Projects
None yet
Development

No branches or pull requests

2 participants