| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Hi! Thank you for testing under Mac and your fixes. I don't know how but ms fixed their Case issue with System.XML.dll(that should be System.Xml.dll) (probably with help of CoreCLR 2.0.0 improvement or silent myget package update). |
Sorry, something went wrong.
|
PRs merging process currently is too slow. |
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## master #557 +/- ##
==========================================
- Coverage 77.16% 77.08% -0.09%
==========================================
Files 65 65
Lines 5610 5651 +41
Branches 888 888
==========================================
+ Hits 4329 4356 +27
- Misses 993 1007 +14
Partials 288 288
Continue to review full report at Codecov.
|
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## master #557 +/- ##
==========================================
- Coverage 77.14% 77.08% -0.06%
==========================================
Files 65 65
Lines 5617 5651 +34
Branches 888 888
==========================================
+ Hits 4333 4356 +23
- Misses 996 1007 +11
Partials 288 288
Continue to review full report at Codecov.
|
Sorry, something went wrong.
|
@fractus why do you have WIP in your PR title? Let me also check tomorrow morning on my Mac. |
Sorry, something went wrong.
|
@denfromufa Thanks -- the reason for the WIP is the potentially breaking change in the csproj; I also want to check on Win10 and Linux. |
Sorry, something went wrong.
|
On MSBuild 14 (VS2015) (Win7), the branch builds (python setup.py install) without any problems. On MSBuild 15 and dotnet2.0 (Win10), the branch fails; standard pip install works for 2.3.0. In particular:
> python setup.py install --dry-run
running install
running build
running build_ext
Checking for updates from https://www.nuget.org/api/v2/.
Currently running NuGet.exe 4.3.0.
NuGet.exe is up to date.
MSBuild auto-detection: using msbuild version '15.3.409.57025'
from 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin'.
All packages listed in packages.config are already installed.
Microsoft (R) Manifest Tool
Copyright (c) Microsoft Corporation.
All rights reserved.
Microsoft (R) Build Engine version 15.3.409.57025 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) Build Engine version 15.3.409.57025 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\NuGet\15.0\Microsoft.NuGet.targets(178,5):
error : Your project.json doesn't have a runtimes section. You should add '"runtimes": { "win": { } }' to your project.json and
then re-run NuGet restore. [c:\dev\pythonnet\src\runtime\Python.Runtime.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\NuGet\15.0\Microsoft.NuGet.targets(178,5):
error : Your project.json doesn't have a runtimes section. You should add '"runtimes": { "win-x64": { } }' to your project.json and
then re-run NuG et restore. [c:\dev\pythonnet\src\clrmodule\clrmodule.csproj]
Traceback (most recent call last):
File "setup.py", line 516, in <module>
zip_safe=False,
...
File "setup.py", line 259, in build_extension
subprocess.check_call(" ".join(cmd + ["/t:Build"]), shell=use_shell)
File "c:\tools\Anaconda3\envs\c36\lib\subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" pythonnet.sln
/p:Configuration=ReleaseWin /p:Platform=x64
/p:DefineConstants="PYTHON36%3BPYTHON3%3BUCS2"
/p:PythonBuildDir="c:\dev\pythonnet\build\lib.win-amd64-3.6" /p:PythonInteropFile="interop36.cs"
/verbosity:minimal /p:PythonManifest="c:\dev\pythonnet\build\lib.win-amd64-3.6\app.manifest"
/t:Build' returned non-zero exit status 1.
> python setup.py install --xplat --dry-run
running install
running build
running build_ext
Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restoring packages for c:\dev\pythonnet\src\embed_tests\Python.EmbeddingTest.15.csproj...
Restoring packages for c:\dev\pythonnet\src\runtime\Python.Runtime.15.csproj...
Restoring packages for c:\dev\pythonnet\src\console\Console.15.csproj...
Restore completed in 18.12 ms for c:\dev\pythonnet\src\clrmodule\clrmodule.15.csproj.
Restoring packages for c:\dev\pythonnet\src\testing\Python.Test.15.csproj...
Restore completed in 181.26 ms for c:\dev\pythonnet\src\testing\Python.Test.15.csproj.
Restore completed in 203.27 ms for c:\dev\pythonnet\src\runtime\Python.Runtime.15.csproj.
Restore completed in 253.6 ms for c:\dev\pythonnet\src\console\Console.15.csproj.
Restore completed in 590.73 ms for c:\dev\pythonnet\src\embed_tests\Python.EmbeddingTest.15.csproj.
Microsoft (R) Manifest Tool
Copyright (c) Microsoft Corporation.
All rights reserved.
Microsoft (R) Build Engine version 15.3.409.57025 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
c:\dev\pythonnet\src\testing\Python.Test.15.csproj(2,31): error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
c:\dev\pythonnet\src\console\Console.15.csproj(2,31): error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
c:\dev\pythonnet\src\clrmodule\clrmodule.15.csproj(3,31): error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
c:\dev\pythonnet\src\embed_tests\Python.EmbeddingTest.15.csproj(2,31): error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not b e found.
c:\dev\pythonnet\src\runtime\Python.Runtime.15.csproj(2,31): error MSB4236: The SDK 'Microsoft.NET.Sdk' specified could not be found.
Traceback (most recent call last):
File "setup.py", line 516, in <module>
zip_safe=False,
...
File "setup.py", line 258, in build_extension
subprocess.check_call(" ".join(cmd + ["/t:Clean"]), shell=use_shell)
File "c:\tools\Anaconda3\envs\c36\lib\subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" pythonnet.15.sln
/p:Configuration=ReleaseWin /p:Platform=x64
/p:CustomDefineConstants="PYTHON36%3BPYTHON3%3BUCS2"
/p:PythonBuildDir="c:\dev\pythonnet\build\lib.win-amd64-3.6" /p:PythonInteropFile="interop36.cs"
/verbosity:minimal /p:PythonManifest="c:\dev\pythonnet\build\lib.win-amd64-3.6\app.manifest"
/t:Clean' returned non-zero exit status 1.
> dotnet build src\runtime\Python.Runtime.15.csproj /p:Configuration=ReleaseWinPY3
8 Warning(s)
0 Error(s)
Time Elapsed 00:00:04.50
but this one fails: > dotnet build src\clrmodule\clrmodule.15.csproj /p:Configuration=DebugWinPY3 Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core Copyright (C) Microsoft Corporation. All rights reserved. clrmodule.15 -> c:\dev\pythonnet\src\clrmodule\bin\clrmodule.dll C:\Users\vpapakos\.nuget\packages\unmanagedexports\1.2.7\tools\RGiesecke.DllExport.targets(58,3): error MSB4062: The "RGiesecke.DllExport.MSBuild.DllExportAppDomainIsolatedTask" task could not be loaded from the assembly C:\Users\vpapakos\.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'. 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. [c:\dev\pythonnet\src\clrmodule\clrmodule.15.csproj] Build FAILED. |
Sorry, something went wrong.
|
I will try to debug this problem. --dry-run switch was never debugged with --xplat |
Sorry, something went wrong.
|
Something that may be helpful: on Win10 + MSBuild15, installing the wheel file from the PR artifacts worked: C:\temp (c36) λ pip install pythonnet-2.4.0.dev0-cp36-cp36m-win_amd64.whl Processing c:\temp\pythonnet-2.4.0.dev0-cp36-cp36m-win_amd64.whl Installing collected packages: pythonnet Successfully installed pythonnet-2.4.0.dev0 C:\temp (c36) λ python Python 3.6.3 |Anaconda, Inc.| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import clr >>> clr <module 'clr' from 'C:\\tools\\anaconda3\\envs\\c36xplat\\lib\\site-packages\\clr.pyd'> >>> clr.__version__ '2.4.0.dev0' |
Sorry, something went wrong.
> dotnet build src\clrmodule\clrmodule.15.csproj /p:Configuration=DebugWinPY3
Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
clrmodule.15 -> c:\dev\pythonnet\src\clrmodule\bin\clrmodule.dll
C:\Users\vpapakos\.nuget\packages\unmanagedexports\1.2.7\tools\RGiesecke.DllExport.targets(58,3): error MSB4062:
The "RGiesecke.DllExport.MSBuild.DllExportAppDomainIsolatedTask"
task could not be loaded from the assembly
C:\Users\vpapakos\.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'.
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. [c:\dev\pythonnet\src\clrmodule\clrmodule.15.csproj]
Build FAILED.I figured out the problem dotnet msbuild (it's worked on dotnet core) So you should execute (under VS 2017 DevEnvironment) msbuild src\clrmodule\clrmodule.15.csproj /p:Configuration=DebugWinPY3 |
Sorry, something went wrong.
|
@fractus @dmitriyse so is there still any open issue on mac or windows. did you try to build this under linux? |
Sorry, something went wrong.
|
Some work still needed to handle --dry-run correctly. |
Sorry, something went wrong.
|
dotnet msbuild .... will never work on windows, so @fractus should change his test scheme. |
Sorry, something went wrong.
|
Win
Linux
|
Sorry, something went wrong.
|
(Sorry, for the message pollution -- closed it by mistake) |
Sorry, something went wrong.
|
@fractus , sorry but problem is solely in your environment. Please read some related post. Ensure that you are able to build any .net core 2.0 project with your VS 2017 msbuild. |
Sorry, something went wrong.
Sorry, something went wrong.
|
Our build is broken even for the master. So Travis-CI will fail. |
Sorry, something went wrong.
|
@dmitriyse thanks for troubleshooting mono bug, @fractus this should now build fine |
Sorry, something went wrong.
…m interop*.cs file inside IDE.
| Back | FazBrowse Home | New Git URL |
What does this implement/fix? Explain your changes.
Does this close any currently open issues?
No, it just now builds without problems on macOS.
Any other comments?
Checklist
Check all those that are applicable and complete.