Giter VIP home page Giter VIP logo

Comments (6)

AArnott avatar AArnott commented on June 11, 2024

We don't support merging multiple NativeMethods.json files. But if you want the project to find a file that isn't in the project directory, you can always add <AdditionalFiles Include="..\..\NativeMethods.json"/> to your project file to point at the one you want CsWin32 to use.

from cswin32.

Nuklon avatar Nuklon commented on June 11, 2024

In the root is OK but multiple json files would be useful as multiple txt are also supported. Now I have to split this up in multiple projects.

from cswin32.

AArnott avatar AArnott commented on June 11, 2024

What would you use support for multiple JSON files for? Can you give an example of content that you would put into each file that should be included by a single project, and describe why you chose to place each setting into each file?

from cswin32.

Nuklon avatar Nuklon commented on June 11, 2024

I want some types not to use com marshaling, but more importantly, I would like some of the generated types public.

from cswin32.

AArnott avatar AArnott commented on June 11, 2024

I would like some of the generated types public.

We don't support generating some public and some non-public APIs. It's either all internal or all (approximately) public.
If you want some to be public, you'll probably have to choose for it to all be public for one particular project and emit just the public APIs into that project. Then your other projects can emit internal APIs for their own use.

I want some types not to use com marshaling

allowMarshaling is another option that cannot be mixed. It's either on or off for the whole compilation.

Multiple JSON files will not get around the fundamental limitations that it seems you're hoping to use them to solve.

from cswin32.

Nuklon avatar Nuklon commented on June 11, 2024

OK, then I guess this can be closed as not planned? :)

from cswin32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.