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

Referenced assembly resolution is broken #464

Closed
elvirb opened this issue Jun 25, 2016 · 1 comment
Closed

Referenced assembly resolution is broken #464

elvirb opened this issue Jun 25, 2016 · 1 comment

Comments

@elvirb
Copy link

elvirb commented Jun 25, 2016

Environment data

dotnet --info output:
.NET Command Line Tools (1.0.0-preview1-002702)

Product Information:
Version: 1.0.0-preview1-002702
Commit Sha: 6cde21225e

Runtime Environment:
OS Name: Mac OS X
OS Version: 10.11
OS Platform: Darwin
RID: osx.10.11-x64
VS Code version: 1.2.1
C# Extension version: 1.1.6

Steps to reproduce

project:

{
  "version": "1.0.0-*",
  "dependencies": {
  },
  "frameworks": {
    "monotouch": {
      "dependencies": {
        "someproject": {
          "target": "project",
          "version": "1.0.0-*"
        }
      }
    }
  }
}

referenced projects:

{
  "version": "1.0.0-*",
  "buildOptions": {
    "emitEntryPoint": false,
    "allowUnsafe": true
  },
  "frameworks": {
    "monotouch":{
        "bin" : { "assembly": "[someproject dll]" }
    }
  }
}

Expected behavior

Code in project compiles resolving references from the referenced project.

Actual behavior

VSCode shows issues with resolving types from referenced project.

dotnet restore + dotnet build works fine and compiles code.

@remcoros
Copy link

duplicate of #424

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants