Conversation
Error Assembly 'Npgsql' with identity 'Npgsql, Version=3.1.0.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' uses 'System.Data.Common, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Data.Common' with identity 'System.Data.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' DataAccess D:\Users\ncoder\code\ChainOfCommand\DataAccess\CSC When linking to a UAP10.0 project in visual studio 2015
|
@ncoder thanks for this! But I was under the impression that libraries (as opposed to applications) aren't supposed to target specific platforms such as Regardless, I think that supporting UAP isn't just a matter of building - we'd need to make Npgsql compatible with .NET Native, which it currently isn't. Npgsql uses some APIs that don't exist in .NET Native (I'm thinking specifically about Let me know if you think I'm confusing things. |
|
Closing for the reasons above, please feel free to comment/reopen. |
Made another target with Windows Universal apps. Looks like these are distinct from the DNXCore targets. Seems there's a lot of confusion still going around about how to do this right. I'm also learning this myself. Refer to : https://oren.codes/2015/07/29/targeting-net-core/
Note that this change isn't complete, as the AsyncRewriter dependency needs to make a similar change to be compatible. But since it's just used as a pre-process step, I was able to successfully get a build out with this once the code was generated.
Note the drop in the version requirement for System.Data.Common. that fixes the:
"Assembly 'Npgsql' with identity 'Npgsql, Version=3.1.0.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' uses 'System.Data.Common, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Data.Common' with identity 'System.Data.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' DataAccess D:\Users\ncoder\code\ChainOfCommand\DataAccess\CSC
"
error for me. Looks like this may be related to this? #834