|
|
|
Hello ,
I would like to ask if its possible to compile a project (for example a win.form projet) so that for example one of the directories in it (lets call it library.dir) would compile to dll . So the output would be a startable exe with library at the same location . Dunno if this is possible but it would help me alot ! Thanks in advance ! (Using MVS 2010)
|
|
|
|
|
You can split your classes out into different projects. Each project will compile to its own file (for example, EXE or DLL).
|
|
|
|
|
Your post doesn't make any sense, but a single project can compile only to a single type of output. You cannot compile a class library into both a .DLL and .EXE output. You can only do one at a time.
Now, it is possible to add a second project that will use the .DLL project as a reference and can be saved to the same folder as the .DLL project. Then you can compile the entire solution (both projects) and get both the .DLL and .EXE outputs.
This is a bit of a paint to configure and maintain so I'm wondering what the motivation is behind this?
|
|
|
|
|
I m trying to find a good way to maintain my project the easyest way . Since i know i only will need to update the DLL (we ll mutch more than the actual .exe) i wanted to do it somehow "smart" but since its like this ... nwm . Thanks for your time guys .
|
|
|
|
|
In future, try to reply to the people who answered you, instead of your own message. That way they get an email. If you reply to your own message as you did here, nobody does.
It speeds things up as people don't have to check back to see if there are any updates.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
Oh god i m so sorry. Didnt know it since i m new here . Thanks for the typ !
|
|
|
|
|
No problem!
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
Didn't know why this was downvoted even if the advice makes sense. Voted 5.
Ignorance of the ability brings disability.
|
|
|
|
|
how can i convert ascii (1633) : "1" to int?
it make "unexpected character" exception.
|
|
|
|
|
What code have you tried?
|
|
|
|
|
ASCII is a 7-bit character set, its values range from 0 up to 127.
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
"1", "6", "3", and "3" are all ASCII characters. Still, I suspect, as I suspect you suspect, that the OP meant to say "string" rather than "ASCII".
|
|
|
|
|
Actually, I am confused why the OP mentions 1633 and then "1".
|
|
|
|
|
So his confusion is contagious, is that what you are saying?
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
|
|
|
|
|
|
|
It's real hard:
string one = "1";
int value;
int.TryParse(variable, out value);
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
Have a bit more patience with newbies. Of course some of them act dumb -- they're often *students*, for heaven's sake. -- (Terry Pratchett, alt.fan.pratchett)
|
|
|
|
|
if you exactly copy (1) from the site and past it into string one then it will throw exception.
|
|
|
|
|
That is a different issue; try showing your code.
The best things in life are not things.
|
|
|
|
|
for example :
int i=int.Parse(١);
|
|
|
|
|
Is that character a number in another language? If not, then you are doing it wrong. Are you trying to get the character code (1633) of that character (١)?
|
|
|
|
|
string str = "١";
int val = (int)str[0];
MessageBox.Show(val.ToString());
|
|
|
|
|
why filling data about 100000 in gridex(janus) is slow . i mean the the loading data in very slow and also take the CPU rom and get the system to hang?
From Hamid Pizi........
|
|
|
|