How to view .sdf content from within Visual Studio - visual-studio-2017

My question is really similar to how to open *.sdf files? but my question is specific how I can view it in Visual Studio
I've added a data connection to my server and as such, I can see the option to browse my database as if I were on SSMS, but within the Server Explorer pane of Visual Studio. This is jolly useful.
I'd like to open an .sdf from within the Server Explorer pane of visual studio. I have downloaded the SQLite/SQL Server Compact Toolbox from https://marketplace.visualstudio.com/items?itemName=ErikEJ.SQLServerCompactSQLiteToolbox
When I expand my CE database, I see the list of tables, but only an option for refresh and one for properties. No option to edit the content or change the design. Is this possible?

Hans Passant's comment put me on right path
I was unable to achieve what I wanted in the Server Explorer Pane, but I could do what I wanted in the SqlLite/Sql Server Compact Toolbox pane. To get this, Tools -> SqlLite/Sql Server Compact Toolbox

Related

TFS 2018 build definitions are not visible in vs2017 under Team Explorer panel

I am working with migration of TFS from 2013 to 2018. I just noticed that "Build" and few other tabs are missing Team Explorer panel and tried to search on internet and did not find anything helpful. If someone has any idea why build tab is missing then please guide me to bring it back. However, on web portal, I am able to see the build definition. I am using VS2017/TFS2018.

How to publish a website in Visual Studio 2017

I am migrating from Visual Studio 2008 to VS 2017.
In 2008 I had a menu item: Build -> Publish Website.
I configured that to put the website on a share on the webserver so I pretty much could use that menu item to deploy to the test server so the users could test.
I cannot find that menu option on 2017.
The functionality seems to be moved to the Publish Web Site Tool described here:
https://msdn.microsoft.com/en-us/library/377y0s6t.aspx#thepublishwebsiteutility
I can not find how to install this. I can not find it in the Visual Studio Installer utility.
I can find instructions for publishing, but those instructions include creating the project from scratch. I need to do this on an existing project.
Visual Studio 2017 has these features from the Build menu...
Or, right-click your project...
A wizard will start asking how you want to publish your project. There is ample documentation for this on the web.

VS2017 Web Publish Preview - unable to exclude files

When publishing a web application in Visual Studio 2017 Enterprise I can do a preview on the files that are changed by clicking the preview link. The window comes up and I can uncheck files I dont want BUT, there is only a cancel button, and I am not able to update the file list.
There use to be the ability to click Publish from that view to only update the selected files but now that is no longer the case.
Is there an alternative "tools" way in Visual Studio 2017 Enterprise to publish and exclude certain files from being updated for example the web.config?
I don't have an alternative tool however according to the forums this has been patched and will be deployed in the next public release (15.3).
https://developercommunity.visualstudio.com/content/problem/26373/publish-preview-not-allowing-selective-publish-of.html
I've been getting around this by copying the files that I don't want and replacing them back after I publish.
I can confirm that this has now been fixed as of the latest update 15.3 which was released this week

Web Essentials 2017 not showing up in VS 2017

I've installed Web Essentials 2017. When I open Visual Studio Enterprise 2017, it shows as being an installed extension, and "Reset Web Essentials" shows on the tools menu, but there are no settings that I can see. Shouldn't a settings dialog box be available somewhere?
Also, I thought if I create a .less file, open it, then save it, .css and .min.css files should immediately show up below the less file. That doesn't happen.
Additionally, the Web Essentials toolbar doesn't appear in Edge when I run a website from within Visual Studio. Hitting Ctrl doesn't make it appear.
What's going on here? Looks like Web essentials didn't install correctly and isn't working.
Clicking Tools->Reset Web Essentials fixed it. It looks like that just reinstalls it. Although I had already uninstalled and reinstalled, this worked.
There still doesn't appear to be an overall Web Essentials settings dialog box under tools. It appears that since it was broken up into individual components rather than one huge plugin, each plugin has its own little popup menu now, and a few of them show up when you right click on the Project.
According to this link it was removed for few reasons. To fix it you have to download the chrome extension and also download the Browser Link Inspector
I had the same issue with extension downloaded from the web.
So i installed it from the marketplace and it works just fine.

ELMAH does not work after moving to a new server

I made a complete copy of the old web application.
Copied it to the new server.
Made appropriate SQL Server changes and it does not work.
ELMAH Version: v1.0.3705
OS: Windows Server 2012
IIS 8
I believe I found your answer. You need to grant your IIS AppPool permission to modify (or write) to the path you have instructed ELMAH to write the XML. To do this, bring up Windows File Explorer, locate the path and folder where ELMAH is writing those XML, right click to get folder menu and select properties, locate and click on the tab labeled SECURITY, and follow the instructions described in this URL:
http://www.iis.net/learn/manage/configuring-security/application-pool-identities