473,788 Members | 2,988 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

build error

5 New Member
I have get latest from team server, but I wanted my local copy of the project to move to my drive d. so i deleted the local copy and get again from the server. I managed to change the direction of the local copy but when I get latest again, and tried to build the project, I have this error


Error 2 The command "COPY "D:\Sibil\SOLUT ION\GSC.Entitie s\bin\Debug\*.d ll" "D:\Sibil\SOLUT ION\GSC.Server. IIS\Components\ " /Y" exited with code 1. GSC.Entities
Aug 3 '07 #1
3 3521
Frinavale
9,735 Recognized Expert Moderator Expert
I have get latest from team server, but I wanted my local copy of the project to move to my drive d. so i deleted the local copy and get again from the server. I managed to change the direction of the local copy but when I get latest again, and tried to build the project, I have this error


Error 2 The command "COPY "D:\Sibil\SOLUT ION\GSC.Entitie s\bin\Debug\*.d ll" "D:\Sibil\SOLUT ION\GSC.Server. IIS\Components\ " /Y" exited with code 1. GSC.Entities
Hi Nothix9,

I don't think this is a .NET question. To ensure you get help with your problem I'm going to move your question to the Windows Forum. If this is not where your question belongs just post a reply here saying so and I'll move it to the place that it does belong.

Good luck!

-Frinny
Aug 3 '07 #2
minunk
1 New Member
Try this. This might help
1. Open the properties pane for GSC.Entities project.
2. Check 'build events' tab / Post-build event command line text box
a. Make sure that the TargetPath and SolutionDir portions are enclosed in double quotes like the below.
b. The options should not be in double quotes.

<PropertyGrou p>
<PostBuildEvent >copy "$(TargetPa th)" "$(SolutionDir) <optional stuff\>$(OutDir )" /y</PostBuildEvent>
</PropertyGroup>

3. To see the various options for the copy command, give copy /? in the visual studio command prompt.


You may refer to this article also -

http://geekswithblogs. net/dchestnutt/archive/2006/05/30/80113.aspx

I dont know how helpful the above information is. I had a similar problem. I provided the quotes and it is working fine for me.

Thanks,
Minu
Aug 16 '07 #3
dalhit
2 New Member
Hi Dude, i am coming accross similar problem.

I have VS 2005 with .NET 2,3,3.5. on Win 2K3 Entp Edtn

In post build event, i am running below command
copy "$(ProjectDir)T ests\Microsoft. Practices.Enter priseLibrary.Co nfiguration.dll .config"
"$(TargetDi r)"

But it exits with following error:

Error 71 The command "copy 'C:\_Src\LPO_EC M\HERMESDEV01_E cmBuild\Sources \Source\Enterpr iseLibrary\Conf iguration\Tests \Microsoft.Prac tices.Enterpris eLibrary.Config uration.dll.con fig' 'C:\_Src\LPO_EC M\HERMESDEV01_E cmBuild\Sources \Source\Enterpr iseLibrary\Conf iguration\bin\R eleaseFinal\'" exited with code 1. Configuration.p rod


Even i replace above Macro-Directories with actual path, as below, but still i am getting error.

copy "C:\_Src\LPO_EC M\HERMESDEV01_E cmBuild\Sources \Source\Enterpr iseLibrary\Conf iguration\Tests \Microsoft.Prac tices.Enterpris eLibrary.Config uration.dll.con fig" "C:\_Src\LPO_EC M\HERMESDEV01_E cmBuild\Sources \Source\Enterpr iseLibrary\Conf iguration\bin\R eleaseFinal\"


Also i cheked that Source folder has necessary files & destination folder is writtable.

I am not able to understand what wrong here..!!!

In case anyone can throw some light on this issue,
please reply me : <email snipped>

Thanks
Dal Hit
Feb 16 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
4382
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two files containing some templates: adjacency_list.hpp and mem_fn.hpp can not compile. Does anyone have any solutions?
10
2351
by: Douglas Buchanan | last post by:
I am using the following code instead of a very lengthly select case statement. (I have a lot of lookup tables in a settings form that are selected from a ListBox. The data adapters are given a similar name to the table. Rather than making a long Select Case that could become obsolete if lookup tables are added and the source table of the ListBox is edited I came up with this code.) This code works but of course it gives me build...
5
5364
by: David++ | last post by:
Hi there, I have built a DLL in Visual C++ 6. When I build the DLL it builds fine for the debug version of the DLL (and this DLL works fine), however, I seem unable to build a Release version of the DLL. If I do a 'Batch Build' and select both Debug and Relase versions for building it will build the debug version but throws up errors for the Release version. For example, the output I get for a Batch Build is this - ...
0
1760
by: ktelep | last post by:
I'm trying to build python 2.4.2 on AIX 5.3 with the IBM xlC compiler as per the notes in the AIX Readme file. Basically my make fails with the errors listed below. I'm calling configure with: ../configure --with-gcc="xlc_r -q64" --with-cxx="xlC_r -q64" --disable-ipv6 AR="ar -X64" It looks like it's not resolving symbols in readline. I originally
1
4267
by: | last post by:
I'm having a problem finding the cause for this problem. I have a solution in Visual Studio 2005 that contains two projects -- a Web Site and a Class Library. The web site references the class library. After the project became larger, the build process would sometimes fail with no errors. The "quick fix" for this was to rebuild the whole solution and things seemed ok. When this didn't solve the problem any longer, I went to the property...
1
2132
by: Ted Zeng | last post by:
Hi, I am new to Python. I am trying to build MySQLdb for my PowerPC PowerMac. I just downloaded the source last week and tried to build it. But I got the error messages as follow. I checked and there is no such files as mysql_config mysql.h my_config.h
6
7682
by: Soren | last post by:
Hi! I'm trying to extend my python program with some C++ code. Right now I've spent hours just trying to get boost to work! I'm trying to get the example hello.cpp to work. Using Windows XP and Visual Studio 8 (.NET 2005) I've set BOOST_BUILD_PATH = C:\boost\boost_1_33_1 (where i installed
0
1395
by: Darrin Thompson | last post by:
I've been trying to build pyOpenSSL on Windows with Visual Studio 2003. I've hit the message below: building 'OpenSSL.SSL' extension creating build\temp.win32-2.5\Release\src\ssl C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -Ic:\OpenSSL\include -Ic:\Python25\include -Ic:\Python25\PC /Tcsrc/ssl/connection.c /Fobuild\temp.win32-2.5\Release\src/ssl/connection.obj connection.c
5
7825
by: eranshuman | last post by:
Hi, I m very new to perl I m running an API which have the Buil.pl When Im compiling using perl Build.pl I was getting error : Can't locate Module/Build.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/li b .) at Build.PL line 5.
1
2009
by: Owen Zhang | last post by:
I am trying to build lxml package in SunOS 5.10. I got the following errors. Does anybody know why? $ python setup.py build Building lxml version 2.1. NOTE: Trying to build without Cython, pre-generated 'src/lxml/ lxml.etree.c' needs to be available. Using build configuration of libxslt 1.1.7 Building against libxml2/libxslt in the following directory: /usr/lib running build
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10172
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9967
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.