Merge pull request #100 from goremykin/dotnet7
Ignore rider's cache & .net 7
This commit is contained in:
commit
3cd92e4ac1
4
.gitignore
vendored
4
.gitignore
vendored
@ -35,6 +35,10 @@ bld/
|
||||
|
||||
# Visual Studio 2015/2017 cache/options directory
|
||||
.vs/
|
||||
|
||||
# Rider cache
|
||||
.idea/
|
||||
|
||||
# Uncomment if you have tasks that create the project's static files in wwwroot
|
||||
#wwwroot/
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<RootNamespace>DiIiS_NA</RootNamespace>
|
||||
<Company>DiIiS Team</Company>
|
||||
<Copyright>iEvE</Copyright>
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<Configurations>Debug;Release;github</Configurations>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
user.block.title