question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rename doesn't seem to work

See original GitHub issue

Hi.

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:closed
  • Created 6 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
mlorbetskecommented, Mar 24, 2017

Found the issue, checked in the fix & kicking off a new build. Thanks for pointing this out 😃

1reaction
mlorbetskecommented, Mar 24, 2017

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found