Skip to content

Instantly share code, notes, and snippets.

@petrkoutnycz
Created June 23, 2021 08:33
Show Gist options
  • Save petrkoutnycz/6465a1edf03683fec709ca737edf8478 to your computer and use it in GitHub Desktop.
Save petrkoutnycz/6465a1edf03683fec709ca737edf8478 to your computer and use it in GitHub Desktop.
ILSpy issue sample
using System;
namespace Samples.ILSpy
{
[Serializable]
public class MyDto
{
public Guid Id { get; set; }
public string Name { get; set; }
}
}
using System;
namespace Samples.ILSpy
{
class Program
{
static void Main(string[] args)
{
}
}
}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment