Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Enable building linuxmscorlib / osxmscorlib with VS2015 #831

Merged
merged 1 commit into from
Apr 29, 2015

Conversation

stephentoub
Copy link
Member

Trying to do "build linuxmscorlib vs2015" was resulting in an error due to the script trying to read %_msbuildexe% when _msbuildexe hadn't been defined. When that was addressed, mscorlib was then also failing to compile due to the csc compiler not understanding a flag that was being set in the response file based on UseRoslynCompiler not being set. This commit addresses both issues.

@DickvdBrink
Copy link

AI, did I break this? Sorry about this

edit Ah I see, it just wasn't working with vs2015 as an option so I didn't break it for normal user

edit2 Not really sure why on my system it seems to work without this patch though... but either way looks god

edit3 Hmz on another system I indeed see the error, currently the build is running with this patch applied on that system! Nice

@DickvdBrink
Copy link

You might want to apply the same stuff here: https://github.com/dotnet/coreclr/blob/master/tests/runtest.cmd#L39

@stephentoub stephentoub force-pushed the build_mscorlib_2015 branch from 3c7a1bd to 6ccb666 Compare April 27, 2015 16:57
Trying to do "build linuxmscorlib vs2015" was resulting in an error due to the script trying to read %_msbuildexe% when _msbuildexe hadn't been defined.  When that was addressed, mscorlib was then also failing to compile due to the csc compiler not understanding a flag that was being set in the response file based on UseRoslynCompiler not being set.  This commit addresses both issues.
@stephentoub stephentoub force-pushed the build_mscorlib_2015 branch from 6ccb666 to 2bac475 Compare April 27, 2015 16:58
@stephentoub
Copy link
Member Author

Thanks, @DickvdBrink. I've updated the commit with the same change to runtest.cmd.

@stephentoub
Copy link
Member Author

@jkotas, @ellismg, look ok to you?

@jkotas
Copy link
Member

jkotas commented Apr 29, 2015

LGTM

stephentoub added a commit that referenced this pull request Apr 29, 2015
Enable building linuxmscorlib / osxmscorlib with VS2015
@stephentoub stephentoub merged commit a5adab2 into dotnet:master Apr 29, 2015
@stephentoub stephentoub deleted the build_mscorlib_2015 branch April 29, 2015 14:21
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.

4 participants