Could not find file 'obj\Debug\OldProjectName.csproj.FileListAbsolute.txt

后端 未结 10 968
星月不相逢
星月不相逢 2021-02-05 05:00

I\'m trying to publish project (tools vs2010), but cannot all the time getting the error below. I paste to my projects files from another project and then I changed namespace (O

10条回答
  •  生来不讨喜
    2021-02-05 05:36

    Like many others these files were read only and needed to be deleted or actually able to be overwritten by VS. However, as may be the case for many others, the problem was because these files were checked in to source control. Your bin and obj folders should not be in source control. Mark them for delete and submit the changelist.

    One exception to the rule is for the bin folder could be dll files that are not .Net compatible. Such as a C/C++ dll that you are using through a .Net wrapper dll. I mark them as content so that they get published and check them into source control.

提交回复
热议问题