visual-studio-2013

FileNotFound attempting to load v14.0.0.0 of “Microsoft.VisualStudio.Web.PageInspector.Runtime”

痴心易碎 提交于 2020-01-11 16:38:11
问题 I have an MVC project thats been working perfectly until I updated my machine a week ago. I now receive a Binding Error when trying to run the project Managed Debugging Assistant 'BindingFailure' has detected a problem in 'C:\Program Files (x86)\IIS Express\iisexpress.exe'. Additional information: The assembly with display name 'Microsoft.VisualStudio.Web.PageInspector.Runtime' failed to load in the 'LoadFrom' binding context of the AppDomain with ID 2. The cause of the failure was: System.IO

Displaying an int variable in TextBox/Label in Visual C# [closed]

喜你入骨 提交于 2020-01-11 14:44:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am creating my first C# project, but I can't find a way to display an integer variable in a TextBox or Label. I am using visual C# and Visual Studio 2013. I have been using C++ for quite a while and I would intuitively use 'cout', but I have no idea where to put fe: textBox4.text = cal (where cal is variable).

Cannot declare a variable with public access in a class from a module

佐手、 提交于 2020-01-11 12:43:24
问题 I am making a GUI based application (forms), and encountered the following error. Firstly, I am declaring the following stuff in a module Module test_mod Public Structure sub_struct Public test_int() As Integer Public Sub foo() ReDim test_int(3) End Sub End Structure Public Structure main_struct Public test_aaa As sub_struct End Structure End Module Of course, my real code is longer and more complicated than this, but this piece of code will be a perfect example. Then I declare this test_mod

Cannot declare a variable with public access in a class from a module

好久不见. 提交于 2020-01-11 12:43:09
问题 I am making a GUI based application (forms), and encountered the following error. Firstly, I am declaring the following stuff in a module Module test_mod Public Structure sub_struct Public test_int() As Integer Public Sub foo() ReDim test_int(3) End Sub End Structure Public Structure main_struct Public test_aaa As sub_struct End Structure End Module Of course, my real code is longer and more complicated than this, but this piece of code will be a perfect example. Then I declare this test_mod

WPF baml bug: EventSetter in static resource being set twice, second time to null

梦想与她 提交于 2020-01-11 12:42:07
问题 If I try to store a collection of SetterBase objects in xaml, that includes and EventSetter, The xaml loader throws an error. The root cause is that the xaml loader tries to set PresentationFramework.dll!System.Windows.EventSetters.Event twice: the first time to the correct value (ButtonBase.Click RoutedEvent) but the second time to null, and this throws an exception. My attached property callback is not involved. Why does it try to add the event to the EventSetter twice and why is it null

Visual Studio Express 2013 behind proxy

Deadly 提交于 2020-01-11 11:42:20
问题 I've just downloaded and installed visual studio express 2013 for windows desktop. I'm working behind a proxy with username/password authentication and I don't find how to register the product (witch is now active for 14 days). Each time : 407 - Proxy Authentication Required I tried editing the WDExpress.exe.config to add in the section <defaultProxy> <proxy usesystemdefault="true" proxyaddress="http://x.x.x.x:8080" bypassonlocal="true" /> but it's nor working. 回答1: Go to your visual studio

Visual Studio Express 2013 behind proxy

旧街凉风 提交于 2020-01-11 11:41:32
问题 I've just downloaded and installed visual studio express 2013 for windows desktop. I'm working behind a proxy with username/password authentication and I don't find how to register the product (witch is now active for 14 days). Each time : 407 - Proxy Authentication Required I tried editing the WDExpress.exe.config to add in the section <defaultProxy> <proxy usesystemdefault="true" proxyaddress="http://x.x.x.x:8080" bypassonlocal="true" /> but it's nor working. 回答1: Go to your visual studio

VS2013 “v120_xp” as platform toolset by default

自闭症网瘾萝莉.ら 提交于 2020-01-11 09:27:07
问题 In order to deploy C++ application built with VS2013 compiler under Windows XP, the "v120_xp" platform toolset has to be set: this make it possible the deployment from XP to 8.1. So next come the question: why this platform toolset is not the only one and the default? The "v120" platform toolset is suitable starting from Windows Vista. Is there any performance drawback? I've tested an application built towards both the platform toolsets under Windows 8 but I've seen no difference in

TFS Build 2013 - using Visual Studio 2015

做~自己de王妃 提交于 2020-01-11 07:55:10
问题 I have been having a bit of trouble getting Build on TFS 2013 to work when using Visual Studio 2015 for the checking in of files. The solution/project that I am working on was created on VS 2015 (.NET 4.6) and I seem to be having troubles building it on my TFS 2013. I was firstly getting an error: Confirm that the path in the declaration is correct, and that the file exists on disk But I seem to have overcome this by adding: /p:VisualStudioVersion=14.0 against the MSBuild Agent. That overcome

How to disable MRU behavior in VS2013 upon tab close

南楼画角 提交于 2020-01-11 05:11:26
问题 I have already remapped ctl+tab and ctl+shift+tab to Window.NextTab and Window.PreviousTab. But when I call File.Close, Visual Studio 2013 still uses MRU to decide which tab to bring to the foreground, which usually results in focus jumping somewhere unepxected. I would like to change this behavior so that the tab right after the just-closed one (to the right in the tab well) is brought to the foreground (if it exists). This would make VS's behavior match that of ff, chrome, notepad++ etc. I