Closed maltegoetz closed 7 years ago
I've tested this with a Tizen.NET project. It requires Nuget 4.3 to install into a Tizen project. However, that is not yet available in VS 2017. Not sure how to test if this whole thing works and we've used the right identifier in the nuspec. nuget.exe 4.3.0-preview1 only extracts the package without modifying project.json or the csproj.
@onovotny, do you have any idea how we could test this?
I'm not sure, maybe @rrelyea knows?
Hey there! This is pretty cool and interesting. I am about to make huge breaking changes for V 3 and the APIs are gunna change, so I will see what I need to do to merge it in.
What tooling do I need for VS 2017?
VS 2017 is enough if you just want to compile it. If you want to try it, you need the VS tools for Tizen preview (https://developer.tizen.org/development/tizen-.net-preview/getting-started) they come with an emulator.
Awesome thanks! will try it out, gunna take soem time with my new changes, will try to retarget to my other v3 branch
src/Plugin.Settings.Tizen/Settings.cs Invalid parameter sequence. 151 line => Preference.Set(prefKey, Convert.ToString(-(Convert.ToDateTime(value)).ToUniversalTime().Ticks)); 159 line => Preference.Set(prefKey, ((Guid)value).ToString());
@jamesmontemagno @maltegoetz if you convert this to csproj, you can now build the tizen30
and tizen40
TFM if you include my MSBuild.Sdk.Extras
package.
Instructions are here https://github.com/onovotny/MSBuildSdkExtras#targeting-tizen
This work much more cleanly than project.json
. All uses of project.json
should be removed since it's buggy.
Is it possible yet for the nuget support for Tizen?
yes, tizen30
and tizen40
are valid TFM's and my MSBuild.Sdk.Extras project lets you multi-target to them in an SDK style project.
I’ll schedule working on this. Will AppVeyor be able to build it?
Should be since Tizen is basically .NET Standard 1.6 plus their libraries. Last I checked, there's no local tooling to install.
Yeah good question about appveyor... probably not i guess....
@jamesmontemagno AppVeyor should work. no special tooling is required, it's just library/nuget references.
@onovotny I'm not sure if I should be targeting tizen30 or tizen40. The Nuget package Tizen.NET seemed to be only available as 3.0.0.
All set to merge.
Why are you using a nuspec and not msbuld /t:pack with an SDK style project?
I guess converting to SDK style projects could be a separate PR -- but these can all be one project with multi-targeting:
@onovotny I don't want to use any of that new stuff, I haven't had time to actually learn all that. This works and I like to be explicit.
I also don't want to use multi-targeting at all and want them separate :)
👍