Task execute well with Msbuild but not in visual studio -


i strange behaviour in visual studio vs executing msbuild in command line.

a solution (s1) contains 3 project (p1,p2,pb). p1 , p2 "normal" vs project while pb xml msbuild file wrote myself. purpose of task pb contains modifying part of source code.

i did configure dependencies p1 , p2 depends on pb sure pb first project execute.

when compilation (pressing f6 key) in visual studio, files modified seems p1 , p2 start before modification result not expended. also, when in build console seems ok.

and when launch compilation via "msbuild s1", perfected !

how can have same behaviour between vs2010 , msbuild ?

thx

everytime build vs solution creates .sln.cache file wich quite csproj file every project have in solution.

thus modifying csproj files during build have no effect in current build (which uses .sln.cache file).


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -