visual-studio-2015

Develop with Lync 2013 SDK on Visual Studio 2015 Community?

给你一囗甜甜゛ 提交于 2020-01-14 09:47:48
问题 Does VS2015 have any restriction regarding developing Skype for business (Lync 2013 SDK) applications? When I try to install the Lync 2013 SDK I get an error saying "Microsoft Visual Studio 2010 SP1 or higher not found." Do I need a Enterprise version? 回答1: this problem related to MS bug. You have to unpack it and try to install 64 or 86 msi package. 回答2: There are no restrictions. I developed my first application in C# and the Lync 2013 SDK using Visual Studio 2015 Community Edition. 来源:

XAML editor complains “Object does not match target type” for SharedResourceDictionary.Source

北慕城南 提交于 2020-01-14 09:39:06
问题 We use SharedResourceDictionary in our project. The dictionary is constructed from several posts here on SO. But I have reduced it to this: public class SharedResourceDictionary : ResourceDictionary { public new Uri Source { get { return base.Source; } set { base.Source = value; } } } In new VS2015 the XAML designed cannot load the styles and complains 1. The resource "..." could not be resolved. 2. Object does not match target type. 3. The resource "..." could not be resolved. 4. The

Watch Icons and Items in Visual Studio 2015

血红的双手。 提交于 2020-01-14 08:10:09
问题 When I hover over a JObject variable in my C# code, I see a watch window pop up. When I expand that, I see the following image: Questions What does the blue symbol/icon next to ChildrenTokens signify? Where is a comprehensive list of such symbols/icons? We all see ChildrenTokens listed in the watch window. However, when I am in code and try to access the ChildrenTokens property, intellisense doesn't show it. Why? Thank you. 回答1: As you can see from JObject Documentation, ChildrenTokens is a

Watch Icons and Items in Visual Studio 2015

 ̄綄美尐妖づ 提交于 2020-01-14 08:09:42
问题 When I hover over a JObject variable in my C# code, I see a watch window pop up. When I expand that, I see the following image: Questions What does the blue symbol/icon next to ChildrenTokens signify? Where is a comprehensive list of such symbols/icons? We all see ChildrenTokens listed in the watch window. However, when I am in code and try to access the ChildrenTokens property, intellisense doesn't show it. Why? Thank you. 回答1: As you can see from JObject Documentation, ChildrenTokens is a

STARTUPINFO.wShowWindow is 0 when running from Visual Studio

旧街凉风 提交于 2020-01-14 07:27:24
问题 I stumbled upon an issue while debugging a feature in an open-source Notepad replacement called Notepad2 (more specifically, a more recent fork called Notepad2-mod). It has a flag /u that causes the app to restart itself under Administrative privileges (using runas verb with ShellExecute). The code looks like this (snipped for brevity): STARTUPINFO si; SHELLEXECUTEINFO sei; si.cb = sizeof(STARTUPINFO); GetStartupInfo(&si); ZeroMemory(&sei,sizeof(SHELLEXECUTEINFO)); sei.cbSize = sizeof

UWP XAML designer doesn't load

烈酒焚心 提交于 2020-01-14 06:03:10
问题 When I create a new universal application, XAML designer doesn't load and it shows the following exception instead: Restarting windows, reopening the project or even reinstalling VS didn't solve that. 回答1: Try to check and install Windows updates, it helped in my case. 回答2: Reinstalling or repairing Visual Studio might help. 回答3: In my case uninstalling the App you're developing (Start Menu -> All Apps -> Your App -> Right click -> Uninstall) and rebuilding the solution/re-running the app

Viewing PowerShell's Select-String output in Visual Studio

烂漫一生 提交于 2020-01-14 03:42:07
问题 I am looking to use PowerShell's Select-String function within Visual Studio. I have written a blog post about how to view Select-String output within Notepad++ taking advantage of NppExec's ability to call an external program, and its ability to add a custom line pattern matching to match <path>:<line-number>:<line-content> . Is there any way of doing this within Visual Studio, perhaps by spitting out text to the Output Window? 回答1: VS indeed interprets text in the output window and if it

Visual Studio 2015, Android NDK with libc++ and cmath issues

£可爱£侵袭症+ 提交于 2020-01-14 02:58:08
问题 When creating a native Android NDK project with the new Visual Studio 2015 Preview and changing the STL to "LLVM libc++ static library (c++_static)", simply including <cmath> in the default "main.cpp" file and compiling with the default Clang 3.4 causes the following issues: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Apps\android-ndk-r10\sources\cxx-stl\llvm-libc++\libcxx\include\cmath(652,8): error : no member named 'float_t' in the global namespace 1> using ::float_t; 1> ~~^ 1>C:

Error when Update-Database using Code-First: “There is already an object named 'something' in the database.”

霸气de小男生 提交于 2020-01-14 02:30:53
问题 I'm doing database migration using Code-First in Visual Studio 2015. Along the way, i've done the migration steps up till Add-Migration . After Add-Migration, i've added this line of code Database.SetInitializer(New MigrateDatabaseToLatestVersion(Of DbContext1, Migrations.Configuration)) in my DbContext constructor to set up Database Initializer since i missed this step previously. After that, i executed "Add-Migration initial -Force" in the Package Manager Console because i fear that this

Git is not ignoring neither checking out .vs folder (VS2015)

喜夏-厌秋 提交于 2020-01-13 19:39:15
问题 In my .gitignore file, there's a line to ignore the Visual Studio 2015 folder (".vs/"), but it's not being ignored. And, besides, I can't use the checkout command. That's what was returned: Untracked files: (use "git add <file>..." to include in what will be committed) .vs/ PS C:\path\to\project> git checkout -- .vs/ error: pathspec '.vs/' did not match any file(s) known to git. What's wrong? 回答1: Try below - git rm -r .vs then open .gitignore and add end of file .vs/ This should work 回答2: