My program thrown an exception that I don't understand and VS2019 show me this message:
Exception thrown while setting fields [IdPerm] in table [userperm] with value [893]. Check the logs for details'
I'm trying to find the log file but I can't do it. I read the following articles:
1- What is the default location for MSBuild logs?
3- VS2010: minimal build log in output and detailed log in log file
so I added to my .csproj these instructions
<Target Name="AfterBuild">
<Exec Command="notepad.exe $(IntDir)\$(MSBuildProjectName).log" />
</Target>
but then when I execute on the command prompt notepad.exe $(IntDir)\$(MSBuildProjectName).log
I have another error: Cannot find the path specified