Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, May 25, 2018 1:10 PM
VS2017 automatically adding <IntermediateOutputPath/> to the <PropertyGroup. How do I keep this from happening because I'm working on a team and TFS sees this auto insert and adds the project files to my pending changes which I don't want unless o ne really changes due to new object added.
<IntermediateOutputPath>C:\Users\myName\AppData\Local\Temp\vs80AA.tmp\Debug\/IntermediateOutputPath>
How do I stop this auto insertion in VS2017? I've seen other explanations as this is not set correctly somewhere else but where is this option in VS2017?
All replies (2)
Tuesday, May 29, 2018 6:23 AM
Hi Mimosa Arts,
Thanks for posting here.
According to the fernacolo`s answer in the thread:
One of the referenced projects was defining <BaseIntermediateOutputPath> as $SolutionDir + "-" + $ProjectName. If there is <OutputPath>, then it's used. Otherwise, the output path is defined as <BaseIntermediateOutputPath> + <IntermediateOutputPath> + "bin".
So, you should check all your projects if one of project was defining <BaseIntermediateOutputPath> and the <OutputPath> is not used.
Besides, you can create a new solution with a blank project, check if <IntermediateOutputPath/> was added automatically, if yes, please tell us your project type and some reproduce steps.
MSDN Community Support Please remember to click Mark as Answer. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].
Wednesday, May 30, 2018 7:49 PM
I can't find <BaseIntermediateOutputPath> in the solution.
An example in mine is:
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\/OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x64</PlatformTarget> ** <IntermediateOutputPath>C:\Users\hsimpson\AppData\Local\Temp\vs9C5E.tmp\Debug\/IntermediateOutputPath>**
</PropertyGroup>