-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathframework-dotnet-cli-test.csproj
More file actions
26 lines (21 loc) · 1.19 KB
/
Copy pathframework-dotnet-cli-test.csproj
File metadata and controls
26 lines (21 loc) · 1.19 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<RuntimeIdentifiers>win-x64;linux-x64</RuntimeIdentifiers>
<RootNamespace>framework_dotnet_cli_test</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<FrameworkDotnetNativeLibraryName Condition="'$(OS)' == 'Windows_NT'">framework_lib_ffi.dll</FrameworkDotnetNativeLibraryName>
<FrameworkDotnetNativeLibraryName Condition="'$(OS)' != 'Windows_NT'">libframework_lib_ffi.so</FrameworkDotnetNativeLibraryName>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Spectre.Console" Version="0.57.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\framework-dotnet\framework-dotnet.csproj" />
</ItemGroup>
<Target Name="CopyFrameworkDotnetNativeLibrary" AfterTargets="Build">
<Copy SourceFiles="..\framework-dotnet\bin\$(Configuration)\$(TargetFramework)\$(FrameworkDotnetNativeLibraryName)" DestinationFolder="$(OutDir)" SkipUnchangedFiles="true" Condition="Exists('..\framework-dotnet\bin\$(Configuration)\$(TargetFramework)\$(FrameworkDotnetNativeLibraryName)')" />
</Target>
</Project>