We recently upgraded to VS2010 (10.0.40219.1 SP1Rel) and ILOG rules for .net 7.1.1.4 (x64). Now the following may happen:
- Open the solution.
- Project debugging
- Stop debugging.
- Close the file (for now: app.Config and Program.cs)
- Check out the Refactoring notification window.
- Give up horror when the first link to the project of each rulep file is deleted.
This happens with large solutions (~ 60 csproj with ~ 15 rules). This happens with smaller solutions (6 csproj with 1 rule).
We began to take extreme measures to avoid resetting links (unload all rulep during debugging and close / re-run VS2010 after debugging).
Is there anything in our projects or software settings that we can change to stop resetting links to the project?
Update: when you start Debugger, this is a reliable way to cause the "refactoring / dropping links" problem, sometimes it also happens by closing the file - without using a debugger.
I have awarded the first award, and I wish to create a second award if someone comes up with an answer that can be accepted.
Workaround: we have three solution files
- A solution file with everything in it for the build server.
- Solution file with only the rule and their dependencies. Devs build it once to get .dll for rulep's.
- Solution file containing no rulep projects. Projects requiring a rulep dll have a pre-build event that copies the dll to their folder and the assembly link for this location. A little battle is needed to create both debug and release builds.
Devs can safely debug this third solution, which does not have rulep files for VS to cripple.
Amy b
source share