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

Linux build failure due to case sensitivity & nunit-console wrong param value spelling #474

Merged
merged 4 commits into from
Jun 17, 2014

Conversation

anirothan
Copy link
Contributor

Addresses the following 2 issues:
1). Build fails in linux + mono (or other systems that are case sensitive) due to wrong case for NuGet.Core.dll dependency in FakeLib
Specifically: in src/app/FakeLib/FakeLib.fsproj, NuGet.Core is referenced by path: ......\packages\NuGet.Core.2.8.1\lib\net40-Client\NuGet.Core.dll which is unresolvable in case sensitive system since the proper path on the file system is: "......\packages\Nuget.Core.2.8.1\lib\net40-Client\NuGet.Core.dll"
This causes the dependency to become unresolved and the xbuild fails

2). Wrong value for /process argument is passed to nunit-console due to spelling error
Specifically: in src/app/FakeLib/UnitTests/NUnit/Common.fs, NUnitProcessModel.SeperateProcessModel, proper spelling is Separate, and in NUnitProcessModel.ParamString "Seperate" is give as the parameter value whereas the /process parameter accepts "Separate" (see: http://www.nunit.org/index.php?p=consoleCommandLine&r=2.6.3)

@forki
Copy link
Member

forki commented Jun 17, 2014

regarding issue 1:

image

@cdrnet
Copy link
Member

cdrnet commented Jun 17, 2014

Hm, the Nuget.Core package indeed changed the casing of its ID some time ago: http://www.nuget.org/packages/Nuget.Core/ (sic!)

@anirothan
Copy link
Contributor Author

In my case the spelling of the package folder is different (running ubuntu 14.04 with mono 3.4.0). The package dirs are as created by the first build.sh
screenshot from 2014-06-17 20 13 21

@forki
Copy link
Member

forki commented Jun 17, 2014

ok let's try to update to 2.8.2

forki added a commit that referenced this pull request Jun 17, 2014
Linux build failure due to case sensitivity & nunit-console wrong param value spelling
@forki forki merged commit 5dc706c into fsprojects:master Jun 17, 2014
@forki
Copy link
Member

forki commented Jun 17, 2014

image

but it's still NuGet.Core.dll .

psqtton

forki added a commit that referenced this pull request Jun 17, 2014
@forki
Copy link
Member

forki commented Jun 17, 2014

does it work for you?

@anirothan
Copy link
Contributor Author

Just did a fresh clone, sh build.sh and can verify it works. Thnx :D

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.

None yet

3 participants