We have recently upgraded to VS2010 (10.0.40219.1 SP1Rel) and ILOG Rules For .net 7.1.1.4 (x64). Now the following can occur:
This happens with large solutions (~60 csproj's with ~15 rulep's). This happens with smaller solutions (6 csproj's with 1 rulep).
We've started taking extreme dev measures to avoid the references dropping (unload all rulep's when debugging and close/reopen VS2010 after debugging).
Is there something in our projects or software setup we can change to stop the project references dropping?
Update: while engaging the Debugger is a reliable way to get the "refactoring rules/reference dropping" problem to occur, it also happens occasionally just by closing a file - without using the debugger.
I've awarded the first bounty, and am willing to set up a second bounty if someone comes up with an answer that can be accepted.
Workaround: We have three solution files
Devs can safely debug that third solution which has no rulep files for VS to mangle.
To fix a broken project reference by correcting the reference path. In Solution Explorer, right-click your project node, and then select Properties. The Project Designer appears. If you're using Visual Basic, select the References page, and then click the Reference Paths button.
A project reference is a link from the current Studio project to another project. The reference makes certain resources in the referenced project become available for use in the current project.
Restart Visual Studio, create a new C# UWP app project, and then right-click on the project and choose Add Reference. Go to the Windows tab, then the Extensions sub-tab, and select the Extension SDK. Look at the right pane in the Reference Manager. If it has dependencies, they will be listed there.
Anyway, just to have more control ever the issue, maybe you can put your projects/solution under source control, and configure Visual Studio so that it ask permission for any files check-out?
So you'll be asked when something try to modify the project reference (or any other files under source control), and you'll have the option to refuse any unwanted modification.
I know nothing about "ILOG Rules For .net" and where/how it store it's rules configuration, so maybe this approach wont work in your situation. If this is the case, please ignore my answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With