I am trying to build my ASP.NET core 1.0 application using .Net framework 4.6.1
But I am keep getting below error-
Error Failed to make the following project runnable: Apex_POC (.NETFramework,Version=v4.6.1) reason: Access to the path 'C:\perforce\CFA\Apex\POC\Apex_POC\src\Apex_POC\bin\Debug\net461\win7-x64\Apex_POC.exe.config' is denied. Apex_POC C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.Targets 262
I verified path is correct and make sure that none of folder/files are in read only mode.
Also, verified I can write into this file. The current content of file is below (everything is by default, nothing is added from my side)-
<configuration>
<runtime>
<gcServer enabled="true"/>
</runtime>
</configuration>
How to resolve this issue?
My environment is VS2015 Professional update3 and a Windows 7 machine.
Thanks & Regards
Vishal
dotnet watch
from a console? (3) Is the error consistent or sporadic? – Victor Hurdugaci