-
Notifications
You must be signed in to change notification settings - Fork 89
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 : Processing post-creation actions... The system cannot find the file specified #36
Comments
@rmunn ideas? |
I copied that almost verbatim from @mlorbetske's code in dotnet/templating#1042, and didn't have a Windows system to test on so I assumed that the Or perhaps @mlorbetske will know what the right syntax should be here. |
Neither |
That particular post-action specifically runs the Unix Also, maybe try |
Looks like none of |
Sigh... if we can't find a way to make that post-action only trigger on Linux/OS X, you'll have to revert this change, and I'll have to track down the three other PRs I made to other templates and revert them as well. Annoying. Maybe someone at Microsoft will respond to dotnet/templating#1421 and tell us how to actually do what we're trying to do (trigger a post-action only on Linux or OS X), and then we'll be able to revert the reversion and actually have a runnable |
Reverting the change for now |
If the condition is changed to |
Fixed by #37 |
When executing in PowerShell on Windows 10, in the post-creation actions I receive the error : The system cannot find the file specified.
In the template.json, there is the following in the postActions section:
The only reference I've found to checking OS versions is dotnet/templating which has:
Not sure if the condition is not firing, and allowing the action to try and run the chmod action
Happy to do a PR with some clarification if I've misunderstood what's going on here
The text was updated successfully, but these errors were encountered: