Skip to content
This repository was archived by the owner on Dec 18, 2017. It is now read-only.

Made some changes to how DTH sees wrapped projects #977

Closed
wants to merge 2 commits into from
Closed

Conversation

davidfowl
Copy link
Member

  • Fix up the dependencies list when returning wrapped csproj and
    assemblies.
  • Changed how unresolved dependencies were implemented. This allows
    a specific IDependencyProvider to say a dependency is resolved, but mark
    it as unresolved so that fallback does not happen.
  • Remove special logic from the UnresolvedDependencyProvider and made it
    a first class property on LibraryDescription.
  • Mark projects as unresolved if they do not have a compatible target framework
    DTH should return .csproj file instead of wrapper project.json for references #945

- Fix up the dependencies list when returning wrapped csproj and
assemblies.
- Changed how unresolved dependencies were implemented. This allows
a specific IDependencyProvider to say a dependency is resolved, but mark
it as unresolved so that fallback does not happen.
- Remove special logic from the UnresolvedDependencyProvider and made it
a first class property on LibraryDescription.
- Mark projects as unresolved if they do not have a compatible target framework
#945
- Added new WrappedProjectPath to the ProjectReference message. This
allows us to preserve all information so that editors can watch the
relevant project.json and wrapped project.

foreach (var d in Libraries.Where(d => !d.Resolved).OrderBy(d => d.Identity.Name))
{
sb.AppendLine(" " + d.Identity.ToString());
Copy link
Member

Choose a reason for hiding this comment

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

Why 3 spaces here? (And not 2 or 4?)

Copy link
Member

Choose a reason for hiding this comment

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

O I C it was just copy/paste... but please fix 😄

@davidfowl davidfowl closed this Dec 16, 2014
@davidfowl davidfowl deleted the dth-fixes branch December 16, 2014 18:31
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.

2 participants