Solved

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

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

705 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now