-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
For some reason... my .net 8.0 with 1.6.3 Reinforced.Typings is not generating the types... jsut a file with a comment
[Reinforced.Typings.Attributes.TsInterface]
public struct ApAvailableSpace
{
public string Name { get; init; }
public string Tower { get; init; }
public string Azimuth { get; init; }
public int ColorCode { get; init; }
public string Type { get; init; }
public int SMs { get; init; }
public float Frequency { get; init; }
}Results in a file that just has a comment that it was generated by Reinforced.Typings...
the config is just
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<RtExportPureTypings>true</RtExportPureTypings>
<RtConfigurationMethod></RtConfigurationMethod>
<RtDivideTypesAmongFiles>true</RtDivideTypesAmongFiles>
<RtTargetDirectory>$(ProjectDir)sveltekit\types</RtTargetDirectory>
<RtBypassTypeScriptCompilation>false</RtBypassTypeScriptCompilation>
<RtDisable>false</RtDisable>
<RtSuppress></RtSuppress>
</PropertyGroup>
</Project>Edit: I think i figured out the issue, The file wasn't namespaced, the file was getting generated ... if i change the tag to [Reinforced.Typings.Attributes.TsClass(IncludeNamespace = false)] or add a namespace to the class then it works and exports.
Metadata
Metadata
Assignees
Labels
No labels