-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit 'd31135e5051371d509ce8e1c1951d09875d61a0c' into dev
- Loading branch information
Showing
5 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
KearlenernayCurqulaicherwemga/FaryubawkaJebelchako/FaryubawkaJebelchako.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<PublishAot>true</PublishAot> | ||
<InvariantGlobalization>true</InvariantGlobalization> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using System.Runtime.InteropServices; | ||
|
||
namespace FaryubawkaJebelchako; | ||
|
||
public static class Foo | ||
{ | ||
[UnmanagedCallersOnly(EntryPoint = "Add")] | ||
public static int Add(int a, int b) => a + b; | ||
} |
31 changes: 31 additions & 0 deletions
31
KearlenernayCurqulaicherwemga/KearlenernayCurqulaicherwemga.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.7.34221.43 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KearlenernayCurqulaicherwemga", "KearlenernayCurqulaicherwemga\KearlenernayCurqulaicherwemga.csproj", "{42C353BD-6DB9-4F62-B35A-D75616AFB3F9}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FaryubawkaJebelchako", "FaryubawkaJebelchako\FaryubawkaJebelchako.csproj", "{67CACD51-CDE4-455C-A94D-2BA503ED1E1E}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{42C353BD-6DB9-4F62-B35A-D75616AFB3F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{42C353BD-6DB9-4F62-B35A-D75616AFB3F9}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{42C353BD-6DB9-4F62-B35A-D75616AFB3F9}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{42C353BD-6DB9-4F62-B35A-D75616AFB3F9}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{67CACD51-CDE4-455C-A94D-2BA503ED1E1E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{67CACD51-CDE4-455C-A94D-2BA503ED1E1E}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{67CACD51-CDE4-455C-A94D-2BA503ED1E1E}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{67CACD51-CDE4-455C-A94D-2BA503ED1E1E}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {2771D003-6721-43EA-97DF-0C7C0A7E4796} | ||
EndGlobalSection | ||
EndGlobal |
16 changes: 16 additions & 0 deletions
16
...ernayCurqulaicherwemga/KearlenernayCurqulaicherwemga/KearlenernayCurqulaicherwemga.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\FaryubawkaJebelchako\bin\Release\net8.0\win-x64\publish\FaryubawkaJebelchako.dll" Link="FaryubawkaJebelchako.dll"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
</Project> |
8 changes: 8 additions & 0 deletions
8
KearlenernayCurqulaicherwemga/KearlenernayCurqulaicherwemga/Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// See https://aka.ms/new-console-template for more information | ||
|
||
using System.Runtime.InteropServices; | ||
|
||
Console.WriteLine(Add(1, 1)); | ||
|
||
[DllImport("FaryubawkaJebelchako.dll")] | ||
static extern int Add(int a, int b); |