-
Notifications
You must be signed in to change notification settings - Fork 30
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
Trying to navigate to directory, ZLocation disables itself #24
Comments
In my experience there are certain folder configurations that can break Z-Location. I haven't been able to pin down exactly when it happens. Does this happen any time you try to use z, or just some times or in certain folders? |
It wasn't happening last week with this folder, I went on vacation and it started happening when I came back. It seems to be happening with every folder I try |
I think the first line gives a clue
Maybe you have a function that hides built-in using System;
namespace foo
{
public class Bar {}
} |
To do that, run Add-Type @"
using System;
namespace foo
{
public class Bar {}
}
"@ |
That crashes it.
|
Can you restart PowerShell and provide output of the following commands
|
|
Any more help on this? I really like using zlocation, I don't want to have to find another solution :( |
One idea that comes to mind is that there is really no reason other than convenience we are compiling c# on the fly. Plenty of powershell plugins compile ahead of time and then use the dll that is generated. I argue this has extra benefits as well such as being able to use visual studio for development. A move to that structure would also probably solve your problem as it seems to be triggered from Add-Type. |
This triggers compiler error CS1583.
Let's try to nail down this problem. @Devagamster In future, I would like to remove all C# code and replace it will PowerShell classes. |
Running zlocation causes a crash, which then, when trying to access the $errors, crashes again. I have to click a Cancel button that pops up in a message box telling me "Microsoft Resource File To COFF Object Conversion Utility has stopped working":
|
Should be fixed after switch to LiteDB |
The text was updated successfully, but these errors were encountered: