Hello, At my organization we use a release of VS2017 that does not include the 7.3 version of the C# compiler and cannot update because we are fixed to a specific C++ ABI. I am trying to use VS2019 to build and deploy pythonnet using some tips I found here<https://github.com/dotnet/performance/blob/master/src/benchmarks/gc/docs/pythonnet.md> but hit this issue when building clrmodule.15:
Error MSB4062 The "RGiesecke.DllExport.MSBuild.DllExportAppDomainIsolatedTask" task could not be loaded from the assembly C:\Users\mkoubaa\.nuget\packages\unmanagedexports\1.2.7\tools\RGiesecke.DllExport.MSBuild.dll. Could not load file or assembly 'Microsoft.Build.Utilities, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. clrmodule.15 C:\Users\mkoubaa\.nuget\packages\unmanagedexports\1.2.7\tools\RGiesecke.DllExport.targets 58 Has anyone got this to work and if so what did you do? A better question might be how UnmanagedExports is making use of Microsoft.Build.Utilities. I know that there is a modernization project<https://github.com/pythonnet/pythonnet/projects/6> that may address this in the future. Thanks! Mohamed Koubaa Software Developer ANSYS, Inc
_______________________________________________ PythonNet mailing list -- pythonnet@python.org To unsubscribe send an email to pythonnet-le...@python.org https://mail.python.org/mailman3/lists/pythonnet.python.org/