From: Wendy Elizabeth on 25 Jun 2010 22:46 I am asking for help on compiling a C#.net 2008 application since I have not been able to obtain a successful build with no errors yet. This application that we need to support has no documentation and the programmer(s) who wrote the application are not with the company any longer. This C#.net 2008 solution has lots of project files in it. You can compile this application in the following modes: a.debug, b. debug-test, c.debug-development, d. debug-production, e. release, and there is a class manager configuration file. I am getting errors like: 1. Error 33 The type or namespace name 'completionImport' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\username\My Documents\Visual Studio 2008\Projects\ TableAdapterManager.cs I can find the namespace in lots of different *.cs files. However I do not know what to do get get the correct *.cs file. I am guessing this has to do 2. Warning 2 Could not resolve this reference. Could not locate the assembly "Q.proxy". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. I know that the program would compile without the proxies but I can tell from the code that I will to use proxies like this. Thus can you tell me how to resolve this problem. 3. Can you also tell me know to figure out how to obtain a good build for this soltuion? Us girls at work have not seen a program like this before since our most recent experience is using Vb.net 2003. Thank you very much!
From: Peter Duniho on 26 Jun 2010 01:10 Wendy Elizabeth wrote: > [...] > I know that the program would compile without the proxies but I can tell > from the code that I will to use proxies like this. > Thus can you tell me how to resolve this problem. The error messages a fairly clear, and since none of us have access to the actual solution file and/or whatever libraries you may be trying to use, there's no way to provide any specific instructions. The bottom line is that, as the errors suggest, you appear to have not included the necessary library or libraries corresponding to the types you want to use, and possibly also are trying to use unqualified type names without having the necessary "using" directives to import the namespace(s) for the types. Once you look at what libraries are actually required and the types you're using, you should be able to add the necessary references to the project and/or the necessary "using" directives to the source files. Note that if you have simply attempted to copy a solution from somewhere, you may have failed to include all the necessary libraries it's dependent on. It may not be possible to fix the problems until you track down the libraries you need and include them with your solution or at least somewhere they can be used. Pete
From: Mr. Arnold on 26 Jun 2010 04:31 Wendy Elizabeth wrote: > I am asking for help on compiling a C#.net 2008 application since I have not > been able to obtain a successful build with no errors yet. > > This application that we need to support has no documentation and the > programmer(s) who wrote the application are not with the company any longer. > > This C#.net 2008 solution has lots of project files in it. > > You can compile this application in the following modes: > a.debug, b. debug-test, c.debug-development, d. debug-production, > e. release, and there is a class manager configuration file. > > I am getting errors like: > > 1. Error 33 The type or namespace name 'completionImport' could > not be found (are you missing a using directive or an assembly reference?) > C:\Documents and Settings\username\My Documents\Visual Studio 2008\Projects\ > TableAdapterManager.cs > > I can find the namespace in lots of different *.cs files. However I do not > know what to do get get the correct *.cs file. I am guessing this has to do > > 2. Warning 2 Could not resolve this reference. Could not locate the assembly > "Q.proxy". Check to make sure the assembly exists on disk. If this reference > is required by your code, you may get compilation errors. > > I know that the program would compile without the proxies but I can tell > from the code that I will to use proxies like this. > Thus can you tell me how to resolve this problem. > > 3. Can you also tell me know to figure out how to obtain a good build > for this soltuion? > > > Us girls at work have not seen a program like this before since > our most recent experience is using Vb.net 2003. > > Thank you very much! Are you sure you have the latest code for this application? Usually when you get the error #1, it means that a project is missing, the project is there but the code is not up to date for other projects that are making references to the project. Are you running out of memory, which can make the compiler not load all of the code during the compile? Are you trying to compile the entire application (all the projects) or a subset of projects based on a solution (.sln) file? If doing a subset of projects and not compiling the entire solution first will lead to error #1. Have you looked at the solution tree in the IDE, expanded the (References) for each project to see what is missing? Are you doing Project Reference for each project?
From: Wendy Elizabeth on 26 Jun 2010 14:11 "Mr. Arnold" wrote: You have kind of answered my question. The following are a few more items to mention: 1. In answer to your questions, according to subversion, the open-source version control software my company is using, I am using the current solution. 2. error 1- you are correct, I am I doing a subset of projects and not compiling the entire solution first. What difference does it make if I compile just one of the projects or the entire solution? Why would I need to compile the entire solution first and then compile a project by itself? For now, I am just trying to see if I could get anything to compile clean at first. 3. Are you doing Project Reference for each project? I do not know what you mean by this? Is this part of a a class manager configuration file? Can you tell me how to do a 'project reference' for each project? 4. Since I checked out this code from subversion, can you tell me how I can find the dll that some 'project files' are looking for? Thank you very much! > "Mr. Arnold" wrote: > Wendy Elizabeth wrote: > > I am asking for help on compiling a C#.net 2008 application since I have not > > been able to obtain a successful build with no errors yet. > > > > This application that we need to support has no documentation and the > > programmer(s) who wrote the application are not with the company any longer. > > > > This C#.net 2008 solution has lots of project files in it. > > > > You can compile this application in the following modes: > > a.debug, b. debug-test, c.debug-development, d. debug-production, > > e. release, and there is a class manager configuration file. > > > > I am getting errors like: > > > > 1. Error 33 The type or namespace name 'completionImport' could > > not be found (are you missing a using directive or an assembly reference?) > > C:\Documents and Settings\username\My Documents\Visual Studio 2008\Projects\ > > TableAdapterManager.cs > > > > I can find the namespace in lots of different *.cs files. However I do not > > know what to do get get the correct *.cs file. I am guessing this has to do > > > > 2. Warning 2 Could not resolve this reference. Could not locate the assembly > > "Q.proxy". Check to make sure the assembly exists on disk. If this reference > > is required by your code, you may get compilation errors. > > > > I know that the program would compile without the proxies but I can tell > > from the code that I will to use proxies like this. > > Thus can you tell me how to resolve this problem. > > > > 3. Can you also tell me know to figure out how to obtain a good build > > for this soltuion? > > > > > > Us girls at work have not seen a program like this before since > > our most recent experience is using Vb.net 2003. > > > > Thank you very much! > > Are you sure you have the latest code for this application? > > Usually when you get the error #1, it means that a project is missing, > the project is there but the code is not up to date for other projects > that are making references to the project. > > Are you running out of memory, which can make the compiler not load all > of the code during the compile? > > Are you trying to compile the entire application (all the projects) or a > subset of projects based on a solution (.sln) file? If doing a subset of > projects and not compiling the entire solution first will lead to error #1. > > Have you looked at the solution tree in the IDE, expanded the > (References) for each project to see what is missing? > > Are you doing Project Reference for each project? > > . >
From: Wendy Elizabeth on 26 Jun 2010 14:11 "Peter Duniho": You have kind of answered my question. The .net solution I have, I obtained from a subversion 'version control' open-source that my small company uses. I just checked out the .net solution to my desktop. I know that I need to add some dll refernces, but I need to be able to figure out where the DLL are located at. By the name of the DLL files, I know that I have the various namespaces I could use and compile. Where you do think the dlls would be located at? Would they be in the debug/bin directory or the release/bin directory? I know that one of the there is at least one 'custom' control that have been included in several of the projects in the solution. Do you have any ideas on how I could find the custom control, build them and then add them as a reference to the various projects? Thanks! "Peter Duniho" wrote: > Wendy Elizabeth wrote: > > [...] > > I know that the program would compile without the proxies but I can tell > > from the code that I will to use proxies like this. > > Thus can you tell me how to resolve this problem. > > The error messages a fairly clear, and since none of us have access to > the actual solution file and/or whatever libraries you may be trying to > use, there's no way to provide any specific instructions. > > The bottom line is that, as the errors suggest, you appear to have not > included the necessary library or libraries corresponding to the types > you want to use, and possibly also are trying to use unqualified type > names without having the necessary "using" directives to import the > namespace(s) for the types. > > Once you look at what libraries are actually required and the types > you're using, you should be able to add the necessary references to the > project and/or the necessary "using" directives to the source files. > > Note that if you have simply attempted to copy a solution from > somewhere, you may have failed to include all the necessary libraries > it's dependent on. It may not be possible to fix the problems until you > track down the libraries you need and include them with your solution or > at least somewhere they can be used. > > Pete > . >
|
Next
|
Last
Pages: 1 2 3 Prev: How to find other attribute value corresponding searced attribute Next: TFTP server |