当我在Visual Studio 2012下创建一个新的F#应用程序并构建它时,会发生同样的错误:
错误1未为项目'TestingF.fsproj'设置OutputPath属性.请检查以确保您为此项目指定了有效的配置和平台组合.Configuration ='Debug'Blatter =''.如果某个其他项目正在尝试遵循项目到项目对此项目的引用,此项目已卸载或未包含在解决方案中,并且引用项目不使用相同或等效项目构建,则也可能出现此错误配置或平台.C:\ Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets 592 5 TestingF
尝试使用Configuration Manager修改Configuration | Platform并卸载项目并编辑.fsproj文件.
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<Tailcalls>false</Tailcalls>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<WarningLevel>3</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
<DocumentationFile>bin\Debug\TestingF.XML</DocumentationFile>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
Run Code Online (Sandbox Code Playgroud)
使用任何其他.Net语言都不会发生同样的错误.