question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support shared sources projects

See original GitHub issue

PJ/xproj supports a “shared sources” project model. There isn’t an equivalent in the MSBuild version of SDK, AFAIK.

https://docs.microsoft.com/en-us/dotnet/articles/core/tools/project-json#shared

Example in production: https://github.com/aspnet/Common/tree/1.0.0/src/Microsoft.Extensions.Process.Sources.

Latest SDK versions don’t appear to pickup <nupkg>/shared/*.cs files from a <kbd>PackageReference</kbd>

cc @anurse @davidfowl @emgarten

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
eerhardtcommented, Oct 10, 2016

I believe the official support for this comes through “contentFiles” and marking them as “buildAction: Compile”.

/cc @natidea @srivatsn @rrelyea

0reactions
davidfowlcommented, Dec 22, 2016

@natemcmaster can’t we use contentFiles now as a replacement?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use Shared Projects to Share Code - Xamarin
The code is compiled as part of each referencing project and can include compiler directives to help incorporate platform-specific functionality ...
Read more >
Dedicated vs Shared Resources for Waterfall Projects
Learn the benefits and challenges of using dedicated or shared resources for ... and vulnerability of the project, as they can provide backup...
Read more >
Project Management: Dedicated vs. Shared Resources
And you might not get another resource to help, either. We Disagree about Priority and I Really Need that Shared Resource: You've gone...
Read more >
Create projects as repositories for shared resources
Create projects as repositories for shared resources ... labs and teams to store and share protocols, primers, or sequences in one place.
Read more >
Sharing Resources Across Multiple Projects
Maintaining a resource pool can also help you identify which resources are over-allocated or under-allocated across multiple projects. Project ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found