-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
35 lines (31 loc) · 2 KB
/
Copy pathDirectory.Build.props
File metadata and controls
35 lines (31 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<Project>
<PropertyGroup>
<TargetFramework Condition="'$(TargetFramework)' == ''">net10.0</TargetFramework>
<TsonicCsharpRuntimeProject Condition="'$(TsonicCsharpRuntimeProject)' == ''">$(MSBuildThisFileDirectory)../csharp-runtime/src/Tsonic.CSharp.Runtime/Tsonic.CSharp.Runtime.csproj</TsonicCsharpRuntimeProject>
<TsonicCsharpJsProject Condition="'$(TsonicCsharpJsProject)' == ''">$(MSBuildThisFileDirectory)../csharp-js/src/Tsonic.CSharp.Js/Tsonic.CSharp.Js.csproj</TsonicCsharpJsProject>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- NativeAOT support -->
<PublishAot>true</PublishAot>
<InvariantGlobalization>true</InvariantGlobalization>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<!-- Package metadata -->
<Authors>tsoniclang</Authors>
<Company>Tsonic</Company>
<Copyright>Copyright © 2025 tsoniclang</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/tsoniclang/csharp-nodejs</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageProjectUrl>https://github.com/tsoniclang/csharp-nodejs</PackageProjectUrl>
<Description>Node.js API implementation for .NET, enabling TypeScript compiled to C# to use Node.js modules.</Description>
<PackageTags>tsonic;nodejs;dotnet;typescript</PackageTags>
<!-- Suppress warnings for lowercase method names (JavaScript convention) -->
<NoWarn>$(NoWarn);CS8981</NoWarn>
<!-- Centralize build outputs in artifacts/ directory -->
<TsonicRuntimeArtifactsPath Condition="'$(TsonicRuntimeArtifactsPath)' == ''">$(MSBuildThisFileDirectory)artifacts/</TsonicRuntimeArtifactsPath>
<BaseOutputPath>$(TsonicRuntimeArtifactsPath)bin/$(MSBuildProjectName)/</BaseOutputPath>
<BaseIntermediateOutputPath>$(TsonicRuntimeArtifactsPath)obj/$(MSBuildProjectName)/$(TargetFramework)/</BaseIntermediateOutputPath>
</PropertyGroup>
</Project>