How can we help you today? How can we help you today?
davejhahn

Activity overview

Latest activity by davejhahn

I added debug logging and it says "Cannot save <view file> because it is not open in the editor".  Not sure what that means, I did try leaving it open in VS, but the same error.  Details below, with sensitive information X'd out: 025188|2018-11-27 19:45:04.853|ERROR|RedGate.Versioning.Client.VsShell.VisualStudio.ShellIntegration.VisualStudioFileEditor|1|Could not save project file requested: C:\Git\database\XXX\Programmable Objects\dbo\Views\XXXXXXXXXX.sql System.InvalidOperationException: Cannot save 'C:\Git\database\XXX\Programmable Objects\dbo\Views\XXXXXXXX.sql' because it is not open in the editor.    at Microsoft.VisualStudio.Data.Tools.Package.Project.Internal.HierarchyNode.SaveItem(VSSAVEFLAGS saveFlag, String silentSaveAsName, UInt32 itemid, IntPtr docData, Int32& cancelled)    at Microsoft.VisualStudio.Data.Tools.Package.Internal.OAFileItem.<>c__DisplayClass13_0.<DoSave>b__0()    at Microsoft.VisualStudio.Data.Tools.Package.UI.DataPackage.<>c__DisplayClass114_0.<DoOnUIThread>b__0()    at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke(Action action)    at Microsoft.VisualStudio.Data.Tools.Package.UI.DataPackage.DoOnUIThread(Func`1 callback)    at Microsoft.VisualStudio.Data.Tools.Package.Internal.OAFileItem.DoSave(Boolean isCalledFromSaveAs, String fileName)    at Microsoft.VisualStudio.Data.Tools.Package.Internal.OAFileItem.Save(String fileName)    at RedGate.Versioning.Client.VsShell.VisualStudio.ShellIntegration.VisualStudioFileEditor.Save(FileInfo file) And for all of the programmable objects that should not be deployed, there is no indication to me why, every object just has a line such as (again sensitive information X'd out): 025188|2018-11-27 19:45:08.100|DEBUG|RedGate.Versioning.Engine.Interaction.ProjectManipulation.MigrationLoad.MigrationLoader|71|Loading DeployChanges migration: Programmable Objects\dbo\Views\XXXXXXX.sql So I seem to have two problems, both seem like bugs to me, unless I'm doing something wrong. Thanks, Dave / comments
I added debug logging and it says "Cannot save <view file> because it is not open in the editor".  Not sure what that means, I did try leaving it open in VS, but the same error.  Details below, wit...
0 votes
Programmable objects deployed even though mark as deployed set
Running into an issue and not sure why...When deploying, the programmable objects are being deployed, even though below is set and it shows nothing being included:Sequence I went through:1. Restore...
2 followers 4 comments 0 votes
Compare Options in Visual Studio SQL Change Automation
Is there a way to use the SQL Compare options in a Visual Studio SQL Change Automation Project? The problem I am having is that I have users and groups, which I can exclude using the Filter, howeve...
2 followers 2 comments 0 votes
For what it's worth, if you right mouse click on the DB project in solution explorer, it does NOT do this, but if you use the route Project->DatabaseXYZ Properties it does. Seems like it might be a bug?  / comments
For what it's worth, if you right mouse click on the DB project in solution explorer, it does NOT do this, but if you use the route Project->DatabaseXYZ Properties it does.Seems like it might be a ...
0 votes