I've set the paths correct inside build.ps1, I have all the required installations, tried with both VS 2015 Update 2 & Update 3. Tried using all Nuget versions available on the website from 3.2 to 3.5, and I still get the following error from inside powershell after I run the build command:
Build FAILED. "A:\02-Stuffies\Unity\Unity Experiments\unityplugins-master\MainProjects\Win10\Microsoft.UnityPlugins.AzureMobileServic es.sln" (default target) (1) -> "A:\02-Stuffies\Unity\Unity Experiments\unityplugins-master\MainProjects\Win10\Microsoft.UnityPlugins.AzureMobileServic es\Microsoft.UnityPlugins.AzureMobileServices.csproj" (default target) (2) -> "A:\02-Stuffies\Unity\Unity Experiments\unityplugins-master\MainProjects\Win10\Microsoft.UnityPlugins.Common\Microsoft. UnityPlugins.Common.csproj" (default target) (3) -> (ResolveNuGetPackageAssets target) -> C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets(140,5): error : Your project.json doesn't list 'win10' as a targeted runtime. You should add '"win10": { }' inside your "runtimes" section in your project.json, and then re-run NuGet restore. [A:\02-Stuffies\Unity\Unity Experiments\unityplugins-master\MainProjects\Win10\Microsoft.Uni tyPlugins.Common\Microsoft.UnityPlugins.Common.csproj]
0 Warning(s) 1 Error(s)
Time Elapsed 00:00:00.24
[Failed] AzureMobileServices - AnyCPU, RELEASE project. Exiting now
And after I include "win10": {} inside the project.json file, I start getting the following error:
Microsoft.NETCore.Portable.Compatibility 1.0.0 provides a compile-time reference assembly for mscorlib on UAP,Version=v1 0.0, but there is no run-time assembly compatible with win10. Some packages are not compatible with UAP,Version=v10.0 (win10). Committing restore... A:\02-Stuffies\Unity\Unity Experiments\unityplugins-master\MainProjects\Win10\Microsoft.UnityPlugins.Common\Microsoft.Un ityPlugins.Common.csproj Restore failed in 750ms. Committing restore... A:\02-Stuffies\Unity\Unity Experiments\unityplugins-master\MainProjects\Win10\Microsoft.UnityPlugins.AzureMobileServices \Microsoft.UnityPlugins.AzureMobileServices.csproj Restore completed in 1480ms.
Errors in A:\02-Stuffies\Unity\Unity Experiments\unityplugins-master\MainProjects\Win10\Microsoft.UnityPlugins.Common\Mi crosoft.UnityPlugins.Common.csproj Microsoft.NETCore.Portable.Compatibility 1.0.0 provides a compile-time reference assembly for mscorlib on UAP,Versio n=v10.0, but there is no run-time assembly compatible with win10. Some packages are not compatible with UAP,Version=v10.0 (win10).
NuGet Config files used: C:\Users\GxD^\AppData\Roaming\NuGet\NuGet.Config C:\ProgramData\nuget\Config\Microsoft.VisualStudio.Offline.config C:\ProgramData\nuget\Config\ServiceFabricSDK.config
Feeds used: https://api.nuget.org/v3/index.json C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\ C:\Program Files\Microsoft SDKs\Service Fabric\packages\
[Failed] Nuget restore Core project. Exiting now
I've been going through this for days and it's really frustrating! Any help would be greatly appreciated!
I've set the paths correct inside build.ps1, I have all the required installations, tried with both VS 2015 Update 2 & Update 3. Tried using all Nuget versions available on the website from 3.2 to 3.5, and I still get the following error from inside powershell after I run the build command:
Build FAILED. "A:\02-Stuffies\Unity\Unity Experiments\unityplugins-master\MainProjects\Win10\Microsoft.UnityPlugins.AzureMobileServic es.sln" (default target) (1) -> "A:\02-Stuffies\Unity\Unity Experiments\unityplugins-master\MainProjects\Win10\Microsoft.UnityPlugins.AzureMobileServic es\Microsoft.UnityPlugins.AzureMobileServices.csproj" (default target) (2) -> "A:\02-Stuffies\Unity\Unity Experiments\unityplugins-master\MainProjects\Win10\Microsoft.UnityPlugins.Common\Microsoft. UnityPlugins.Common.csproj" (default target) (3) -> (ResolveNuGetPackageAssets target) -> C:\Program Files (x86)\MSBuild\Microsoft\NuGet\Microsoft.NuGet.targets(140,5): error : Your project.json doesn't list 'win10' as a targeted runtime. You should add '"win10": { }' inside your "runtimes" section in your project.json, and then re-run NuGet restore. [A:\02-Stuffies\Unity\Unity Experiments\unityplugins-master\MainProjects\Win10\Microsoft.Uni tyPlugins.Common\Microsoft.UnityPlugins.Common.csproj]0 Warning(s) 1 Error(s)Time Elapsed 00:00:00.24
[Failed] AzureMobileServices - AnyCPU, RELEASE project. Exiting now
And after I include "win10": {} inside the project.json file, I start getting the following error:
Microsoft.NETCore.Portable.Compatibility 1.0.0 provides a compile-time reference assembly for mscorlib on UAP,Version=v1 0.0, but there is no run-time assembly compatible with win10. Some packages are not compatible with UAP,Version=v10.0 (win10). Committing restore... A:\02-Stuffies\Unity\Unity Experiments\unityplugins-master\MainProjects\Win10\Microsoft.UnityPlugins.Common\Microsoft.Un ityPlugins.Common.csproj Restore failed in 750ms. Committing restore... A:\02-Stuffies\Unity\Unity Experiments\unityplugins-master\MainProjects\Win10\Microsoft.UnityPlugins.AzureMobileServices \Microsoft.UnityPlugins.AzureMobileServices.csproj Restore completed in 1480ms.Errors in A:\02-Stuffies\Unity\Unity Experiments\unityplugins-master\MainProjects\Win10\Microsoft.UnityPlugins.Common\Mi crosoft.UnityPlugins.Common.csproj Microsoft.NETCore.Portable.Compatibility 1.0.0 provides a compile-time reference assembly for mscorlib on UAP,Versio n=v10.0, but there is no run-time assembly compatible with win10. Some packages are not compatible with UAP,Version=v10.0 (win10).NuGet Config files used: C:\Users\GxD^\AppData\Roaming\NuGet\NuGet.Config C:\ProgramData\nuget\Config\Microsoft.VisualStudio.Offline.config C:\ProgramData\nuget\Config\ServiceFabricSDK.configFeeds used: https://api.nuget.org/v3/index.json C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\ C:\Program Files\Microsoft SDKs\Service Fabric\packages\[Failed] Nuget restore Core project. Exiting now
I've been going through this for days and it's really frustrating! Any help would be greatly appreciated!