|
If you have Visual Studio why are you using MSBUILD? Open the project in VS and built it. Either way there should be a list of errors, either in teh output window or in log files that indicate why the project can not be built.
Also, if you both have VS2008 then you both have (or should) the same .NET Framework.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi,
The project is building using Visual Studio on my machine but when I use MSBuild its not building. Thats my problem. The same project when I check in he downloads on his machine it builds using MSBuild. My Build query is : msbuild HrxBuild.xml /p:Environment=QA2.
The error that its giving is Solution File Error MSB11504: File format version is not recogninsed. MSBuild can read the solution files between version 7.0 and 9.0 inclusive.
Error MSB3073: The Command "msbild /t:Clean /P: Configuration=Debug.XXXX.XxxxXpress.sln exited with code 1".
Please help me in this regard.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
Well you have all of the information you need. What version of MSBuild are you using? Obviously not the same one VS is using. Again, why are you using MSBuild to begin with?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Possibly, it might be a Build Machine (Wild Guess).
We do have the same setup in my work place. They BNR uses MSBUILD only.
|
|
|
|
|
You don't need visual studio for msbuild, it is part of the sdk.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Mark Nischalke wrote: You don't need visual studio for msbuild, it is part of the sdk.
Yes, I know. May be he don't know.
|
|
|
|
|
Dear Experts,
I want to chage the password character in TextBox to *. How can i do that. Any ideas, suggestion are much appreciated.
Thanks in advance.
Note: I have found some javascript in google search. but is there any other options?
|
|
|
|
|
If you're using Visual studio then TextBox have a property called TextMode.
You could set Password there.
|
|
|
|
|
i have made that,
<asp:textbox id="TextBox1" runat="server" textmode="Password">
My requirement is in that textbox when i type, BLACK DOT is coming. Instead of that i need *.
|
|
|
|
|
Ok.
But I think this is browser specific and you could off course change it using JS tricks, But I think that's not recommended as sometime JS problem can make your password seen by others clearly.
You could check THIS[^] thread for accomplishing it with Js.
Thanks
|
|
|
|
|
|
Page_load function make dynamic control which is ImageButton(img) also i give control id.
But when PostBack is occured, i can't dynamic control ID.
How can i find out dynamic control ID?
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ImageButton img = new ImageButton();
img.ID = "123";
form1.Controls.Add(img);
ImageButton imgs = (ImageButton)FindControl("123");
}
else
{
imgs get null value but Page.FindControl("form1") gets valid value.
ImageButton imgs =(ImageButton)Page.FindControl("form1").FindControl("123");
ImageButton1.Click += new ImageClickEventHandler(this.clickAddbtn);
}//else
}
hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|
|
When posting code snippets please remember to use the "code block" toolbar item to wrap them in pre tags. Edit your post.
Since the control is being created dynamically it must be recreated each time the page loads. You should move this logic out of the page load event and create a separate method that creates the control for a better design.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Thank you for answer.
But i need to show list of member.
So i need to show list when Page_load.
Is There any way to get dynamic control id when post back?
hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|
|
buffering83 wrote: Is There any way to get dynamic control id when post back?
You create the control, you have it and the ID.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Your question is not quite clear as of you mentioned of poor English of yours. So that It can be little misunderstanding but AFA I understood the question I can give you following reply.
I am in confuse of Either you want to generate dynamic control ID or you want to find that control ID.
So It's clear from your code that assigning global variable can make some work for you, by that any name you're assigning inside IF loop that will be stored in a global variable and you can find that ID whenever you wanted. or if you want to make that control ID accessible from anywhere then you can have static variable.
Sorry If I am getting you wrong.
|
|
|
|
|
hi,
I need to show reminder for every user through our application.If it Is Possible with windows service?. Could you please suggest me a better way.
regards,
vishnu.
|
|
|
|
|
vishnukamath wrote: I need to show reminder for every user through our application.
What type of application you're talking about ?
vishnukamath wrote: If it Is Possible with windows service?
If it's regarding windows service then Ask in Appropriate forum like Windows forms or C#
Your question is not clear.
|
|
|
|
|
|
I don't need the help regarding, Please reply to the post as a reply to OP.
|
|
|
|
|
hi
i am having a web parts and those web parts are working fine when i run from my solution and not working when i deploy to server and accessing those web parts. after spending time on reading some articles i got that the personalization data's are getting saved in aspnetdb database, i have run installpersonalization.sql in my development database its giving same functionality as it should be.
i have customized my database with those script tables and procedures, still i am not able to access web parts functionality when i am accessing server link, it may be because of authentication anonoyms in iis, my query was how to get access of web parts when i am accessing through server after deployment.
how to configure web parts in anonoyms user.
thanks..
|
|
|
|
|
|
|
If your database file is inside a datadirectory then you can use.
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\myDatabase.mdb;Persist Security Info=true"
See HERE[^] for more.
|
|
|
|
|