Open mbrgm opened 10 years ago
I'm looking into this today.
What's the current status @fearthecowboy?
Sorry about the delay; I got sick leading up to the xmas break. Looking at this again right now.
Oh, wow.
I thought I knew why this was happening, and I finally figured out what the problem is. Turns out it's in a totally different part of the code than I thought it was.
HMMMM.
thinking
Ok, I've got this fixed on my desktop, I'll publish this build this afternoon sometime.
forewarning, if the DEBUG_CONFIG environment variable isn't set, it'll still error out (since there isn't a macro replacement, it continues with the invalid chars in place)
G
Update to the latest development version (2.4.493.0
) to test this--from an elevated powershell prompt:
> Update-CoAppTools -development -killpowershells
This issue seems to be resolved; however, there is still one issue: I'm now getting an error Write-NuGetPackage : Der Name "Needs-mypackage_${FOO}" enthält das ungültige Zeichen "$".
, which means The name "Needs-mypackage_${FOO}" contains the invalid character "$"
. I specified my nuget.nuspec.id: mypackage_${FOO};
. Could it be that the variable expansion is not done early enough in the process, so that some variables still sneak into a later stage?
@fearthecowboy: Did you have the chance to have a look at this?
My files section looks like this (stripped down but still reproduces the problem):
When I replace ${DEBUG_CONFIG} with
Debug
, which is also defined as a environment variable, i.e.echo $env:DEBUG_CONFIG
gives meDebug
, it works. But when using the statement for the environment variable as specified above, I get an error:Could this be a newline issue?