AaronRobinsonMSFT / DNNE

Prototype native exports for a .NET Assembly.
MIT License
394 stars 41 forks source link

Missing *.runtimeconfig.json and *.runtimeconfig.dev.json DNNE version 1.0.32(4) VS2022/VS2019 #150

Closed pf-amakarov closed 1 year ago

pf-amakarov commented 1 year ago

Somehow .runtimeconfig.json and .runtimeconfig.dev.json are not generated for me in my new project. Only these files are built: image

Old projects built these files and the new project does not. It seems to be some setting in the project? Have I forgotten anything?

pf-amakarov commented 1 year ago

Ok. I have found the problem: Missing settings in DNNETEst1.csproj

    <PropertyGroup>
        <TargetFramework>net5.0</TargetFramework>
        <EnableDynamicLoading>true</EnableDynamicLoading>
        <Platforms>x86</Platforms>
        <RuntimeIdentifiers>win-x86</RuntimeIdentifiers>
        <AssemblyVersion>1.0.0.0</AssemblyVersion>
        <FileVersion>1.0.0.0</FileVersion>
        <Version>1.0.0</Version>
    </PropertyGroup>