Re: <PropertyGroup>
От: Qbit86 Кипр
Дата: 27.12.17 01:18
Оценка:
Здравствуйте, codenet, Вы писали:

C>вот csproj проекта, который отказывается напрочь писать в bin\Debug.


C>
C>  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
C>    <PlatformTarget>x64</PlatformTarget>
C>    <OutputPath>bin\Debug</OutputPath>
C>    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
C>    <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>

C>  </PropertyGroup>

C>


Навскидку, попробуй вынести настройки AppendTargetFrameworkToOutputPath и AppendRuntimeIdentifierToOutputPath вне условия (атрибут `Condition`). Может, у тебя платформа не `AnyCPU`, так что переопределение тех настроек не выполняется.

  <PropertyGroup>
    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
    <PlatformTarget>x64</PlatformTarget>
    <OutputPath>bin\Debug</OutputPath>
  </PropertyGroup>
Глаза у меня добрые, но рубашка — смирительная!
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.