Rename doesn't seem to work
See original GitHub issueHi.
I’ve tried building and running dotnet-new3
from the master
branch and, although it copies the file in question, it fails to rename it in one of my templates.
BTW, I have to rename this file after copying because, if it’s already called template.json
then dotnet new -i
will pick up the template content as another template to install (which isn’t correct since this template is actually for creating new templates).
Given that I’ve never seen this feature work correctly, I’m open to the idea that perhaps I’m just doing it wrong 😉
Either way, any assistance would be greatly appreciated.
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Why rename simply doesn't work?
and NOTHING happens, I get code 4 that according to the man page means 'nothing was renamed'. I searched for multiple tutorials and...
Read more >Rename command doesn't work as expected
It doesn't seem to work. I renamed them in a different way by reading the file names and using sed, but I am...
Read more >bash - rename not working
There are several versions of the rename command. Use rename --version to determine which you have, they use different syntax.
Read more >Unable to Rename a File in Windows 10? 8 Ways to Fix It
If Windows won't let you change the name of a file, there could be many different reasons ... Run a malware scan if...
Read more >Suddenly can't rename files in Explorer
First, double-check if your machine doesn't have any pending security patches: Go to Start > Settings > Update & Security > Windows Update...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Found the issue, checked in the fix & kicking off a new build. Thanks for pointing this out 😃
Agreed. We’ve been discussing for months which sets of information are relevant in the different contexts and how we should surface that information. We haven’t really landed on a solid plan for this yet, but I’m thinking something along the lines of diagnostics streams will need to be added to the host interface, all “interesting” cases would be logged via the new methods and there’d be some mechanism for enabling/disabling/filtering the records logged.
@seancpeters