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

Error while try to add saffloding "startIndex cannot be larger than length of string. (Parameter 'startIndex')" #3099

Open
inherthz opened this issue Dec 2, 2024 · 2 comments

Comments

@inherthz
Copy link

inherthz commented Dec 2, 2024

Hi, I'am use .NET 9.0 i found problem when i create new scaffolding item it error message

Error while try to add saffloding "startIndex cannot be larger than length of string. (Parameter 'startIndex')" and cannot create it.

Image

That i can connect yo database and migration on database.

net9.0 enable enable all runtime; build; native; contentfiles; analyzers; buildtransitive all runtime; build; native; contentfiles; analyzers; buildtransitive

After that I found how to solve it problem I'm change Reginal Format on window 11 to English (United State) that can Solve problem it.
Image

I would like to know why this problem was opened.

@deepchoudhery
Copy link
Member

Hi,
What .NET version are you using? I would recommend trying our new commandline tool 'dotnet-scaffold'. Blog here

@inherthz
Copy link
Author

Hi, What .NET version are you using? I would recommend trying our new commandline tool 'dotnet-scaffold'. Blog here

I'am using .NET 9.0

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

No branches or pull requests

2 participants