Solved

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

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Set value of dynamically created checkboxlist 2 34
ASP.NET MVC 2 31
VB.net Open Folder in Windows Explorer 3 29
Help with exporting to excel 4 27
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

777 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