Solved

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

Posted on 2014-03-06
1
450 Views
Last Modified: 2014-03-29
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
Comment
Question by:dcadler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 18

Accepted Solution

by:
Dennis Aries earned 500 total points
ID: 39912485
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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question