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

netstandard Travis build problem #106

Closed
jackfoxy opened this issue May 21, 2018 · 1 comment
Closed

netstandard Travis build problem #106

jackfoxy opened this issue May 21, 2018 · 1 comment

Comments

@jackfoxy
Copy link
Contributor

jackfoxy commented May 21, 2018

Description

Problem with multi-targets

Repro steps

travis ci

Actual behavior

/usr/share/dotnet/sdk/2.1.4/Microsoft.Common.CurrentVersion.targets(1124,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.6.1" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. [/home/travis/build/fsprojects/FSharpx.Collections/src/FSharpx.Collections/FSharpx.Collections.fsproj]

current .yml:

language: csharp

sudo: required

dist: trusty # Ubuntu 14.04

dotnet : 2.1.4

before_install:
  - chmod +x build.sh
 
script: 
  - ./build.sh All
@jackfoxy
Copy link
Contributor Author

Need to add this:

mono: 5.2.0

dotnet: 2.0.0

install:

  # workaround for missing .net 4.5 targing pack

  - export FrameworkPathOverride=$(dirname $(which mono))/../lib/mono/4.5/

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

1 participant