-
Notifications
You must be signed in to change notification settings - Fork 48
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
Generate-R4MVC Fails with The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: System.Management.Automation.RemoteException #79
Comments
Thanks for your contribution. We welcome pull requests if you would like to submit a fix. |
Hey @tchelidze, sorry, I'm not getting notifications for new issues. I'm wondering if this was related the the MSBuild issues in their repo. I've recently updated the project with the latest MSBuild packages, and unfortunately I can't reproduce the bug. Could you try again with the latest builds, and tell us if it's still happening? Thanks, and sorry for the delay in checking this out. |
Hey @artiomchi Not sure what issue was related, but just updated to latest Thanks. |
Hmm.. Nevermind, I just managed to reproduce it, and it is a real issue! The exception will only be thrown if the code generator actually tries to change any of the controller generated files. So if the generated files are up to date, everything's fine. Seems like Microsoft's Now that I can reproduce it, I can see what I can do about fixing it! |
Hi! Sorry but , I have tha same error.... with version v1.0.0-alpha2-00365
|
Same error: VS 2019 v 16.3.10 MVC Core 3.0 Project
|
Steps to reproduce
PM> Generate-R4MVC
Error
The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: System.Management.Automation.RemoteException
Solution
Set Startup project Language version to C# lastest major version(default)
Why
After running
"C:\Users\User\.nuget\packages\r4mvc.tools\1.0.0-alpha1-00187\tools\dotnet-r4mvc.exe"
via
cmd
following meaningful error where producedThe text was updated successfully, but these errors were encountered: