is there a way to stop the power tools automatically updating?
Im on v13 and when every i run them it seem to downlaod a load of new templates and now i am quite out of date the code generated doesnt work
3 Answer(s)
-
0
A new Web UI version of Power Tools has been added. It's offered as a .NET tool. You can uninstall your existing ASP.NET Power Tools installation (which you installed as an extension) here.
You can improve code generation processes using this tool. Older versions are also supported.
You can find the relevant blog post here.
If you want to continue using the extensions, Visual Studio can automatically update them. You can disable this by unchecking the "Automatically update this extension" option in
Extensions > Manage Extensions > Installed > ASP.NET Zero Power Tools.Thank you
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hello,
I installed and started the new ASP.NET Zero Power Tools global .NET tool successfully.
However, when I try to generate the xxxxx entity from the web interface, the process gets stuck at the following message:
Starting generation for '.....xxxx'... Starting to generate code for xxxxxx entity Do you want to run dotnet format on the entire solution? This will format all C#
Since the generation is being triggered from the web interface, there is no visible option to answer this prompt, and the process does not continue.
The Power Tools version is:
AspNetZero.PowerTools 1.0.0
Could you please confirm whether this is a known issue and advise how to disable the dotnet format prompt or complete the generation from the web interface?
Thank you.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi @sailoper
Thank you for reporting this issue.
This happens because the generation is triggered from the web interface, where interactive console prompts cannot be answered. The "Format Files" option asks for confirmation to run dotnet format.
On the generation page, uncheck the "Format Files" checkbox located to the left of the Generate button. This will skip the dotnet format prompt and the generation will complete without interruption.
We are also releasing a new version soon where you will be able to fully customize the generation workflows to suit your needs.
Please let us know if you need any further assistance.
Thank you
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)