Open bryaan opened 6 years ago
The BindingsGen projects depends on Mono.Cecil, used to modify assemblies after compilation (generates Core-only and ES-only bindings).
Try to restore nuget packages.
nuget restore OpenGL.Net_VC15.sln
Worked but build still failing with new errors:
"C:\Bryan\src\git\OpenGL.Net\OpenGL.Net_VC15.sln" (default target) (1) ->
"C:\Bryan\src\git\OpenGL.Net\OpenGL.Net.Xamarin.Android\OpenGL.Net.Xamarin.Android.csproj" (default target) (15) ->
C:\Bryan\src\git\OpenGL.Net\OpenGL.Net.Xamarin.Android\OpenGL.Net.Xamarin.Android.csproj(62,11): error MSB4226: The i
mported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\Xamarin\Android\Xamarin.Android
.CSharp.targets" was not found. Also, tried to find "Xamarin\Android\Xamarin.Android.CSharp.targets" in the fallback se
arch path(s) for $(MSBuildExtensionsPath) - "C:\Program Files (x86)\MSBuild" . These search paths are defined in "C:\Pr
ogram Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe.Config". Confirm that the path i
n the <Import> declaration is correct, and that the file exists on disk in one of the search paths.
"C:\Bryan\src\git\OpenGL.Net\OpenGL.Net_VC15.sln" (default target) (1) ->
"C:\Bryan\src\git\OpenGL.Net\Samples\HelloTriangle.Xamarin.Android\HelloTriangle.Xamarin.Android.csproj" (default targe
t) (17) ->
C:\Bryan\src\git\OpenGL.Net\Samples\HelloTriangle.Xamarin.Android\HelloTriangle.Xamarin.Android.csproj(100,11): error
MSB4226: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\Xamarin\Android\
Xamarin.Android.CSharp.targets" was not found. Also, tried to find "Xamarin\Android\Xamarin.Android.CSharp.targets" in
the fallback search path(s) for $(MSBuildExtensionsPath) - "C:\Program Files (x86)\MSBuild" . These search paths are de
fined in "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe.Config". Confirm
that the path in the <Import> declaration is correct, and that the file exists on disk in one of the search paths.
"C:\Bryan\src\git\OpenGL.Net\OpenGL.Net_VC15.sln" (default target) (1) ->
"C:\Bryan\src\git\OpenGL.Net\OpenGL.Net\OpenGL.Net_netcore1.1.csproj" (default target) (31) ->
(ResolvePackageAssets target) ->
C:\Program Files\dotnet\sdk\2.1.301\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(198,
5): error : Assets file 'C:\Bryan\src\git\OpenGL.Net\OpenGL.Net\obj\project.assets.json' not found. Run a NuGet package
restore to generate this file. [C:\Bryan\src\git\OpenGL.Net\OpenGL.Net\OpenGL.Net_netcore1.1.csproj]
...and more
Just cloned master and an using the VS15 sln, and when building get:
Not sure why Mono is showing up with this build.