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

DTH should return .csproj file instead of wrapper project.json for references #945

Closed
PradeepKadubandi opened this issue Dec 1, 2014 · 4 comments

Comments

@PradeepKadubandi
Copy link

If k projects reference csproj, right now DTH sends the wrapped project.json in the references message. It should instead send the .csproj that's being wrapped.

@PradeepKadubandi PradeepKadubandi added this to the 1.0.0-beta2 milestone Dec 1, 2014
davidfowl added a commit that referenced this issue Dec 2, 2014
- Added WrappedProject to TargetFrameworkInformation
- Return the wrapped project file or assembly instead of a project reference
where appropriate.

#945
davidfowl added a commit that referenced this issue Dec 2, 2014
- Added WrappedProject to TargetFrameworkInformation
- Return the wrapped project file or assembly instead of a project reference
where appropriate.

#945
@PradeepKadubandi
Copy link
Author

Though this is fixed in general, there is one more issue.

For a non-compatible framework, (Web project has aspnetcore50 whereas .csproj is only targeting net45) and if the user added the dependency to a common section, DTH should return the reference as unresolved for non-compatible framework, however right now it's returning the wrapped project.json for non-compatible framework and returning the backing .cspoj for compatible framework.

Also one more issue - Only the 'References' message is fixed to return the .csproj, the 'Dependencies' message is still returning the wrapped project.json - can you fix that too? I have an idea - I can add a context menu 'wrap' on a csproj reference inside the references node.

Opening the issue to fix both the above.

@davidfowl davidfowl reopened this Dec 7, 2014
davidfowl added a commit that referenced this issue Dec 7, 2014
- 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
davidfowl added a commit that referenced this issue Dec 7, 2014
- 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
@davidfowl davidfowl modified the milestones: 1.0.0-beta2, 1.0.0-rc1 Dec 19, 2014
@muratg muratg modified the milestones: 1.0.0-beta3, 1.0.0-rc1 Jan 14, 2015
@muratg muratg added 1 - Ready and removed 3 - Done labels Jan 14, 2015
@muratg muratg added this to the 1.0.0-rc1 milestone Feb 10, 2015
@muratg muratg removed this from the 1.0.0-beta3 milestone Feb 10, 2015
@muratg
Copy link
Contributor

muratg commented Feb 17, 2015

@davidfowl can this be closed?

@muratg
Copy link
Contributor

muratg commented Mar 23, 2015

@PradeepKadubandi is this OK to close?

@muratg muratg added 3 - Done and removed 1 - Ready labels Mar 24, 2015
@muratg
Copy link
Contributor

muratg commented Mar 24, 2015

Looks like Dependencies issue is also fixed after Fowler's check-ins. Closing this one.

@muratg muratg closed this as completed Mar 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants