相关疑难解决方法(0)

在csproj中自动生成IntermediateOutputPath

更新代码后,csproj我有一个错误,file因为filepath路径不存在.以下是启动错误的代码:

<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>
Run Code Online (Sandbox Code Playgroud)

IntermediateOutputPath存在于哈利的计算机上但不在我的计算机上.有这个名字的人不知道他是如何创建的,所以我假设Visual Studio创建了它.这就是我有3个问题的原因:

1.csproj标签的目标是什么IntermediateOutputPath?(我已经检查过MSDN文档,但仍然不清楚)

2. Harry如何生成代码(因为他不知道)?

3.是否可以使用通用变量来获取每个人都可以使用的文件路径,这csproj是程序运行所必需的?

c# git csproj visual-studio

4
推荐指数
1
解决办法
3669
查看次数

标签 统计

c# ×1

csproj ×1

git ×1

visual-studio ×1