Title: langversion 6 is not recognized with msbuild or csc compiler in VS 2017 · Issue #539 · pythonnet/pythonnet · GitHub
Open Graph Title: langversion 6 is not recognized with msbuild or csc compiler in VS 2017 · Issue #539 · pythonnet/pythonnet
X Title: langversion 6 is not recognized with msbuild or csc compiler in VS 2017 · Issue #539 · pythonnet/pythonnet
Description: CSC : error CS1617: Invalid option '6' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default Click to expand python setup.py install running install running bdist_egg running egg_info writing pythonnet.egg-info\PKG-INFO writing top-...
Open Graph Description: CSC : error CS1617: Invalid option '6' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default Click to expand python setup.py install running install running bdist_egg running egg_info writing ...
X Description: CSC : error CS1617: Invalid option '6' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default Click to expand python setup.py install running install running bdist_egg running egg_info ...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/539
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"langversion 6 is not recognized with msbuild or csc compiler in VS 2017","articleBody":"CSC : error CS1617: Invalid option '6' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default \r\n\r\n\u003cdetails\u003e\r\n \u003csummary\u003eClick to expand\u003c/summary\u003e\r\n\r\n```\r\npython setup.py install\r\nrunning install\r\nrunning bdist_egg\r\nrunning egg_info\r\nwriting pythonnet.egg-info\\PKG-INFO\r\nwriting top-level names to pythonnet.egg-info\\top_level.txt\r\nwriting dependency_links to pythonnet.egg-info\\dependency_links.txt\r\nreading manifest file 'pythonnet.egg-info\\SOURCES.txt'\r\nwriting manifest file 'pythonnet.egg-info\\SOURCES.txt'\r\ninstalling library code to build\\bdist.win32\\egg\r\nrunning install_lib\r\nrunning build_ext\r\nChecking for updates from https://www.nuget.org/api/v2/.\r\nCurrently running NuGet.exe 4.3.0.\r\nNuGet.exe is up to date.\r\nMSBuild auto-detection: using msbuild version '15.3.409.57025' from 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\15.0\\bin'.\r\nAll packages listed in packages.config are already installed.\r\nScanning for projects...\r\nMSBuild auto-detection: using msbuild version '15.3.409.57025' from 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\MSBuild\\15.0\\bin'.\r\nFound 2 projects with a packages.config file. (clrmodule.csproj, Python.EmbeddingTest.csproj)\r\nFeeds used:\r\n https://api.nuget.org/v3/index.json\r\n C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\\r\n\r\n\r\n\r\nAttempting to gather dependency information for multiple packages with respect to project 'C:\\Users\\denis.akhiyarov\\Downloads\\pythonnet\\src\\clrmodule\\clrmodule.csproj', targeting '.NETFramework,Version=v4.0'\r\nGathering dependency information took 694.65 ms\r\nAttempting to resolve dependencies for multiple packages.\r\nResolving dependency information took 0 ms\r\nResolving actions install multiple packages\r\nResolution was successful but resulted in no action\r\nThere are no new updates available.\r\nNo package updates are available from the current package source for project 'C:\\Users\\denis.akhiyarov\\Downloads\\pythonnet\\src\\clrmodule\\clrmodule.csproj'.\r\nExecuting nuget actions took 5.2 ms\r\nFeeds used:\r\n https://api.nuget.org/v3/index.json\r\n C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\\r\n\r\n\r\n\r\nAttempting to gather dependency information for multiple packages with respect to project 'C:\\Users\\denis.akhiyarov\\Downloads\\pythonnet\\src\\embed_tests\\Python.EmbeddingTest.csproj', targeting '.NETFramework,Version=v4.0'\r\nGathering dependency information took 180.1 ms\r\nAttempting to resolve dependencies for multiple packages.\r\nResolving dependency information took 0 ms\r\nResolving actions install multiple packages\r\nRetrieving package 'NUnit 3.8.1' from 'nuget.org'.\r\nRetrieving package 'NUnit.ConsoleRunner 3.7.0' from 'nuget.org'.\r\n GET https://api.nuget.org/v3-flatcontainer/nunit/3.8.1/nunit.3.8.1.nupkg\r\n GET https://api.nuget.org/v3-flatcontainer/nunit.consolerunner/3.7.0/nunit.consolerunner.3.7.0.nupkg\r\nRemoved package 'NUnit.ConsoleRunner 3.6.0' from 'packages.config'\r\nSuccessfully uninstalled 'NUnit.ConsoleRunner 3.6.0' from Python.EmbeddingTest.csproj\r\n OK https://api.nuget.org/v3-flatcontainer/nunit.consolerunner/3.7.0/nunit.consolerunner.3.7.0.nupkg 52ms\r\nInstalling NUnit.ConsoleRunner 3.7.0.\r\nRemoved package 'NUnit 3.6.0' from 'packages.config'\r\nSuccessfully uninstalled 'NUnit 3.6.0' from Python.EmbeddingTest.csproj\r\n OK https://api.nuget.org/v3-flatcontainer/nunit/3.8.1/nunit.3.8.1.nupkg 144ms\r\nInstalling NUnit 3.8.1.\r\nAdding package 'NUnit.3.8.1' to folder 'C:\\Users\\denis.akhiyarov\\Downloads\\pythonnet\\packages'\r\nAdded package 'NUnit.3.8.1' to folder 'C:\\Users\\denis.akhiyarov\\Downloads\\pythonnet\\packages'\r\nAdded package 'NUnit.3.8.1' to 'packages.config'\r\nSuccessfully installed 'NUnit 3.8.1' to Python.EmbeddingTest.csproj\r\nAdding package 'NUnit.ConsoleRunner.3.7.0', which only has tools group, to project 'Python.EmbeddingTest.csproj'\r\nAdding package 'NUnit.ConsoleRunner.3.7.0' to folder 'C:\\Users\\denis.akhiyarov\\Downloads\\pythonnet\\packages'\r\nAdded package 'NUnit.ConsoleRunner.3.7.0' to folder 'C:\\Users\\denis.akhiyarov\\Downloads\\pythonnet\\packages'\r\nAdded package 'NUnit.ConsoleRunner.3.7.0' to 'packages.config'\r\nSuccessfully installed 'NUnit.ConsoleRunner 3.7.0' to Python.EmbeddingTest.csproj\r\nExecuting nuget actions took 1.61 sec\r\nMicrosoft (R) Manifest Tool version 10.0.10011.16384\r\nCopyright (c) Microsoft Corporation 2012.\r\nAll rights reserved.\r\nMicrosoft (R) Build Engine version 4.7.2046.0\r\n[Microsoft .NET Framework, version 4.0.30319.42000]\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\nMicrosoft (R) Build Engine version 4.7.2046.0\r\n[Microsoft .NET Framework, version 4.0.30319.42000]\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\nCSC : error CS1617: Invalid option '6' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default [C:\\Users\\denis.akhiy\r\narov\\Downloads\\pythonnet\\src\\runtime\\Python.Runtime.csproj]\r\nCSC : error CS1617: Invalid option '6' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default [C:\\Users\\denis.akhiy\r\narov\\Downloads\\pythonnet\\src\\clrmodule\\clrmodule.csproj]\r\nTraceback (most recent call last):\r\n File \"setup.py\", line 417, in \u003cmodule\u003e\r\n zip_safe=False,\r\n File \"C:\\Python\\Python27-32\\lib\\distutils\\core.py\", line 151, in setup\r\n dist.run_commands()\r\n File \"C:\\Python\\Python27-32\\lib\\distutils\\dist.py\", line 953, in run_commands\r\n self.run_command(cmd)\r\n File \"C:\\Python\\Python27-32\\lib\\distutils\\dist.py\", line 972, in run_command\r\n cmd_obj.run()\r\n File \"C:\\Python\\Python27-32\\lib\\site-packages\\setuptools\\command\\install.py\", line 67, in run\r\n self.do_egg_install()\r\n File \"C:\\Python\\Python27-32\\lib\\site-packages\\setuptools\\command\\install.py\", line 109, in do_egg_install\r\n self.run_command('bdist_egg')\r\n File \"C:\\Python\\Python27-32\\lib\\distutils\\cmd.py\", line 326, in run_command\r\n self.distribution.run_command(command)\r\n File \"C:\\Python\\Python27-32\\lib\\distutils\\dist.py\", line 972, in run_command\r\n cmd_obj.run()\r\n File \"C:\\Python\\Python27-32\\lib\\site-packages\\setuptools\\command\\bdist_egg.py\", line 161, in run\r\n cmd = self.call_command('install_lib', warn_dir=0)\r\n File \"C:\\Python\\Python27-32\\lib\\site-packages\\setuptools\\command\\bdist_egg.py\", line 147, in call_command\r\n self.run_command(cmdname)\r\n File \"C:\\Python\\Python27-32\\lib\\distutils\\cmd.py\", line 326, in run_command\r\n self.distribution.run_command(command)\r\n File \"C:\\Python\\Python27-32\\lib\\distutils\\dist.py\", line 972, in run_command\r\n cmd_obj.run()\r\n File \"C:\\Python\\Python27-32\\lib\\distutils\\command\\install_lib.py\", line 92, in run\r\n self.build()\r\n File \"C:\\Python\\Python27-32\\lib\\distutils\\command\\install_lib.py\", line 111, in build\r\n self.run_command('build_ext')\r\n File \"C:\\Python\\Python27-32\\lib\\distutils\\cmd.py\", line 326, in run_command\r\n self.distribution.run_command(command)\r\n File \"C:\\Python\\Python27-32\\lib\\distutils\\dist.py\", line 972, in run_command\r\n cmd_obj.run()\r\n File \"C:\\Python\\Python27-32\\lib\\distutils\\command\\build_ext.py\", line 340, in run\r\n self.build_extensions()\r\n File \"C:\\Python\\Python27-32\\lib\\distutils\\command\\build_ext.py\", line 449, in build_extensions\r\n self.build_extension(ext)\r\n File \"setup.py\", line 225, in build_extension\r\n subprocess.check_call(\" \".join(cmd + [\"/t:Build\"]), shell=use_shell)\r\n File \"C:\\Python\\Python27-32\\lib\\subprocess.py\", line 186, in check_call\r\n raise CalledProcessError(retcode, cmd)\r\nsubprocess.CalledProcessError: Command '\"C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\msbuild.exe\" pythonnet.sln /p:Configuration=ReleaseWin /p:Platform=x86 /p:DefineConstants=\"PYTHON27%3BPYTHON2%3BUCS2\" /p:PythonBuildDir=\"C:\\Users\\denis.akhiyarov\\Downloads\\pythonnet\\build\\lib.win32-2.7\" /p:PythonInteropFile=\"interop27.cs\" /verbosity:minimal /p:PythonManifest=\"C:\\Users\\denis.akhiyarov\\Downloads\\pythonnet\\build\\lib.win32-2.7\\app.manifest\" /t:Build' returned non-zero exit status 1\r\n```\r\n\u003c/details\u003e","author":{"url":"https://github.com/den-run-ai","@type":"Person","name":"den-run-ai"},"datePublished":"2017-09-11T16:37:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/539/pythonnet/issues/539"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0ca0935e-6ba6-e634-bab0-55073552a890 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 942E:1462F2:2A2D8BE:3A33EA2:6972A95F |
| html-safe-nonce | 262ce6e9c5be675425e5aea559519bec77b77693914efe5cf4fd8dbb18304e66 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDJFOjE0NjJGMjoyQTJEOEJFOjNBMzNFQTI6Njk3MkE5NUYiLCJ2aXNpdG9yX2lkIjoiMTk3Mjk3NjM5NTY3NTY3MTk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a18595957419d75ba50dfa72a1a0a7ed3f59fa2efc876c664b7162410d0da522 |
| hovercard-subject-tag | issue:256767581 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pythonnet/pythonnet/539/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ef5e1917d29a7413064e5caac308f6d54c4fe909db3c683c27c3e74a5cd31a50/pythonnet/pythonnet/issues/539 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ef5e1917d29a7413064e5caac308f6d54c4fe909db3c683c27c3e74a5cd31a50/pythonnet/pythonnet/issues/539 |
| og:image:alt | CSC : error CS1617: Invalid option '6' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default Click to expand python setup.py install running install running bdist_egg running egg_info writing ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | den-run-ai |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae357919e9cc5fb635a01c9a2cc530478d3ac85f55090215eb70e1beca3385ac |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 625f1bd9f76a617a9c0729e2de91edb56b6ce42f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width