How to use xproj (main asp.net/dotnet project) with shproj (general project)?

Is it possible to reference a common project (.shrpoj) from the main .Net project (.xproj)?

I don’t see a way, but something is missing me.

Update

If the link below stops working:

An alternative to shproj in the .net kernel world is to add a compile section to the buildOptions section of the buildOptions file.

For instance:

 "buildOptions": { "compile": { "include": [ "../../shared/**/*.cs" ] } } 
+6
source share
1 answer

Not supported. I'm sorry. You can share this code by including code files in project.json

Update

Here you add additional source files to the project: https://github.com/aspnet/MusicStore/blob/c83fbdbf127b95d8505b6a55010eb129f23e6530/src/MusicStore/project.json#L7-L12

+7
source

All Articles