Merge pull request #100 from goremykin/dotnet7

Ignore rider's cache & .net 7
This commit is contained in:
Lucca Faria Ferri 2023-01-26 23:54:01 -03:00 committed by GitHub
commit 3cd92e4ac1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 25 deletions

4
.gitignore vendored
View File

@ -35,6 +35,10 @@ bld/
# Visual Studio 2015/2017 cache/options directory # Visual Studio 2015/2017 cache/options directory
.vs/ .vs/
# Rider cache
.idea/
# Uncomment if you have tasks that create the project's static files in wwwroot # Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/ #wwwroot/

View File

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net7.0</TargetFramework>
<RootNamespace>DiIiS_NA</RootNamespace> <RootNamespace>DiIiS_NA</RootNamespace>
<Company>DiIiS Team</Company> <Company>DiIiS Team</Company>
<Copyright>iEvE</Copyright> <Copyright>iEvE</Copyright>

View File

@ -1,23 +0,0 @@
//Blizzless Project 2022
//Blizzless Project 2022
using System.Runtime.Serialization.Formatters.Binary;
//Blizzless Project 2022
using System.IO;
namespace DiIiS_NA.Core.Extensions
{
public static class DeepCopy
{
public static T DeepClone<T>(T obj)
{
using (var ms = new MemoryStream())
{
var formatter = new BinaryFormatter();
formatter.Serialize(ms, obj);
ms.Position = 0;
return (T)formatter.Deserialize(ms);
}
}
}
}

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net7.0</TargetFramework>
<Configurations>Debug;Release;github</Configurations> <Configurations>Debug;Release;github</Configurations>
</PropertyGroup> </PropertyGroup>