lundi 4 décembre 2017

Create a NET Core Project Reference to another project of a specific RID

Essientially I need to say:

<ProjectRefererence Target="../tool/tool.csproj">
    <RID>any</RID>
</ProjectReference>

where I need to specifically reference the "any" rid that is produced by dotnet build without the -r. Trying to reference a specific rid is guaranteed to not work. The default behavior is to build the dependent dll for the specific rid the current project is being built with. This will not work. The output assembly must be portable across architectures as it is loaded by reflection on potentially a different architecture it originated from.





Aucun commentaire:

Enregistrer un commentaire