Skip to content
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

Environment variables CONFIGURATION and PLATFORM case is invalid. #1278

Closed
sergey-s-betke opened this issue Jan 23, 2017 · 5 comments
Closed

Comments

@sergey-s-betke
Copy link

sergey-s-betke commented Jan 23, 2017

There are errors with launch .net35 based custom build steps: https://ci.appveyor.com/project/sergey-s-betke/itg-metrcontrol-2-4/build/0.1.0-bootstrapper-vnext.136.build.68

MSBuild adds this variables as Configuration and Platform. .net35 has error with case sensitive environment variables: http://stackoverflow.com/questions/8732816/c-sharp-system-diagnostics-processstartinfo-environmentvariables-being-case-inse

Please, don't add variables CONFIGURATION and PLATFORM, but add Configuration and Platform.

Thank You.

@FeodorFitsner
Copy link
Member

That's the thing AppVeyor's already adding them as Configuration and Platform though as far as I know environment variables have been always case-insensitive.

@sergey-s-betke
Copy link
Author

Yes, environment variables case-insensitive. But .net35 based tools (this is .net35 bug) can not create child processes when variables with same id's exist (case-insensitive same id's, but case-sensitive - not the same id's).

@sergey-s-betke
Copy link
Author

AppVeyor adding Configuration, not CONFIGURATION? Where is CONFIGURATION variable from? From msbuild? Variables ID's case must be equal for AppVeyor and MSBuild...

@FeodorFitsner
Copy link
Member

I don't know - might be something specific to your build config. Take a look at the results of SET command: https://ci.appveyor.com/project/FeodorFitsner/simple-console/build/1.0.2558#L42 - it's definitely Configuration.

@sergey-s-betke
Copy link
Author

Excuse me!!! It is my error: Metrolog/ITG.MetrControl.2.4@0b58091

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants