从Git更新代码后,我的csproj
出现错误,因为file
路径不存在。这是触发错误的代码:
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ZAL_Release|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\Release\bin\soft\</OutputPath>
<DefineConstants>TRACE;ZAL</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<Optimize>true</Optimize>
<IntermediateOutputPath>C:\Users\HARRY~1\AppData\Local\Temp\vs543E.tmp\x64\ZAL_Release\</IntermediateOutputPath>
</PropertyGroup>
这个filepath
存在于Harry的电脑上,但是在我的电脑上不存在。这个名字的人不知道他是如何创建它的,所以我认为是Visual Studio创建的。因此,我有三个问题:
1. csproj
中的IntermediateOutputPath
标签的目的是什么?(我已经查看了MSDN文档,但还不清楚)
2. Harry如何生成代码(因为他不知道)?
3. 是否可以使用通用变量获取每个人都可以使用的文件路径?在这种情况下,程序运行是否需要IntermediateOutputPath
?