I need to create a stand alone EXE
of a solution. This solution contains two
projects i.e:
- A-project (set up as start)
B-project (A web services)
B-project uses a external
DLL
which is reside on sameB-project
folder. Above solution runs perfectly after building it. Now i want to create a stand aloneEXE
. So that i can sell my product for commercial use (in my school).
To do this i have performed following points:
- Add a new project(
SETUP Project
) in the solution withtest
name. - Now add
project output
and chooseA-project
from theproject
drop down. - Then i do the same for the
B-project
i.e. Addproject output
and chooseB-project
from theproject
drop down. - Check the
.net framework 4
dependencies which was fine. - Build it.
- Install it.
I went to the my program files
directory and run test.exe
with run as administrator, and try to open the web services URL
.
I got to know that web services
runs perfectly but when i enter the url it returns me Request error
which happens when the method written in instance class
didn't execute perfectly. In my project the method written in Instance class
called the externall dll
.
How should i link that dll with my EXE
. so that it runs perfectly fine?
Should i change the path in code?