Solved

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

Posted on 2014-03-06
1
446 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
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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Visual Studios 1 76
vb.net and creating a class 5 20
SSIS Feed MS SQL Server Stored procedure with loop 4 36
PowerShell:  Column widths won't expand 3 17
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

839 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