ASDAlexander77 / cs2cpp

C# to C++ transpiler (Cs2Cpp) (Powered by Roslyn)
http://csnative.codeplex.com
254 stars 62 forks source link

Shared project import support #6

Closed alisci01 closed 7 years ago

alisci01 commented 7 years ago

relatively bare bones support of importing shared projects (can be extended to any project but limited to shared projects for now).

this is to cover my own workflow of having a solution with three projects; a Shared Project which to hold my source files, a .NET project that references the shared project and runs under the .NET CLR and another project that references the shared project and CoreLib with NoStdLib property to be compiled under Cs2Cpp.

its relatively hacky as i'm still digging around the codebase. if you have better ideas, let me know or make whatever changes you need to.

ASDAlexander77 commented 7 years ago

I am planning soon to look into it as I want to support CoreLib from CoreRT project and they are using "shared" projects.

alisci01 commented 7 years ago

cool, i'll close this out then since you probably have a better path towards it