Including tools into codegen
This commit is contained in:
@@ -33,9 +33,8 @@ namespace mROA.CodegenTools.Reading
|
||||
protected string GetTagValue(int from, int to)
|
||||
{
|
||||
var realStart = from + 4;
|
||||
var span = TemplateText.AsSpan();
|
||||
var slice = span.Slice(realStart, to - realStart);
|
||||
return new string(slice.ToArray());
|
||||
var span = TemplateText.Substring(realStart, to - realStart);
|
||||
return span;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.1</TargetFramework>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<LangVersion>9</LangVersion>
|
||||
<RootNamespace>mROA.CodegenTools</RootNamespace>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<Title>mROA.CodegenTools</Title>
|
||||
<Description>Tools for codegen</Description>
|
||||
<Copyright>MIT</Copyright>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user