Event Visual Studio Pre Build nie działa

add to the project file

<PropertyGroup>
    <DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
</PropertyGroup> 
Embarrassed Earthworm