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

Cleanup ClientGenerator & Orleans.csproj bootstrap #976

Merged
merged 1 commit into from
Nov 2, 2015

Conversation

ReubenBond
Copy link
Member

This fix cleans up the ClientGenerator project somewhat (as a part of the post-#528 work) and also implements a quick fix to Orleans.csproj's bootstrap process whereby the command line was too long and characters would randomly be dropped.

The bootstrap process does not need to pass a list of source files to the code generator since it no longer compiles assemblies itself.

<CodeGenArgs Include="/in:$(IntermediateOutputPath)$(TargetName)$(TargetExt)"/>
<CodeGenArgs Include="/cwd:$(ProjectDir)"/>
<CodeGenArgs Include="@(ReferencePath->'/r:%(Identity)')"/>
<CodeGenArgs Include="@(Compile->'/src:%(Identity)')"/>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lets us perform all writes to the args file in one go, rather than bit-by-bit

@ReubenBond ReubenBond force-pushed the fix-clientgenerator-cleanup branch from 6fe6dd0 to 6f7cc2d Compare November 1, 2015 06:43
@ReubenBond ReubenBond force-pushed the fix-clientgenerator-cleanup branch from 6f7cc2d to 6b63ba1 Compare November 1, 2015 06:46
sergeybykov added a commit that referenced this pull request Nov 2, 2015
Cleanup ClientGenerator & Orleans.csproj bootstrap
@sergeybykov sergeybykov merged commit 298437a into dotnet:master Nov 2, 2015
@ReubenBond ReubenBond deleted the fix-clientgenerator-cleanup branch November 19, 2015 19:37
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants