-
Notifications
You must be signed in to change notification settings - Fork 757
Description
Hi,it raises errors when i rebuild clrmodule.The build env and config is :
window10 Visual Studio 2015 , Release Win x86 , add "PYTHON35, UCS2" compilation symbols to both Python.Runtime and clrmodule projects
The error is:
2> clrmodule -> H:\docs\python\pythonnet-master\src\clrmodule\bin\x86\ReleaseWin\clrmodule.dll
2>H:\docs\python\pythonnet-master\packages\UnmanagedExports.1.2.6\tools\RGiesecke.DllExport.targets(42,5): error : Microsoft.Build.Utilities.ToolLocationHelper could not find ildasm.exe.
2>H:\docs\python\pythonnet-master\packages\UnmanagedExports.1.2.6\tools\RGiesecke.DllExport.targets(42,5): error : C:\Users\scy\AppData\Local\Temp\tmpF161\clrmodule.il(62) : error : syntax error at token '.field' in: .field static assembly initonly int64 'D43BE459642EEF2653B9DF1524152974360EA4C5' at I_00002C9C
The rebuild output is :
1>------ Rebuild All started: Project: Python.Runtime, Configuration: ReleaseWin x86 ------
1>H:\docs\python\pythonnet-master\src\runtime\assemblymanager.cs(206,37,206,38): warning CS0168: The variable 'e' is declared but never used
1> Python.Runtime -> H:\docs\python\pythonnet-master\src\runtime\bin\x86\ReleaseWin\Python.Runtime.dll
2>------ Rebuild All started: Project: clrmodule, Configuration: ReleaseWin x86 ------
2>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: Could not find rule set file "MinimumRecommendedRules.ruleset".
2> clrmodule -> H:\docs\python\pythonnet-master\src\clrmodule\bin\x86\ReleaseWin\clrmodule.dll
2>H:\docs\python\pythonnet-master\packages\UnmanagedExports.1.2.6\tools\RGiesecke.DllExport.targets(42,5): error : Microsoft.Build.Utilities.ToolLocationHelper could not find ildasm.exe.
2>H:\docs\python\pythonnet-master\packages\UnmanagedExports.1.2.6\tools\RGiesecke.DllExport.targets(42,5): error : C:\Users\scy\AppData\Local\Temp\tmpF161\clrmodule.il(62) : error : syntax error at token '.field' in: .field static assembly initonly int64 'D43BE459642EEF2653B9DF1524152974360EA4C5' at I_00002C9C
2>H:\docs\python\pythonnet-master\packages\UnmanagedExports.1.2.6\tools\RGiesecke.DllExport.targets(42,5): error :
3>------ Rebuild All started: Project: Python.Test, Configuration: ReleaseWin x86 ------
3>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: Could not find rule set file "MinimumRecommendedRules.ruleset".
3>H:\docs\python\pythonnet-master\src\testing\eventtest.cs(26,41,26,54): warning CS0067: The event 'EventTest.InternalEvent' is never used
3>H:\docs\python\pythonnet-master\src\testing\eventtest.cs(28,40,28,52): warning CS0067: The event 'EventTest.PrivateEvent' is never used
3>H:\docs\python\pythonnet-master\src\testing\eventtest.cs(20,47,20,65): warning CS0067: The event 'EventTest.PrivateStaticEvent' is never used
3>H:\docs\python\pythonnet-master\src\testing\eventtest.cs(18,48,18,67): warning CS0067: The event 'EventTest.InternalStaticEvent' is never used
3> Python.Test -> H:\docs\python\pythonnet-master\src\testing\bin\x86\ReleaseWin\Python.Test.dll
4>------ Rebuild All started: Project: Python.EmbeddingTest, Configuration: ReleaseWin x86 ------
4>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: Could not find rule set file "MinimumRecommendedRules.ruleset".
4> Python.EmbeddingTest -> H:\docs\python\pythonnet-master\src\embed_tests\bin\x86\ReleaseWin\Python.EmbeddingTest.dll
5>------ Rebuild All started: Project: Console, Configuration: Release x86 ------
5>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.CSharp.CurrentVersion.targets(133,9): warning MSB3884: Could not find rule set file "MinimumRecommendedRules.ruleset".
5>H:\docs\python\pythonnet-master\src\console\assemblyinfo.cs(13,35,13,64): warning CS0618: 'SecurityAction.RequestMinimum' is obsolete: 'Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.'
5> Console -> H:\docs\python\pythonnet-master\src\console\bin\x86\Release\nPython.exe
========== Rebuild All: 4 succeeded, 1 failed, 0 skipped ==========
I don't know much about C# and visual studio.Thank you very much for helping solving this problem.