Getting Error in publishing a C# winform app - c#

When I go to Project Properties/Publish tab this error is being shown I have searched it alot but nothing valuable is found, Thanks in Advance.

Updating Visual Studio should work, if not then Reinstalling Visual Studio will be required.
Windows 7: Go to Add and Remove Programs, find Visual Studio Installer (+year)
and choose 'change'. Once the window opens, click 'modify'
The default update options should be fine, simply click 'Modify'/'update' in the bottom right corner. Your project should be able to open the publish page after it finishes.

Related

Visual studio community 2019 version 16.6.2 is missing the build tab in the menu any way to fix it?

I'm using it with unity in unity editor I did double click on a csharp script and it opened the visual studio. Could be the problem is that it's the regular visual studio and not the unity visual studio that I downloaded and installed ?
The Start Debugging is grayed out I can make only Attach but sure what is going on.
No build menu options nothing.
and before I saw the solution window and there was only the solution properties there not the project properties.
I was facing the same issue
Close the project and open its location in folders and then right click on it and click on -Open with - Visual Studio 2019
It resolved my issue.

Visual Studio is opening with multiple solutions when I only want one

I am making a Unity project using visual studio, and anytime I open up VS via opening a script in Unity, the VS project connected opens multiple solutions and a warning window pops up saying: disc of error
This error does not keep me from using VS, but I think it is interfering with Intellisense, as I am only able to autocomplete some data. Also, I believe references from any "using" namespaces other than the 3 that automatically appear on scripts, show up as errors.
The problem is that visual studio needs to be updated. Open up the Unity installer, and proceed to the page that allows you to select optional components to install. There, select Visual Studio, and continue the installation. That will make sure that a proper version of visual studio is installed and that it is configured to interact properly with Unity.

Customize Visual Studio Mac 2017

I would like to set Visual Studio for Mac 2017 to automatically open .axml files in the source editor mode without loading the Android designer.
Does anyone know how to accomplish this?
On top of that I would also like this to happen when I use the Go To File binding I have setup. Currently every time I open an .axml file through Go To File it takes about 10-50 seconds to load up (no exaggeration). If it takes longer than that it never opens and the entire IDE stops working.
I am currently right-clicking on the files and selecting open with -> Source Code Editor.
Any pointers would be appreciated.
Since Visual Studio for Mac does not currently support configuring the editor used to open a file I created an Open With addin that provides this feature.
It provides an Open With dialog that allows you to change the default editor or application used to open a file in a similar way to how this is done in Visual Studio on Windows.
After installing the Open With addin into Visual Studio for Mac 7.0 or above, you can right click a file in the Solution window, and select Open With - Preferences to display an Open With dialog. This dialog is based on Visual Studio's dialog. You can change the default application or editor used here or add a custom application.
So you should be able to configure Visual Studio to open .axml files into the text editor or Android Studio.
More details can be found in this blog post

Missing project templates in "New Project" dialog box in Visual Studio 2013

When I click on File>New>Project in Visual studio 2013 there are not any project templates present.
However, in a solution file(obviously created in another version of visual studio) when I try "Add>New Project" all the templates are present there.
I want to mention few things:-
I have tried all the possible switches like /installvstemplates, /ResetUserData, /ResetSkipPkgs, /ResetAddin etc.
Tried this:
Open the registry editor (regedit.exe)
Delete the HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\{version}
Delete the HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\{version}_Config
Delete the %USERNAME%\AppData\Local\Microsoft\VisualStudio\{version} directory.
Re-installed visual studio several times even after deleting the "Microsoft Visual Studio 12.0" folder
Currently I am working on Windows 8.1.
Same setup of the product works perfectly on the another system running on Windows 7 service pack 1. What can I do now fix this problem?
Inside visual studio
On the menu bar, choose Tools, Import and Export Settings.
Choose the Reset all settings option button, and then choose the Next button.
Choose the No, just reset setttings, overwriting my current settings option button, and then choose the Next button.
https://msdn.microsoft.com/en-us/library/zbhkx167.aspx#bkmk_reverting

How to switch between debug and release in Visual C# 2010 Express?

How do I switch between debug and release in Visual C# 2010 Express?
I have looked in the project properties, but it seems to be missing. What am I missing?
Enable the Tools → Settings → Expert Settings menu option
Go to Tools → Options
In the dialog box, check Show All Settings option in the bottom left.
In the above dialog, now choose Projects and Solutions → General.
Check the option Show advanced build configurations.
Click OK.
You should be able to see the Release/Debug options in the toolbar now.
Heh, that one baffled me too when I first installed Visual C# Express 2010. It turns out Microsoft has added a "Basic settings" mode to the Express editions that is selected by default.
You can change to "Expert settings" mode in the Tools menu, after that, the Debug/Release combo will be back.
Most IDE settings (window docking locations, font settings, etc.) seem to be kept in separate profiles between basic and expert mode, so you'll have to arrange your tool windows again and so on.
I'm sure there's some obscure way that I don't remember... what I do know is that if you click "Build" it will build the Release version, but if you click "Start Debugging" it will build the Debug version. So if you just want to be able to get the output from both versions, that should sort it for you.
You can follow these steps for visual studio 2010 professional edition.
Go to Tools -> Customize .
Select Commands Tab.
Select ToolBar and then Build from combobox.
Click on Add Command Button.
Select Build from Categories and then select Solution Configurations from Commands.
This is really strange. I've installed Windows 7 Pro x64, then I installed Visual C# 2010 Express and I couldn't find it at all. No matter how I built, it always produced Debug version. I could press F6 or press Build button and it still produced Debug version and I don't have any select box with Debug/Release to choose.
Finally I found it. I can change it by clicking my Soulution in Solution Explorer window and then in Properties window under Active Config.
The last answer by prostynick was the final clue.
I am using visual studio 2010 express.
First you need to have the advanced setting checked Tools ---> Settings
Next is solution explorer double left click or single right click "My Project" to open the project.
You get a large screen with application, compile, debug ... menu on the side
Select Compile
Look at "Build Output path:
It is probably pointing at bin\Debug folder.
Changing this will change where output from a build goes

Categories

Resources