dotnet / corert

This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.
http://dot.net
MIT License
2.91k stars 508 forks source link

Can not use Namespace node in rd.xml #8280

Closed kengwang closed 4 years ago

kengwang commented 4 years ago

I cannot publish my project. After I configured rd.xml according to the URL dotnet still reported an error.

EXEC : warning : RD.XML processing will change before release (https://github.com/dotnet/corert/issues/5001) [......\EasyCraft\EasyCraft.csproj]
EXEC : error : "Namespace" is not a supported Runtime Directive. [.......\EasyCraft\EasyCraft.csproj]

I want to reflect all types under this namespace in rd.xml, how to?

PS: My English is not very good.

My Project rd.xml https://github.com/EasyCraftPanel/EasyCraft/blob/master/EasyCraft/rd.xml

Suchiman commented 4 years ago

CoreRT uses a different rd.xml dialect which is documented here https://github.com/dotnet/corert/blob/master/Documentation/using-corert/rd-xml-format.md

kengwang commented 4 years ago

CoreRT uses a different rd.xml dialect which is documented here https://github.com/dotnet/corert/blob/master/Documentation/using-corert/rd-xml-format.md

Is Namespace not available for the time being?

Suchiman commented 4 years ago

No, you need to list the types individually.

kengwang commented 4 years ago

No, you need to list the types individually.

Thanks. Hope it will be avalible in the near future😂