class library will not be build/rebuild unless folder deleted


hi guys!

i have problem in visual studio. not sure whether c# problem or visual studio in general (i have not tried vb see if problem occurs there). problem follows: when have class library , want build again (or rebuild it) dll file found in bin\debug folder not replaced newly built library!

if delete files in bin\debug folder, when build/rebuild carried out, files appear were. way new build placed in directory delete bin\debug directory itself! not doing clean build resolve - reverts previous build.

whilst isn't end of world, , can still on work, i'm sure can understand it's annoyance having everytime build/rebuild!

anyone have idea why might be?

cheers,
nick

ms employees mark posts have potentially been answered answered.  (almost) never mark own posts.  ms because many folks don't ever bother mark posts answered.  not sure why.  let's problem though.

the missing template mentioned item template rather project template.  project templates create new projects.  depending upon vs edition expect see things asp.net web service, asp.net web site, asp.net web application, etc.  item templates added existing project , include things new classes, datasets , user controls.  out of curiosity type seems have disappeared?  aware templates filtered based upon selected project type, target platform, .net version and language being used.

for missing templates (projects or items) can confirm whether still on disk or not.  project templates (for c#) stored @ <vsdir>\vc#\csharpprojects.  item templates @ <vsdir>\vc#\csharpprojectitems.  templates can come quite few different places not templates stored here.  web templates, example, come <vsdir>\web.  office , sql store templates elsewhere.

btw version, edition , sp of vs running?

now let's move original problem might unrelated.  rebuild or clean/build doesn't rebuild project unless first delete debug folder?  in case binary has coming somewhere else.  let's first clarification.  type of assembly building?  web site, web application or class library?  if modify source code build work or still have delete folder first?  target folder isn't being shared and/or used iis it?

michael taylor - 10/10/08
http://p3net.mvps.org


Archived Forums V  >  Visual C# IDE



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'