• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 458
  • Last Modified:

Visual Studio 2012 build are trying to copy completed assembly to network share

I have been given a visual studio 2012 visual basic project developed by a former employee. When I try to build the project, I keep getting these errors that say...

Error      1      Unable to copy file "obj\Release\project1.dll" to "\\Data1\public\Projects\Project1.dll". Access to the path '\\Data1\public\Projects\Project1.dll' is denied.      Project1

I have looked in the project properties on the Compile tab and the build output path is bin\debug.

I have looked in the project properties on the Compile tab  in the Build Events area and there are no build events defined.

I have looked in the project properties on the Compile tab in the Advanced Compile Options and nothing there is related to this issue.


Where is Visual Studio getting this command to copy files to the network on completion of a build?

Thanks,

Dave
0
dcadler
Asked:
dcadler
1 Solution
 
Dennis AriesCEO @ Arkro ITCommented:
The error shows obj\Release whereas you have been looking in the debug-build. There might be a different setting in the release-properties.

If you still cannot find anything, open your solutionfile (and/or projectfile) in a simple texteditor (notepad, notepad++) en search for '\\Data'.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now