Skip to content

Commit

Permalink
Update sample to use the latest DNNE version.
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronRobinsonMSFT committed May 30, 2024
1 parent 9a17ec3 commit 2d475ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions sample/Exports.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,3 @@ public static int MyExport(int a)
return a;
}
}

#if NETFRAMEWORK
// The experimental DNNE attribute is needed when targeting
// .NET Framework.
namespace DNNE
{
internal class ExportAttribute : Attribute
{
public ExportAttribute() { }
public string EntryPoint { get; set; }
}
}
#endif // NETFRAMEWORK
2 changes: 1 addition & 1 deletion sample/Sample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DNNE" Version="2.0.1" />
<PackageReference Include="DNNE" Version="2.0.6" />
</ItemGroup>

</Project>

0 comments on commit 2d475ae

Please sign in to comment.