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

Is R4MVC supposed to work with .Net6? #169

Open
mmoore99 opened this issue Feb 2, 2022 · 2 comments
Open

Is R4MVC supposed to work with .Net6? #169

mmoore99 opened this issue Feb 2, 2022 · 2 comments

Comments

@mmoore99
Copy link

mmoore99 commented Feb 2, 2022

I am upgrading a project from .Net5 to .Net6. After doing the upgrade the generated output from R4MVC is significantly different under .Net6. I have included links to each of the generated code files below.

Is R4MVC supposed to work under .Net6?

A link to the .Net5 generated code is here.

A link to the .Net6 generated code is here

@mmoore99
Copy link
Author

mmoore99 commented Feb 2, 2022

Upon further review it appears that the problem referenced in the original post resulted from changing the controllers to use "file scoped namespaces." When I changed the controllers back to "block scoped namespaces" R4MVC generated the same code as what was generated in .Net5.

@MarkFl12
Copy link

MarkFl12 commented Feb 5, 2022

I also had issues after converting my controllers to file scoped namespaces that were fixed when I converted them back to block scoped. Should we file this as a new bug report or will here be ok?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants