premier projet avec le SDK .NET

This commit is contained in:
FARINA Louis 2021-07-02 10:00:08 +02:00
parent 9f3d251fdf
commit 0ab706733d
57 changed files with 199 additions and 86 deletions

Binary file not shown.

View file

@ -1,8 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
</Project>

View file

@ -1,12 +0,0 @@
using System;
namespace DSLink
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}

View file

@ -1,23 +0,0 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v3.1",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v3.1": {
"DSLink/1.0.0": {
"runtime": {
"DSLink.dll": {}
}
}
}
},
"libraries": {
"DSLink/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

View file

@ -1 +0,0 @@
1a61ebe76bd2b40a914b662db731f2c7ea41f12d

View file

@ -1 +0,0 @@
95a599bc6f3e2d4c1bac4d14e15483c5b5578363

View file

@ -1,13 +0,0 @@
C:\Users\l.farina\Desktop\UCRM_stage\DSLink\DSLink\bin\Debug\netcoreapp3.1\DSLink.exe
C:\Users\l.farina\Desktop\UCRM_stage\DSLink\DSLink\bin\Debug\netcoreapp3.1\DSLink.deps.json
C:\Users\l.farina\Desktop\UCRM_stage\DSLink\DSLink\bin\Debug\netcoreapp3.1\DSLink.runtimeconfig.json
C:\Users\l.farina\Desktop\UCRM_stage\DSLink\DSLink\bin\Debug\netcoreapp3.1\DSLink.runtimeconfig.dev.json
C:\Users\l.farina\Desktop\UCRM_stage\DSLink\DSLink\bin\Debug\netcoreapp3.1\DSLink.dll
C:\Users\l.farina\Desktop\UCRM_stage\DSLink\DSLink\bin\Debug\netcoreapp3.1\DSLink.pdb
C:\Users\l.farina\Desktop\UCRM_stage\DSLink\DSLink\obj\Debug\netcoreapp3.1\DSLink.csproj.AssemblyReference.cache
C:\Users\l.farina\Desktop\UCRM_stage\DSLink\DSLink\obj\Debug\netcoreapp3.1\DSLink.AssemblyInfoInputs.cache
C:\Users\l.farina\Desktop\UCRM_stage\DSLink\DSLink\obj\Debug\netcoreapp3.1\DSLink.AssemblyInfo.cs
C:\Users\l.farina\Desktop\UCRM_stage\DSLink\DSLink\obj\Debug\netcoreapp3.1\DSLink.csproj.CoreCompileInputs.cache
C:\Users\l.farina\Desktop\UCRM_stage\DSLink\DSLink\obj\Debug\netcoreapp3.1\DSLink.dll
C:\Users\l.farina\Desktop\UCRM_stage\DSLink\DSLink\obj\Debug\netcoreapp3.1\DSLink.pdb
C:\Users\l.farina\Desktop\UCRM_stage\DSLink\DSLink\obj\Debug\netcoreapp3.1\DSLink.genruntimeconfig.cache

View file

@ -1 +0,0 @@
25df912ee3d78faac3c42ebde63bd25b74b70569

View file

@ -1,8 +0,0 @@
{
"version": 2,
"dgSpecHash": "r3nrRlYoh5yCZBVTmnvRKxuoM7UnUhXDl8pUf5amJ/HVPBfv+ZbqDia6K9PoSgjIn0a8G5vMNJYxNS7KRIob2Q==",
"success": true,
"projectFilePath": "C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink\\DSLink\\DSLink.csproj",
"expectedPackageFiles": [],
"logs": []
}

Binary file not shown.

View file

@ -0,0 +1,7 @@
{
"ExpandedNodes": [
"",
"\\DSLink_Test"
],
"PreviewInSolutionExplorer": false
}

BIN
DSLink_Test/.vs/slnx.sqlite Normal file

Binary file not shown.

View file

@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31424.327
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DSLink", "DSLink\DSLink.csproj", "{2040F4E6-11CA-4D50-A1E0-170CB6989D60}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DSLink_Test", "DSLink_Test\DSLink_Test.csproj", "{21A60B53-3AD5-4DBE-8247-C6C4CAA5436B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -11,15 +11,15 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2040F4E6-11CA-4D50-A1E0-170CB6989D60}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2040F4E6-11CA-4D50-A1E0-170CB6989D60}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2040F4E6-11CA-4D50-A1E0-170CB6989D60}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2040F4E6-11CA-4D50-A1E0-170CB6989D60}.Release|Any CPU.Build.0 = Release|Any CPU
{21A60B53-3AD5-4DBE-8247-C6C4CAA5436B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{21A60B53-3AD5-4DBE-8247-C6C4CAA5436B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{21A60B53-3AD5-4DBE-8247-C6C4CAA5436B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{21A60B53-3AD5-4DBE-8247-C6C4CAA5436B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D52CA484-B6D4-4838-9B6E-6A8899528CA2}
SolutionGuid = {85B9784F-6A1C-4696-820D-E32D7F4FF0EA}
EndGlobalSection
EndGlobal

Binary file not shown.

View file

@ -0,0 +1,7 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\CMakeLists.txt",
"PreviewInSolutionExplorer": false
}

Binary file not shown.

View file

@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Configurations>Debug;Release</Configurations>
</PropertyGroup>
<ItemGroup>
<Reference Include="DSLink">
<HintPath>..\..\..\sdk-dslink-dotnet\DSLink\bin\Release\netstandard2.0\DSLink.dll</HintPath>
</Reference>
</ItemGroup>
</Project>

View file

@ -0,0 +1,16 @@
using System;
using DSLink;
class ExampleDSLink : DSLinkContainer
{
public ExampleDSLink() : base(new Configuration("example", responder: true))
{
Console.WriteLine("Starting DSLink...");
}
private static void Main()
{
new ExampleDSLink();
Console.ReadLine(); // Keep the link running.
}
}

View file

@ -0,0 +1,39 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v3.1",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v3.1": {
"DSLink_Test/1.0.0": {
"dependencies": {
"DSLink": "1.0.0.0"
},
"runtime": {
"DSLink_Test.dll": {}
}
},
"DSLink/1.0.0.0": {
"runtime": {
"DSLink.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "1.0.0.0"
}
}
}
}
},
"libraries": {
"DSLink_Test/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"DSLink/1.0.0.0": {
"type": "reference",
"serviceable": false,
"sha512": ""
}
}
}

View file

@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink\\DSLink\\DSLink.csproj": {}
"C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink_Test\\DSLink_Test\\DSLink_Test.csproj": {}
},
"projects": {
"C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink\\DSLink\\DSLink.csproj": {
"C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink_Test\\DSLink_Test\\DSLink_Test.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink\\DSLink\\DSLink.csproj",
"projectName": "DSLink",
"projectPath": "C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink\\DSLink\\DSLink.csproj",
"projectUniqueName": "C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink_Test\\DSLink_Test\\DSLink_Test.csproj",
"projectName": "DSLink_Test",
"projectPath": "C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink_Test\\DSLink_Test\\DSLink_Test.csproj",
"packagesPath": "C:\\Users\\l.farina\\.nuget\\packages\\",
"outputPath": "C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink\\DSLink\\obj\\",
"outputPath": "C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink_Test\\DSLink_Test\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\l.farina\\AppData\\Roaming\\NuGet\\NuGet.Config",

View file

@ -11,12 +11,12 @@
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("DSLink")]
[assembly: System.Reflection.AssemblyCompanyAttribute("DSLink_Test")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("DSLink")]
[assembly: System.Reflection.AssemblyTitleAttribute("DSLink")]
[assembly: System.Reflection.AssemblyProductAttribute("DSLink_Test")]
[assembly: System.Reflection.AssemblyTitleAttribute("DSLink_Test")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Généré par la classe MSBuild WriteCodeFragment.

View file

@ -0,0 +1 @@
04e11fc9f114ddb9939a4a129dda1f1f0f8cc542

View file

@ -0,0 +1 @@
f0c9617b684c8cb9bdd760cc70fee69e4b0dfdaf

View file

@ -0,0 +1,29 @@
C:\Users\l.farina\source\repos\DSLink_Test\DSLink_Test\bin\Debug\netcoreapp3.1\DSLink_Test.exe
C:\Users\l.farina\source\repos\DSLink_Test\DSLink_Test\bin\Debug\netcoreapp3.1\DSLink_Test.deps.json
C:\Users\l.farina\source\repos\DSLink_Test\DSLink_Test\bin\Debug\netcoreapp3.1\DSLink_Test.runtimeconfig.json
C:\Users\l.farina\source\repos\DSLink_Test\DSLink_Test\bin\Debug\netcoreapp3.1\DSLink_Test.runtimeconfig.dev.json
C:\Users\l.farina\source\repos\DSLink_Test\DSLink_Test\bin\Debug\netcoreapp3.1\DSLink_Test.dll
C:\Users\l.farina\source\repos\DSLink_Test\DSLink_Test\bin\Debug\netcoreapp3.1\DSLink_Test.pdb
C:\Users\l.farina\source\repos\DSLink_Test\DSLink_Test\obj\Debug\netcoreapp3.1\DSLink_Test.csproj.AssemblyReference.cache
C:\Users\l.farina\source\repos\DSLink_Test\DSLink_Test\obj\Debug\netcoreapp3.1\DSLink_Test.AssemblyInfoInputs.cache
C:\Users\l.farina\source\repos\DSLink_Test\DSLink_Test\obj\Debug\netcoreapp3.1\DSLink_Test.AssemblyInfo.cs
C:\Users\l.farina\source\repos\DSLink_Test\DSLink_Test\obj\Debug\netcoreapp3.1\DSLink_Test.csproj.CoreCompileInputs.cache
C:\Users\l.farina\source\repos\DSLink_Test\DSLink_Test\obj\Debug\netcoreapp3.1\DSLink_Test.dll
C:\Users\l.farina\source\repos\DSLink_Test\DSLink_Test\obj\Debug\netcoreapp3.1\DSLink_Test.pdb
C:\Users\l.farina\source\repos\DSLink_Test\DSLink_Test\obj\Debug\netcoreapp3.1\DSLink_Test.genruntimeconfig.cache
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\bin\Debug\netcoreapp3.1\DSLink_Test.exe
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\bin\Debug\netcoreapp3.1\DSLink_Test.deps.json
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\bin\Debug\netcoreapp3.1\DSLink_Test.runtimeconfig.json
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\bin\Debug\netcoreapp3.1\DSLink_Test.runtimeconfig.dev.json
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\bin\Debug\netcoreapp3.1\DSLink_Test.dll
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\bin\Debug\netcoreapp3.1\DSLink_Test.pdb
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\obj\Debug\netcoreapp3.1\DSLink_Test.csproj.AssemblyReference.cache
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\obj\Debug\netcoreapp3.1\DSLink_Test.AssemblyInfoInputs.cache
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\obj\Debug\netcoreapp3.1\DSLink_Test.AssemblyInfo.cs
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\obj\Debug\netcoreapp3.1\DSLink_Test.csproj.CoreCompileInputs.cache
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\obj\Debug\netcoreapp3.1\DSLink_Test.dll
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\obj\Debug\netcoreapp3.1\DSLink_Test.pdb
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\obj\Debug\netcoreapp3.1\DSLink_Test.genruntimeconfig.cache
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\bin\Debug\netcoreapp3.1\DSLink.dll
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\bin\Debug\netcoreapp3.1\DSLink.pdb
C:\Users\l.farina\Desktop\UCRM_stage\DSLink_Test\DSLink_Test\obj\Debug\netcoreapp3.1\DSLink_Test.csproj.CopyComplete

View file

@ -0,0 +1 @@
9951d35de2a7aa16d30daf51510165cfcd03091c

View file

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")]

View file

@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Ce code a été généré par un outil.
// Version du runtime :4.0.30319.42000
//
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
// le code est régénéré.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("DSLink_Test")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("DSLink_Test")]
[assembly: System.Reflection.AssemblyTitleAttribute("DSLink_Test")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Généré par la classe MSBuild WriteCodeFragment.

View file

@ -0,0 +1 @@
5cc398a481358a1a40cae62ae902be38a2818d55

View file

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")]

View file

@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Ce code a été généré par un outil.
// Version du runtime :4.0.30319.42000
//
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
// le code est régénéré.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("DSLink_Test")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Test")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("DSLink_Test")]
[assembly: System.Reflection.AssemblyTitleAttribute("DSLink_Test")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Généré par la classe MSBuild WriteCodeFragment.

View file

@ -0,0 +1 @@
29ce44dbba55365cfde6500e07c1af1e99992622

View file

@ -13,11 +13,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink\\DSLink\\DSLink.csproj",
"projectName": "DSLink",
"projectPath": "C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink\\DSLink\\DSLink.csproj",
"projectUniqueName": "C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink_Test\\DSLink_Test\\DSLink_Test.csproj",
"projectName": "DSLink_Test",
"projectPath": "C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink_Test\\DSLink_Test\\DSLink_Test.csproj",
"packagesPath": "C:\\Users\\l.farina\\.nuget\\packages\\",
"outputPath": "C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink\\DSLink\\obj\\",
"outputPath": "C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink_Test\\DSLink_Test\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\l.farina\\AppData\\Roaming\\NuGet\\NuGet.Config",

View file

@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "1CII1sNVoGsMIQceS0aY95FTrlNLrDyIPckFdr+/8fyJTQfXUpQ/mVUsQed4bcDNBOxbdzuTUwf5lQTJvNB7rA==",
"success": true,
"projectFilePath": "C:\\Users\\l.farina\\Desktop\\UCRM_stage\\DSLink_Test\\DSLink_Test\\DSLink_Test.csproj",
"expectedPackageFiles": [],
"logs": []
}

View file