Can I build an “old school” PCL with DNX/DNU?

后端 未结 1 582
醉梦人生
醉梦人生 2021-02-06 21:40

In Noda Time 1.3.1, our .csproj file referred to Profile 328 and our .nuspec file put the results in

lib\\portable-net4+sl5+netcore45+wpa81+wp8+MonoAndroid1+Mono         


        
1条回答
  •  长情又很酷
    2021-02-06 22:30

    There's been some issues with Xamarin frameworks in the past, but try doing something like this;

    https://github.com/AutoMapper/AutoMapper/blob/93f276fea36dedb2efd861096f881667af880d58/src/AutoMapper/project.json

    See if this works:

    {
      "frameworks": {
        ".NETPortable,Version=v4.0,Profile=Profile328": {
          "frameworkAssemblies": {
            ...
          }
        }
      }
    }
    

    0 讨论(0)
提交回复
热议问题