1

私はビジュアルスタジオ2015に複数のプロジェクトがあります。 "ANY CPU"でプロジェクトをデバッグモードで実行しています。私は私のプロジェクトを実行しようとしているとき、私は次のエラーを取得する:エラー "OutputPathプロパティがプロジェクトに設定されていません" VS 2015

The OutputPath property is not set for project '.csproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='x64'.
This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform. C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets

+0

あなたはOneDriverから問題についての簡単なデモを提供していただけますか? –

+0

あなたのお返事ありがとう@starain –

答えて

1

すべてのプロジェクトソリューションをx64に更新してから、ソリューションの構築をうまく行えます。

enter image description here

0

月あなたによって「ANY CPUは、」ソリューション構成であることを意味? 「Build \ Configuration Manager」と入力し、「設定」と「プラットフォーム」に「.csproj」を入力します。 また、すべてのCSプロジェクトファイルで "<OutputPath></OutputPath>"をチェックしてみてください。私にとって

<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 
<Platform Condition=" '$(Platform)' == '' ">AnyCPU(may be x64 here)</Platform> 
2

、問題はパッケージでNugetのみフェッチ「Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.4.0.nupkg

Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.4.0

だったとフォルダ「build」を追加didntは: も$(Platform)がnullの場合に設定されるプラットフォームに見えます、「tools」となります。したがって、 'Microsoft.VisualStudio.Azure.Fabric.Application.props'はありませんでした。

バックアップから一旦追加された(didnt help restoring)、私はプロジェクトを再構築しただけで、魅力的でした!

最も明白なエラーメッセージではありませんでした。

これは誰かを助けることを望みます。

+0

私にこのことを思い出させてくれてありがとう!私はSFパッケージをアップグレードした数ヶ月前にこれが起こりました。そして今度は再び起こりました。 – Per

関連する問題