3

Visual Studio Code と DotNET Core SDK を新しい Windows 10 32 ビット マシンにインストールしました。ただし、実行して適切に動作させることはできません。

csharp 拡張機能 (Omnisharp) を Visual Studio Code にロードしました。x86 ではなく x64 パッケージをロードしているように見えることは明らかです。

[INFO] Starting OmniSharp at 'd:\Entwicklung\MyFirstApp'...
[INFO] Installing to C:\Users\Daniel\.vscode\extensions\ms-vscode.csharp-1.1.5\.omnisharp
[INFO] Attempting to download omnisharp-1.9-beta5-win-x64-net451.zip...
[INFO] Downloading to C:\Users\Daniel\AppData\Local\Temp\tmp-1252lY4HMeX6qNhB.tmp...

これにより、デバッガーをインストールできないというエラーが発生します。

Error: Can not find runtime target for framework '.NETStandardApp,Version=v1.5' compatible with one of the target runtimes: 'win10-x86, win81-x86, win8-x86, win7-x86'. Possible causes:
1. The project has not been restored or restore failed - run `dotnet restore`
2. The project does not list one of 'win10-x86, win81-x86, win8-x86, win7-x86' in the 'runtimes' section.
Error: 

System.InvalidOperationException: Can not find runtime target for framework '.NETStandardApp,Version=v1.5' compatible with one of the target runtimes: 'win10-x86, win81-x86, win8-x86, win7-x86'. Possible causes:
1. The project has not been restored or restore failed - run `dotnet restore`
2. The project does not list one of 'win10-x86, win81-x86, win8-x86, win7-x86' in the 'runtimes' section.
at.... 

これを修正する方法は?

ありがとう!

4

1 に答える 1

0

私は Windows 7 32 ビットと VSCode / Omnisharp で使用したいと思っていたネットブックを持っていますが、その壁にもぶつかりました。

Omnisharp は現在 64 ビットのみをサポートしています。32 ビット バージョンの既知の計画はありません。

紛らわしいのは、32ビット互換であることが使用されていることです! 64 ビットに切り替えるか (ハードウェアで許可されている場合)、別のツール チェーンをセットアップします (おそらく SharpDevelop を使用しますか?)。

人々はすでにこの変更を要求していますが、開発者はそれを真剣に受け止めていないようです

于 2016-10-17T09:15:13.467 に答える