No matter I place the project to the D driver or other sub folder.
The error alway throw from vs .
If you remove the nuget reference , it will build.
So , I guess this compile error is from the nuget reference.
Here the build message:
1>------ Rebuild All started: Project: RefreshHeaderTwoLevelBinding, Configuration: Debug Any CPU ------
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.targets(327,5): warning MSB6002: The command-line for the "BindingsGenerator" task is too long. Command-lines longer than 32000 characters are likely to fail. Try reducing the length of the command-line by breaking down the call to "BindingsGenerator" into multiple calls with fewer parameters per call.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.targets(372,5): warning MSB6002: The command-line for the "BindingsGenerator" task is too long. Command-lines longer than 32000 characters are likely to fail. Try reducing the length of the command-line by breaking down the call to "BindingsGenerator" into multiple calls with fewer parameters per call.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.targets(372,5): error MSB6003: The specified task executable "generator.exe" could not be run. System.ComponentModel.Win32Exception (0x80004005): 文件名或扩展名太长。
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.targets(372,5): error MSB6003: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.targets(372,5): error MSB6003: at System.Diagnostics.Process.Start()
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.targets(372,5): error MSB6003: at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands)
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.targets(372,5): error MSB6003: at Microsoft.Build.Utilities.ToolTask.Execute()
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
RefreshHeaderTwoLevelBinding.zip
No matter I place the project to the D driver or other sub folder.
The error alway throw from vs .
If you remove the nuget reference , it will build.
So , I guess this compile error is from the nuget reference.
Here the build message: