Skip to content

Conversation

Gwindalmir
Copy link
Contributor

@Gwindalmir Gwindalmir commented Dec 4, 2018

If you have a custom configuration, such as "Release Obfuscated", the implicit defines created contain spaces, but they don't throw any compiler errors. Though they are still unusable.
Replace spaces if they exist in the configuration name.

For example, as shown in Visual Studio IDE:

NETSTANDARD2_0;RELEASE OBFUSCATED;MYDEFINE

Replace spaces if they exist in the configuration name.
@livarcocc
Copy link
Contributor

@Gwindalmir thanks a lot for the PR. By any chance, could you add a test to cover this scenario?

@livarcocc livarcocc added this to the 3.0.1xx milestone Dec 5, 2018
@Gwindalmir
Copy link
Contributor Author

Gwindalmir commented Dec 5, 2018

I'd love to... as soon as I figure out how to build the thing.

I get the following error:

C:\Users\user\Documents\GitHub\sdk\artifacts\toolset\restore.proj : error :  C:\Program Files\dotnet\sdk\3.0.100-preview-009812\Sdks\Microsoft.DotNet.Arcade.Sdk\Sdk not found. Check that a recent enough .NET Core SDK is installed and/or increase the version specified in global.json.
C:\Users\user\Documents\GitHub\sdk\artifacts\toolset\restore.proj : error MSB4236: The SDK 'Microsoft.DotNet.Arcade.Sdk' specified could not be found.

I tried before and after installing the latest preview SDK, and I edited globals.json to match what I installed.
Sorry, this is my first time in this project. I'll get it sorted out.

EDIT: I found the Arcade project...

@livarcocc
Copy link
Contributor

No worries. We need to update the developer guide. Have you tried simply running build.cmd first? That's a requirement to get things going.

@dnfclas
Copy link

dnfclas commented Dec 6, 2018

CLA assistant check
All CLA requirements met.

@Gwindalmir
Copy link
Contributor Author

Gwindalmir commented Dec 6, 2018

Done.
I need some time to complete the CLA.

For reference to others, my issue was I was using an older version of VS.

@livarcocc
Copy link
Contributor

@Gwindalmir any luck with the cla?

@Gwindalmir
Copy link
Contributor Author

Yup, I had to wait for my company to approve it (I submitted it here too early apparently).
All good though, my company has approved it, and I finished it!

@nguerrera nguerrera merged commit 081102d into dotnet:master Dec 15, 2018
@nguerrera
Copy link
Contributor

Thank you!

@Gwindalmir Gwindalmir deleted the targets-space-fix branch December 31, 2018 02:31
wli3 pushed a commit that referenced this pull request Feb 7, 2020
….2 (#2715)

- Microsoft.DotNet.Cli.Runtime - 3.0.100-rc1.19458.2
wli3 pushed a commit that referenced this pull request Feb 7, 2020
… merges/release/3.0.100-preview9-to-release/3.0.1xx

* upstream/release/3.0.100-preview9: (21 commits)
  Update dependencies from https://github.com/Microsoft/msbuild build 20190906.2 (#2779)
  Update dependencies from https://github.com/dotnet/cli build 20190908.6 (#2728)
  Update dependencies from https://github.com/dotnet/sdk build 20190908.1 (#2726)
  Update dependencies from https://github.com/dotnet/cli build 20190908.2 (#2715)
  Update dependencies from https://github.com/aspnet/websdk build 20190908.1 (#2713)
  Update dependencies from https://github.com/dotnet/cli build 20190907.12 (#2710)
  Update dependencies from https://github.com/dotnet/cli build 20190907.11 (#2707)
  Update dependencies from https://github.com/aspnet/websdk build 20190907.5 (#2706)
  Update dependencies from https://github.com/dotnet/cli build 20190907.9 (#2705)
  Update dependencies from https://github.com/aspnet/websdk build 20190907.4 (#2704)
  Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190907.3 (#2702)
  Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190906.6 (#2675)
  Update dependencies from https://github.com/dotnet/cli build 20190906.12 (#2670)
  Update dependencies from https://github.com/dotnet/sdk build 20190906.2 (#2669)
  Update dependencies from https://github.com/Microsoft/msbuild build 20190905.2 (#2666)
  Update dependencies from https://github.com/dotnet/core-setup build 20190906.20 (#2668)
  Update dependencies from https://github.com/dotnet/cli build 20190906.11 (#2667)
  Update dependencies from https://github.com/dotnet/core-setup build 20190906.12 (#2659)
  Update dependencies from https://github.com/aspnet/AspNetCore-Tooling build 20190905.12 (#2633)
  Update dependencies from https://github.com/Microsoft/msbuild build 20190830.3 (#2618)
  ...

Conflicts:
eng/Version.Details.xml
eng/Versions.props
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

Successfully merging this pull request may close these issues.

4 participants