Hi,
I am using C#.NET1.1
My solution is having different projects
How will I know My solution path like(Applicatio n.startupPath) this is
for Individual projects this will gives upto their corresponding EXEs.
But I need the path like Only the Main solution.
Thanks for giving the great Inputs
*** Sent via Developersdex http://www.developersdex.com *** 3 8600
Once compiled, there is no concept of solutions, so you can't get this at
runtime.
At build time in VS, however, you can (in pre-build / post-build events) use
the macros $(SolutionFileN ame), $(SolutionPath) , $(SolutionDir) and
$(SolutionName) .
I've never tried them, however; I always think of projects (mapping to
assemblies) as the key item, not solutions.
Perhaps if you could indicate what you are trying to achieve there might be
a better answer?
Marc
Hi,
I'm not very sure what you are asking, is your problem at runtime or at
compile time?
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Kondapanai du" <kondapanaidu > wrote in message
news:eC******** ******@TK2MSFTN GP04.phx.gbl... Hi,
I am using C#.NET1.1
My solution is having different projects
How will I know My solution path like(Applicatio n.startupPath) this is for Individual projects this will gives upto their corresponding EXEs.
But I need the path like Only the Main solution.
Thanks for giving the great Inputs *** Sent via Developersdex http://www.developersdex.com ***
Kondapanaidu,
Solutions exists only at compile time. When you build your application and
deploy it on the target machine there is not a trace of any solutions or
project files. Working folder and target folder (after deploying) as well as
the file structure of your solution and the final product in most of the
cases are different.
Further more it is good practice to limit your application to access only
the files, which are placed below the application's root folder + isolated
storage and the temp folder.
--
HTH
Stoitcho Goutsev (100)
"Kondapanai du" <kondapanaidu > wrote in message
news:eC******** ******@TK2MSFTN GP04.phx.gbl... Hi,
I am using C#.NET1.1
My solution is having different projects
How will I know My solution path like(Applicatio n.startupPath) this is for Individual projects this will gives upto their corresponding EXEs.
But I need the path like Only the Main solution.
Thanks for giving the great Inputs *** Sent via Developersdex http://www.developersdex.com *** This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ramon M. Felciano |
last post by:
Helo all --
I'm trying to gain a deeper understand for what type of
semi-declarative programming can be done through XML and XPath/XSLT.
I'm looking at graph processing problems as a testbed for this, and
came across a problem that I haven't been able to solve elegantly. The
problem is to find "linker" vertexes that a pair of verteces from a
pre-defined set. For example, if the graph verteces represent cities
and edges represent flights...
|
by: Sorin Dolha |
last post by:
Hello,
We intend to create an ASP.NET-based Web application (hosted on Internet
Information Services, or IIS) and one feature of the application needs to
allow the end user to upload photos to the server.
However, our customer requests that both of these two objectives to be
supported by the design of the solution:
1. The photos should be encoded as JPG, and resized (if larger than a
|
by: vbdotnetmania |
last post by:
Hi,
Is there a property to find the path of the solution, I've found a few
properties that give you the executable path i.e. Application.StartupPath
etc. and I know i could just parse this to remove the binand get what i am
looking for but I thought there might have been some property to get the path
of the solution directly. Anybody have any ideas.
Any help would be great
|
by: enrique |
last post by:
Hello everyone,
I'm looking for a "directory path" solution that will allows me to test my
app locally and then test on remote web server without having to update my
web.config file each time I modify the file. In other words I'm storing the
paths (for centralizing purposes) as custom <appSettings> in the web.config.
expample (for local testing):
<add key="imagePath" value="http://localhost/app_folder/10_media/images/" />
|
by: kai |
last post by:
Hi,
I use XP Pro and VS2005. I find when I create a new Website, I only see the
Project node not Solution. After I add sedcond project under the solution
tree, then I see the solution node.
How do I setup VS2005 to see the solution node after I create the first
project without adding the second project in the same solution?
Thanks
| |
by: Tom |
last post by:
Hi:
I'm using the Leban's ReportToPDF solution and have encountered a small
problem. I'm calling the code using the following:
Call ConvertReportToPDF(strReportName, , , True, True)
Where strReportname is the name of the report being printed.
I would like the Dialog box to be shown to allow the user to select a
|
by: Mountain |
last post by:
I would like opinions on whether this solution could be important and
whether anyone knows if it is already solved. (I would also like to
know if anyone thinks it cannot be solved.)
First, we start with a general tree (any of the trees that my data
structures book calls rooted trees or unordered trees). Then we are
given two specific nodes (Na and Nb) that belong to that tree.
We would like to know if the second node (Nb) is an...
|
by: John Kotuby |
last post by:
Hello all,
Note: This is the full version of a Post that I inadvertently sent before it
was complete.
About a year ago I wrote a VB.NET 2003 solution that consists of a number
of assemblies (1 EXE and 15 DLLS). As I recall, in order to deploy the
solution to a testing server I simply copied the contents of the Bin folder
in the development area where the compiled assemblies reside. Be patient
with me here, because I haven't used...
|
by: aling |
last post by:
I create ASP.Net 2 website project in VS 2005, but the solution file
always uses absolute path in PhysicalPath attribute. I want to copy
the website project anywhere, so the absoluted path not wanted. But
when I changed the PhysicalPath attribute in solution file, I can't
open it in VS 2005.
Anyone can tell me how to modify the PhysicalPath attribute in
solution file to use relative path?
Thanks.
|
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,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |