When I build or run my solution in visual studio 2005 I get build error

Hi,

 It may be little weird but just want to give you little bit inside of my environment and then error discription .... bear with me

Architecture of my Solution:

My solution contains following projects 

1. Class Library for business objects and other validation objects.

2. Asp.Net Website 

Scenario :

My solution is on TFS. All other team members using same code (obvious)!

But when I build code on my machine and try to run solution it gives me error.

But if I build or try to run second or third time then its start successfully and I can use website on local host.

 

Error(s):

1. Pop-up Appears:

" There was build error would you like to continue and run the last successful build"

 

2. Error in error list

"Object reference not set to an instance of an object" 

 

 

This error is not causing any harm but bad thing is every developer has to run application 2 or 3 time that is really bad.

I am curios why this error occurs?

Looking forward to hear from you!

 

Thanks in advance 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Imran
0
Imran21027
7/11/2008 8:04:44 PM
asp.net.visual-studio-2005 7760 articles. 0 followers. Follow

3 Replies
885 Views

Similar Articles

[PageSpeed] 6
Get it on Google Play
Get it on Apple App Store

Hi,

If we rebuild your solution, does it have the issue? If the code is not changed and the project is not out of date, Visual Studio doesn't build your project, it will launch the old version build.

You can try to set Visual Studio to build the solution when it is out of date (Tools -> Options -> Projects and Solutions -> Build and Run -> Select "Always build" under "On Run, when projects are out of date" and " Do Not Launch" under "On Run, when build or deployment errors occur").

 

I look forward to receiving your test results.

 


Thomas Sun
Microsoft Online Community Support

Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
0
Thomas
7/15/2008 10:54:11 AM

Thanks Thomas!

I did as you told me to do and now I am not getting Error which I explained above!

Once again thanks a lot1

 

Regards

imran 

 

 


Imran
0
Imran21027
7/15/2008 2:56:37 PM

Sorry thomson!

 

I donot know how to connect this text to previous thread of post...

 

Anyways....

 

I am getting same error even though I tried with your method....


Imran
0
Imran21027
7/15/2008 9:11:08 PM
Reply:

Web resources about - When I build or run my solution in visual studio 2005 I get build error - asp.net.visual-studio-2005

Solution - Wikipedia, the free encyclopedia
In chemistry , a solution is a homogeneous mixture composed of only one phase . In such a mixture, a solute is a substance dissolved in another ...

Solution to overheating lithium-ion batteries close: study
The problem of lithium-ion batteries overheating – the likely cause of the hoverboard fire that destroyed a family's home last week – ...

Kuwait Oil Company opts for Cisco Security Solutions for high-security network
Al-Bawaba Kuwait Oil Company opts for Cisco Security Solutions for high-security network Al-Bawaba Cisco today announced that Kuwait Oil Co. ...

Conexant Announces New Audio Processing Solutions At CES
At CES, Conexant gave me a demo of some of the audio processing technology that they've been working on. Conexant is a company that probably ...

Why is Compromise Always the Best Solution?
... what I want, or at least compromise so I get a little of what I want while you get nothing." For years, I've been taught that 'win-win' solutions ...

Latvian Bike Parking Solution Bindio Launches On Kickstarter
... of all active riders have had their bicycles stolen, and only 2.4% are ever retourned. Young entrepreneurs from Druagiem Group propose a solution ...

CounterPath Achieves Cisco Compatibility Certification With the Cisco Solution ...
CounterPath Achieves Cisco Compatibility Certification With the Cisco Solution ... Benzinga VANCOUVER, BRITISH COLUMBIA(Marketwired - Jan. ...

Samsung Announces New Retail Solutions for a Connected Experience at Retail’s BIG Show 2016 – National ...
Samsung Electronics America, Inc. today at the NRF BIG Show 2016 announced new solutions designed to empower retailers in real-world environments, ...

Film mogul has solution for making Oscars controversy "go away"
Tyler Perry, Whoopi Goldberg and George Clooney among stars weighing in on lack of diversity on Hollywood's biggest nights

FATHOM Combines Big Data And Software Technology To Drive Water Solutions
... same time struggling with reliable clean water delivery. Enter [&hellip FATHOM Combines Big Data And Software Technology To Drive Water Solutions ...

Resources last updated: 1/20/2016 6:41:51 PM