473,386 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

bin/*.dll file missing method after build and rebuild

Hello,

I inherit a website and it was written in an old version of VS (I have vs express 10), when i try to load the solution it try to convert it to compatible vs 10 version with no success.

then I added the website into the empty solution.

I added some member functions (C#) and then try to build it, but got the following error

Error 63 'ASP.admin_categoryedit_aspx' does not contain a definition for 'test' and no extension method 'test' accepting a first argument of type 'ASP.admin_categoryedit_aspx' could be found (are you missing a using directive or an assembly reference?) C:\Users\Dvir\Documents\My Web Sites\IstrubalNew\admin\CategoryEdit.aspx 16 18 C:\...\IstrubalNew\

then i look inside the dll to see that the new function was not added ("test" function) i try to delete the dll file and complie again, no success.

anyone have idea about how to add my new function into this old DLL file ?

I'm adding an iamge to shade more light on my problem

http://i52.tinypic.com/34ifcyx.png
Jun 18 '11 #1
1 2384
Frinavale
9,735 Expert Mod 8TB
You can't add code into a compiled DLL.
But, you can write a new DLL that includes the old DLL.

Start a new project, include the old DLL into this project. Add a new class to the project and in that class be sure to import/use the old DLL.

Now you can expand upon the existing code.

-Frinny
Jun 23 '11 #2

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

Similar topics

0
by: Tim Richardson | last post by:
I am attempting to copy some files from one machine to another. I am having difficulty with the File.Exists() in the code below. The program enumerates the files in a directory, checks them...
1
by: Mikkel Faarup | last post by:
Hi All I have run into a problem using NANT. When building with NANT and local characters like æ ø å are used in file- and method-names NANT reports an XMLParser error? VS.Net builds fine...
6
by: John Gabriel | last post by:
I have been obtaining the following error in the output window of the IDE: 1>mt.exe:general error c101008d:Failed to write the updated manifest to the resource of file "..\debug\test.exe". The...
0
by: hy | last post by:
Hi all, I got a problem to restore back the selected upload file after i fired a radio button that will call the server script to do the process. In my aspx page, i have an upload textbox to...
4
by: Brian Hanson | last post by:
Hi, I have a problem that is sporadic and am thinking it may come down to a timing issue. I have an asp.net (vb) app that used the system.io.file.copy method to copy a .pdf file from a network...
2
by: Jul | last post by:
File.Copy Method does not let use template for copying files, I can not use File.Copy("C:\ABC\*.txt", "C:\XYZ\*.txt") but I need to use such way: File.Copy("C:\ABC\1.txt", "C:\XYZ\1.txt")...
2
by: Raymond Du | last post by:
Hi, I am working on a VB.Net window application, the application use System.IO.File.Delete method to delete files, can those deleted files be restored? TIA
1
by: ashishnh33 | last post by:
Hi,can anyone please tell me the algorithm of contiguous file allocation method..thanks
1
by: =?Utf-8?B?QmxhaXI=?= | last post by:
I have an Windows forms application that uses the File.Copy method to copy several files from a network file share to a folder on the local PC (the PC running the windows form application). The...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.