visual-studio-2015

Dependency Property Not Updating Visual Studio Designer

倖福魔咒の 提交于 2021-01-29 03:50:22
问题 I've created a style for a new WPF Window class and have some dependency properties on there. The one to note is ShowHelpButton This is supposed to toggle the visibility of the Help button on the window. The code works fine in runtime, but I cannot get it to update the UI in the design view. Here's the class: public class MainWindowFrame : Window { #region DependencyProperties public static readonly DependencyProperty ShowHelpButtonProperty = DependencyProperty.Register( "ShowHelpButton",

Dependency Property Not Updating Visual Studio Designer

こ雲淡風輕ζ 提交于 2021-01-29 03:49:00
问题 I've created a style for a new WPF Window class and have some dependency properties on there. The one to note is ShowHelpButton This is supposed to toggle the visibility of the Help button on the window. The code works fine in runtime, but I cannot get it to update the UI in the design view. Here's the class: public class MainWindowFrame : Window { #region DependencyProperties public static readonly DependencyProperty ShowHelpButtonProperty = DependencyProperty.Register( "ShowHelpButton",

Use C# created DLL in PowerBuilder 12.5.2

♀尐吖头ヾ 提交于 2021-01-29 01:32:12
问题 I have created a simple C# class library targetting .Net Framework 4.5.2 with one class using Visual Studio 2015 enterprise edition. Sample code: namespace PwdEncryptor { public class Class1 { public string Encrypt (string actualPassword) { return String.Concat(actualPassword, "Encrypt"); } } } I want to use this from my powerbuilder code on another system . Purpose of doing this is to have common code for encryption of password. Problem: I used it in my powerbuilder code by declaring in the

Use C# created DLL in PowerBuilder 12.5.2

江枫思渺然 提交于 2021-01-29 01:31:54
问题 I have created a simple C# class library targetting .Net Framework 4.5.2 with one class using Visual Studio 2015 enterprise edition. Sample code: namespace PwdEncryptor { public class Class1 { public string Encrypt (string actualPassword) { return String.Concat(actualPassword, "Encrypt"); } } } I want to use this from my powerbuilder code on another system . Purpose of doing this is to have common code for encryption of password. Problem: I used it in my powerbuilder code by declaring in the

Typing References in typescript are case sensitive?

纵然是瞬间 提交于 2021-01-28 23:14:22
问题 I use visual studio 2015 in a project with typescript and the files are named using lower and capital letters like this "project/Models/myFile.ts". When I want to import something from another module/file I use drag n drop in Visual studio so as to provide me automatically the reference with the path of the file, but it ignores capital letters and gives a path all in lowercase. Question 1: Does this means that Visual studio is not case sensitive when referencing or importing files in

How to add a library, header file in Visual studio 2015

久未见 提交于 2021-01-28 12:46:41
问题 I am fairly new to Visual Studio. There is this open source linear solver called Eigen. I have currently downloaded the zip file containing all the header file according to the documentation I don't need to use Cmake or install or anything. I just need to make sure that the compiler has access to the Eigen header files. The documentation gives me different ways of doing this if I use gcc but I am using Visual Studio 2015. I have extracted the zip file and I know the location of the header

System.ServiceModel References

♀尐吖头ヾ 提交于 2021-01-28 06:40:56
问题 I'm trying to use System.ServiceModel using System.ServiceModel; using System.ServiceModel.Channels; using System.ServiceModel.PeerResolvers; in C# winform desktop application, but I can't find it in Visual Studio 2015 to add it to the project References, which must be System.SeviceModel in Framework I guess, not sure Any advice would be useful 回答1: Update your project target framework to .NET 4.5 by Right clicking your project, going to properties, then application, then target framework.

VS2015 NuGet install error with SSL/TLS

不想你离开。 提交于 2021-01-28 05:06:46
问题 Attempting to gather dependencies information for package 'Unity.3.5.1404' with respect to project 'Web', targeting '.NETFramework,Version=v4.5.2' Attempting to resolve dependencies for package 'Unity.3.5.1404' with DependencyBehavior 'Lowest' Resolving actions to install package 'Unity.3.5.1404' Resolved actions to install package 'Unity.3.5.1404' System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could

Installing a Visual Studio Extension

人盡茶涼 提交于 2021-01-28 05:05:06
问题 I've just started using VS2015 and I'm having trouble doing something that should be simple... install the Side Waffle extension. From their website I downloaded the .vsix file, templatepack.vsix. When I double click on it, I get an message, "The extension manifest is invalid." So I went into Visual Studio 2015, went to Tools > Extensions and Updates, and found it under 'Online'. But the only option is to download it. There is no "Install" option. I went back to the download folder, and on

Installing a Visual Studio Extension

折月煮酒 提交于 2021-01-28 05:00:25
问题 I've just started using VS2015 and I'm having trouble doing something that should be simple... install the Side Waffle extension. From their website I downloaded the .vsix file, templatepack.vsix. When I double click on it, I get an message, "The extension manifest is invalid." So I went into Visual Studio 2015, went to Tools > Extensions and Updates, and found it under 'Online'. But the only option is to download it. There is no "Install" option. I went back to the download folder, and on