Where is the default Settings file in a Visual Basic Project? - vb.net

I'm editing a Visual Basic application. I save some settings per user. I need to know where the application configuration is located in Solution Explorer.

If you are looking for the user settings strings, you can see them from the menu:
Project->[YourProject] Properties...
Then select 'Settings' at the side tab.
The project application configuration is under My Project in the Solution explorer, or the project window mentioned above, but the 'Application' tab.

Your settings are in Settings.settings file which is by default hidden in a VB.NET project. The file shows settings properties and their default values.
To show it you can:
Click on Project node in Solution Explorer
Click on Show All Files button on the toolbar
Open My Project node
Double click on Settings.settings to open it in designer
Alternatively as mentioned also by Jim, you can Right Click on Project node and choose Properties, then you can see the settings in Settings tab of project properties.

Related

How can I stop Rider from showing the .sln file or .csproj files when I select the solution or project in Rider's Explorer?

In Rider, when I select the solution or a project in its Explorer view, it automatically opens the .sln or .csproj file in the editor. While I sometimes want to look or edit .csproj files, that's the exception rather than the norm.
Can I disable this "feature" of Rider?
You can disable Autoscroll to source in the solution explorer settings (under the gear icon or via solution explorer toolbar).
We have a feature request to customize autoscroll behavior, feel free to track the status:
https://youtrack.jetbrains.com/issue/RIDER-17295
I hope I will find time and fix it in 2019.2 release cycle.

Is there a way to view the errors associated with loading a project file in Rider?

We have a large (466 project) visual studio solution. When using project rider, one of the projects doesn't fully load, and the solution explorer shows (with errors) after the project name. Is there anywhere in Rider to view said errors?
You have to open "Log" tool window:
Also you can run Rider in internal mode in execute "Reload project and show logs" context action from Solution Explorer. It that case Rider will reload a project, collect all information from MsBuild and show log file in editor.

Change the icon of a file with a .application extension

I'm building an application in vb.net/visual studio 2012. When I publish my application, the .exe file and some other files are uploaded to a server.
Publishing my application also generates a .application file. I can use this file to search for updates on my server and to automatically open the latest version of my application.
I want to change the icon of this file to the icon of my .exe file, but I don't know how. Is there any way of changing the icon of this file?
follow these steps:
Right click on the application name in the solution explorer
Select properties
Now you can see
now select Application---> change default icon to <..Browse..>
it will opens a new window from their you can browse apropriate .ico file and then publish the application
It turns out that the icon of the .application file, is not set by visual studio. It is the icon of the application that opens .application files: ClickOnce Application Deployment Support Library.
If I change the icon of that application, it will only change on my own pc and it will change the icon of all my .application files to the same one. So I think there is no solution.
Thanks anyway!

"Programs and Features" icon for Win application (deployed with ClickOnce)

Using Visual Studio 2012, I manage to publish a Winforms application and install it successfully on other machines, making it work nicely. Although, there are a few small details that I want to change.
The published application goes into the Start Menu inside a folder named after me. I suppose it's taking my Windows user name, I don't set it anywhere, it just happens by default. I wish I could define that.
(EDIT)
I solved the above issue: Project properties > "Publish tab" > Options and set the Publisher name: this is the name of the folder
(end edit)
When I look for the program in Control Panel > Programs and Features, it has a weird default icon instead of the one I defined (which appears correctly on the Start Menu)
So, how to set my icon on the Programs and Features as well?
(EDIT) -
I'm using ClickOnce apparently (thanks to #Crono)
Thanks
For changing application icon in Programs and Features, this answer might help you: Custom icon for ClickOnce application in 'Add or Remove Programs'
The trick is in adding a registry string value DisplayIcon pointing to the icon file. The value is located under Uninstall registry key of your application.

visual c# - Add visual web developer project as a reference

I want to create a winform/console application inside visual c# that uses class library project from visual web developer, how do I do that?
Thanks
Right-click on the references folder in the Solution Explorer pane
Click Add Reference in the menu that appears
Select the Browse tab
Browse to the file you'd like to include
Click OK
You're done! The file has been added to your references.