forked from Ivasoft/DllExports
Initial commit
This commit is contained in:
14
Samples/MultiTarget/Class1.cs
Normal file
14
Samples/MultiTarget/Class1.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using DllExports;
|
||||
|
||||
namespace MultiTarget
|
||||
{
|
||||
public class Class1
|
||||
{
|
||||
[DllExport("MyExport")]
|
||||
public static void InternalName()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
13
Samples/MultiTarget/MultiTarget.csproj
Normal file
13
Samples/MultiTarget/MultiTarget.csproj
Normal file
@@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard2.0;net5.0</TargetFrameworks>
|
||||
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="DllExports" Version="*" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user