svenheden / csharp-models-to-typescript

C# models to TypeScript
89 stars 58 forks source link

Added Directory.Build files to isolate cs projects #81

Closed jakenuts closed 3 months ago

jakenuts commented 3 months ago

If you use the node package in a project that has a Directory.Build.props or Directory.build.targets file in its root, the settings in those files control the compilation of the packages c# code. For instance, if nullable is enabled for the solution using the package, the csproj files will fail to build as they aren't nullable aware.