2016-06-10 1 views
0

Visual Studio 코드를 구성하는 방법을 모르기 때문에 어떤 이유로 인해 발생했을 가능성이 큽니다. 우리는 무료 라이트 버전에 대해 이야기하고 있습니다.Visual Studio 코드를 올바르게 구성 할 수 없습니다.

항상 일부 오류가 표시됩니다. 나는이 제품을 처음 접했지만 VS는 아니지만이 버전입니다.

이 IDE를 올바르게 설정하려면 어떻게해야합니까?

여기에 현재 오류가 있습니다.

Downloading and configuring the .NET Core Debugger... 
Telemetry is: Enabled 
log : Restoring packages for C:\Users\Erik Little\.vscode\extensions\ms-vscode.csharp-0.3.7\coreclr-debug\project.json... 
info : Committing restore... 
log : Lock file has not changed. Skipping lock file write. Path: C:\Users\Erik Little\.vscode\extensions\ms-vscode.csharp-0.3.7\coreclr-debug\project.lock.json 
log : C:\Users\Erik Little\.vscode\extensions\ms-vscode.csharp-0.3.7\coreclr-debug\project.json 
log : Restore completed in 585ms. 

NuGet Config files used: 
    C:\Users\Erik Little\.vscode\extensions\ms-vscode.csharp-0.3.7\coreclr-debug\NuGet.config 

Feeds used: 
    https://www.myget.org/F/dotnet-core/api/v3/index.json 
    https://api.nuget.org/v3/index.json 
    https://www.myget.org/F/coreclr-debug/api/v3/index.json 
Telemetry is: Enabled 
Error: Can not find runtime target for framework 'DNXCore,Version=v5.0' compatible with one of the target runtimes: 'win10-x64, win81-x64, win8-x64, win7-x64'. Possible causes: 
1. The project has not been restored or restore failed - run `dotnet restore` 
2. The project does not list one of 'win10-x64, win81-x64, win8-x64, win7-x64' in the 'runtimes' section. 
Error: 

System.InvalidOperationException: Can not find runtime target for framework 'DNXCore,Version=v5.0' compatible with one of the target runtimes: 'win10-x64, win81-x64, win8-x64, win7-x64'. Possible causes: 
1. The project has not been restored or restore failed - run `dotnet restore` 
2. The project does not list one of 'win10-x64, win81-x64, win8-x64, win7-x64' in the 'runtimes' section. 
    at Microsoft.DotNet.ProjectModel.BuildWorkspace.GetRuntimeContext(ProjectContext context, IEnumerable`1 runtimeIdentifiers) 
    at Microsoft.DotNet.Tools.Publish.PublishCommand.<>c__DisplayClass71_0.<SelectContexts>b__1(ProjectContext c) 
    at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() 
    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) 
    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) 
    at Microsoft.DotNet.Tools.Publish.PublishCommand.TryPrepareForPublish() 
    at Microsoft.DotNet.Tools.Publish.PublishCommand.<>c__DisplayClass0_0.<Run>b__0() 
    at Microsoft.DotNet.Cli.CommandLine.CommandLineApplication.Execute(String[] args) 
    at Microsoft.DotNet.Tools.Publish.PublishCommand.Run(String[] args) 
dotnet exited with error code 1 
Error while installing .NET Core Debugger. 

그들은 설치하기가 매우 쉬운 것처럼 보이지만 항상 실종 상태입니다. 나는 그것이 이상하게 보였기 때문에 내가 설정 파일을 올바르게 설정하지 않는다는 것을 아주 잘 알고있다. 모든 JS와 비슷합니다.


또한 내가 비주얼 스튜디오 엔터프라이즈 에디션 전혀 문제에 작업 폴더를 가리키는 경우 나는 항상 eslintrc을 찾고 계속이 오류

eslintrc-error 

을 얻을하지만 난이 이것을 해결하기 위해 사방을 보았다.

이 문제에 대한 스냅 샷을 게시했습니다.

내가 알고있는 것은 설정 문제입니다.

나는 무엇이 eslintrc인지 알지 못합니다.

알려 주시기 바랍니다.

eslintrc-error

답변

0

그것은 ECMA에 대한 린터의 ... rc 파일은 옵션을 구성합니다.

코드가 편집기라는 것을 알고 있습니다. 실제로 IDE가 아닙니다. 무료로 찾고 있다면 Visual Studio Community를 제안 할 것입니다.

+0

VS 2015 엔터프라이즈 버전이 있습니다. 모든 유형의 파일을 다루는 더러운 방법으로 가벼운 무게였습니다. –

+0

그렇지만 설치 한 linters 및 기타 확장 기능에 익숙해 져야합니다. 'Extensions : Show Extension Recommendations' (CTL-p로 접근)을 시도해보고 사용할 수있는 것을보고 싶습니다. 구성 파일은 실제로 JSON 파일입니다. Visual Studio 셸을 사용하는 것은 아니라는 점을 명심해야합니다 : 그것은 완전히 다른 편집 환경입니다. 다른 엔진, 확장 세트, 전체 키트 및 kaboodle이 있습니다. – JeroldHaas