Share via


.dll file not updated after rebuilding solution

Question

Monday, June 23, 2014 3:12 PM

Hi All,

I have an existing .sln file with all code available. When I double click the .sln file new project is opend in visual studio 2008. When I change the code and rebuild the solution, the .dll files are not updated in the bin folder. Instead, the .dll files are created in some C:/Users/AppData/Local/Temp/Temporary ASP.NET Files/...

I am not sure why this is happening. The ouput folder is set to right path where the .sln file is.

I am using Windows7 and VS 2008. I dont have admin rights. I read on the forum that admin rights can resolve the issue. My question,

Is admin rights mandatory, if not what might be other solution?

Thanks in advance.

Anirudha

All replies (4)

Monday, June 30, 2014 8:18 AM âś…Answered

@Anirudha,

>>My guess, it  is a Website application as when I open a webpage (.aspx file); an ASP.NET Development Server is opened with a localhost port number.

I doubt that it would be the website app.

>>I tried removing the reference and again adding the reference files, but issue didnt resolved. Also, when I right click on a reference file (.dll in my bin folder), there is no property tag/page; so I am not able to set Copy Local flag to true.

Ignore it if you are developing a website app, it doesn't have the same settings as other app like C# console app or others.

Not a real ASP.net expert, but I just create a default web site app, and then create a simple class library project, and then add the dll file as the references of this web site, if I clean and build the solution, the "Date modified" changed well, so it seems that it works well in my side.

Maybe you could clean and build your app, test it again(without Rebuild). In addition, Please also check your Configuration manager.

If still no help, maybe you could share us a simple sample, we will test it in our side. Thanks for your understanding.

Best Regards,

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.


Tuesday, June 24, 2014 1:45 AM

Hi Anirudha,

The forum supports VS setup and installation. Your issue is not about it. I will move the thread to the related forum for better support.

Regards,

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.


Tuesday, June 24, 2014 9:29 AM

@Anirudha,

Which kind of app are you developing, ASP.NET Web form app or web site app or others? Do you add the specific dll file as the references in your project?

If so, my suggestion is that you could remove the reference of this dll in your project, and then re-add it again.

If it is the Web site app, check the references of the website in solution explorer, right click the reference in question and select properties. Ensure that Copy Local is set to true.

>>I am using Windows7 and VS 2008. I dont have admin rights. I read on the forum that admin rights can resolve the issue. My question,

Is admin rights mandatory, if not what might be other solution?<<

The Admin rights would be related to your app, if it required specific permission, you need to run your app as the admin. So if you really want to make sure that whether it is related to the Admin, please test it in other machine you have the enough permission or you could get the admin permission in this machine, test it again.

If I have misunderstood this issue, please feel free to let me know.

Best Regards,

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.


Thursday, June 26, 2014 8:43 PM

Hey,

I am a beginner in .NET. How do I find out which is my app (Web form/Website)? I am just opening the .sln file. My guess, it  is a Website application as when I open a webpage (.aspx file); an ASP.NET Development Server is opened with a localhost port number.

I tried removing the reference and again adding the reference files, but issue didnt resolved. Also, when I right click on a reference file (.dll in my bin folder), there is no property tag/page; so I am not able to set Copy Local flag to true.

Let me know if you need any other information. Pretty stuck at the same point from past couple of days.