FAQ Database Discussion Community


JSHint Gulp to error window VS2015

gulp,jshint,visual-studio-2015
How can I get the output from JSHint to show up in my Error List in Visual Studio 2015 when using Gulp, rather than just output to the Task Runner? I've tried this package but that doesn't seem to do anything except format the Gulp output slightly differently. This is...

why my asp.net project look like references not resolved?

asp.net,visual-studio,visual-studio-2015
Running VS 2015 RC on windows 7 64, for the asp.net projects, it looks like the screenshot below, there is also no intellisense, but the project can compile, something wrong? the VS has resharper 9 and web essential extension installed as well project.json { "webroot": "wwwroot", "version": "1.0.0-*", "dependencies": {...

Can't find any Directx3D 12 examples

windows,msdn,visual-studio-2015,windows-10,directx-12
now I want to understand Directx 12 and reading msdn. It says Working samples are installed with the SDK which demonstrate the following: I found d3d here C:\Program Files (x86)\Windows Kits\10\Redist\D3D But where are samples for Directx 12? Thansks....

Showing a label for 3/5 seconds in wpf C# but after some click it doesn't stay that longer

c#,wpf,visual-studio,visual-studio-2015,dispatchertimer
I'm trying to show text in a label in wpf when a button is pressed and then hide after couple of seconds. I know there are answers of this, but my problem is different. I used these 2 ways for hiding the label: One //When the button is pressed label_plus.Visibility...

Define/use angularjs controller inside internal module

angularjs,typescript,visual-studio-2015
I use Typescript 1.4 with angularjs 1.3.6. Using VS 2015 RC with webessentials, with no module system (no --module flag) I have a working code like this: demoModule.ts module Demo.Test { 'use strict'; (() => { var app = angular.module('Demo.Test', []); // Routes. app.config([ '$stateProvider', $stateProvider => { $stateProvider .state('demo',...

How to Edit and Continue in ASP.Net MVC 6

c#,asp.net-5,visual-studio-2015,asp.net-mvc-6
Back in the days using older versions of Visual Studio and ASP.NET was possible to edit the code while you were debugging it (even with some limitations). How can I enable edit and continue using ASP.Net/VNext (MVC 6) with VS 2015 RC. This feature is available? The message that I...

How to publish a Asp.net 5 MVC6 website on IIS containing two web apps

asp.net-5,visual-studio-2015,asp.net-mvc-6
I have got a project with two web apps. One of them is only for reference in the base app. The project runs okay in visual studio. I am trying to publish it in local file system and then copy it across to the windows server 2008. Below is the...

Brace-or-equal initializer causing C2098 and C2059 in Visual Studio 2015 RC [duplicate]

c++,visual-studio,c++11,compiler-errors,visual-studio-2015
This question already has an answer here: non-static data member initialization with new expression 2 answers The following, seemingly correct looking, code does not compile in Visual Studio 2015 RC, with errors like this: test.cpp(6): error C2098: unexpected token after data member 'T' test.cpp(11): note: see reference to class...

Deploy MVC 6 app in IIS

asp.net-5,visual-studio-2015,asp.net-mvc-6
I'm using Visual Studio Express 2015RC and I created a simple MVC 6 application, but when I try to publish it I don't see the option to deploy it to IIS, I see the options Microsoft Azure Web App, Import and File System, I tried the File System but It...

Environment tag helper

asp.net,asp.net-mvc,visual-studio,visual-studio-2015
I'm working with Visual Studio 15 RC, and I noticed in the _Layout.cshtml, there is a new environment tag helper: <environment names="Development"> <link rel="stylesheet" href="~/css/bootstrap.css" /> </environment> <environment names="Staging,Production"> <link rel="stylesheet" href="//ajax.aspnetcdn.com/ajax/bootstrap/3.0.0/css/bootstrap.min.css" asp-fallback-href="~/lib/bootstrap/css/bootstrap.min.css" asp-fallback-test-class="hidden" asp-fallback-test-property="visibility"...

Visual Studio 2015 RC Displaying Non-English Characters

visual-studio-2015
I have a problem with Visual Studio 2015 RC displaying non-English characters (trying to avoid saying Chinese characters since I'm not 100% sure what character set this is). Here are some images: This only started since Monday, May 18. I just need ideas of where to check to fix this...

How to make a Search Bar that looks for buttons

vb.net,visual-studio-2015
I want to make a Flow Layout Panel and fill it with a bunch of buttons. I want to have a Text box on the top of the form to search for a specific button. No clue on how. When the user searches, all other buttons will not be visible,...

Position of PictureBoxes in form design window do not correspond to their position during runtime

vb.net,visual-studio,visual-studio-2012,visual-studio-2015
EDIT: I realized that I didn't tag this properly - I should have included vb.net as a tag, on the grounds that there could be a code based solution. Note, that no changes to the resolution are made in my source code. UPDATE: When the program starts execution, the left...

Unable to receive debug messages for cashing cordova app on windows 8.1 phone device

debugging,windows-phone-8.1,visual-studio-2015,visual-studio-cordova
I have VS 2015 Enterprise RC installed and am in the process of porting a Cordova app, deployed on iOS and Android, to Windows 8.1 Phone / Universal After making the necessary changes I have an App that crashes shortly after the splash screen is displayed on device. I don't...

make_shared() calling destructor twice when giving it an already created object

c++,c++11,visual-studio-2013,visual-studio-2015
Using VS 2015 with v120. So I am getting memory exceptions because when I call make_shared() on an already constructed object. The already constructed object has a pointer to another object that was allocated with new so when it calls the destructor the first time. The object is destroyed, then...

Does Visual Studio 2015 RC work in parallel with Visual Studio 2013

visual-studio,visual-studio-2013,visual-studio-2015
I'm having this question since a month and I'm not able to test it, so i want to ask here if someone have met this situation. Since there is no official release of the new Visual Studio 2015 and it's on RC now ,I'm interested in does someone know if...

Unable to add any nuget dependency with ASP.NET 5

nuget,asp.net-5,visual-studio-2015
I've just downloaded Visual Studio Enterprise 2015 RC and I'm trying to create a simple ASP.NET 5 application. But each time i'm modifying the project.json to add a dependency, I always have an error. For example, when adding a dependency to Newtonsoft.Json I have : "Dependency Newtonsoft.Json >= 6.0.8 could...

Create actual physical folders in Visual Studio solution

asp.net,.net,visual-studio-2015
I would like to follow ASP.NET 5 solution structure from here https://gist.github.com/davidfowl/ed7564297c61fe9ab814 How do you create actual physical folders in Visual Studio 2015 RC solution? How do you create for example "tests" folder, that is physically at the same level as "src" folder created by default with a new ASP.NET...

Visual studio emulator for android get stuck in Azure VM

azure,android-emulator,visual-studio-2015
I'm hosting my development machine on a Azure VM(size of d3), which started by a Windows 8.1 enterprise N image, after the successful install of VS 2015 RC community, I get stuck while I'm try to start the VS emulator for Android, as you can see in the screenshot,...

Where is memset Hiding In VS 2015?

visual-studio-2015
I have installed VS 2015 RC and it's matching SDK in U:\ => C:\Program Files (x86)\Windows Kits\10 V:\ => C:\Program Files (x86)\Microsoft Visual Studio 14.0 However, when I link my app, it can't find memset (among others). So I ran DUMPBIN /ALL V:\VC\lib\libcmt.lib | grep "memset" and found no reference...

All the F# templates in VS 2015 RC disappear

templates,f#,visual-studio-2015
I installed in a fresh Win 8.1 machine VS 2015 RC. I load VS and create a F# project. Fine. Eventually, I do some other stuff (that I have not remember) and then I found that no single F# template (for projects) exist anymore in VS. Only C#/VB ones....

How do I disable C# 6 Support in Visual Studio 2015?

c#,visual-studio,c#-5.0,visual-studio-2015,c#-6.0
Background We have a project that we're developing in VS 2015 with C#6 enabled that occasionally needs to be opened by developers using VS 2013 without C#6. We have no intention to use C# 6 within this particular solution (as much as I'd like to). Problem Visual Studio and ReSharper...

VS 2015 RC Installation Failed On Windows 10 Technical Preview build 10074 [closed]

visual-studio-2015,windows-10
Microsoft Visual Studio Services Hub Fatal error during installation. Log File Here

How to enable javascript preview in VS 15

typescript,visual-studio-2015
In VS13, Web Essentials included a feature to preview the generated JavaScript in the same window as the Typescript. I cannot find this feature in VS15 RC that I just downloaded and installed. According to Mads Kristensen: The TypeScript tooling contains all those options now. You don't need Web Essentials...

Using Nuget on VS2015 RC Tools for Apache Cordova

visual-studio,cordova,nuget,visual-studio-2015,visual-studio-cordova
Bit of a newbie to VS2015RC with Cordova but I have a query regarding how to use Nuget to add dependencies like say Jquery, Angular etc. If you add the dependencies or packages using Nuget then they are added to the root of the Project (Not in the www folder)....

VS 2015 “if” condition executing to wrong block

c#,visual-studio-2015
I have an ifcondition with false result executing like it was true. Without break point: With break point: ...

Any sample Cordova Apps available for visual studio developers

cordova,cordova-plugins,visual-studio-2015,visual-studio-cordova
i'm new for mobile app development. please post links, sample or any cordova apps for visual studio developers. if any body is willing to answer me please do that. if you don't know please ignore, otherwise don't discourage about it. Thanks...

New ASP.Net JSON files

asp.net,visual-studio,visual-studio-2015
What are the responsibilities of the following new files in the ASP.Net 2015 project template: global.json project.json config.json package.json ...

Visual Studio 2015 RC Cordova Tools - Plugin Fails to Launch

javascript,cordova,cordova-plugins,visual-studio-2015
After struggling for several hours with getting Visual Studio 2015 Cordova Tools set up and running, the first plugin I add, Device, fails to launch at onDeviceReady. No error is thrown. It simply does not launch and when I attempt to access one of its properties, then I get a...

Internal Compiler Error on Array Value-Initialization in VC++14 (VS2015)

c++,c++11,visual-studio-2015,array-initialization,internal-compiler-error
I'm getting an ICE on Visual Studio 2015 CTP 6. Unfortunately, this is happening in a large project, and I can't post the whole code here, and I have been unable to reproduce the problem on a minimal sample. What I'm hoping to get is help in constructing such a...

SOLVED: Visual Studio 2015 Error 500.19

iis-7,visual-studio-2015
I have problem with opening project in VS 2015. In VS 2012, and VS 2013 is everythink ok. But when I start web application in VS 2015, I got error 500.19 while loding css and js files. I know, that it shoud be because of permissions, so I set NETWORK,...

Substring a stringRaw from String1 to String2

vb.net,visual-studio,substring,visual-studio-2015
If you didn't really get it what I actually want let me explain you better: I have a: stringRaw = "<img src=\"http://www.b92.net/news/pics/2015/01/15/111348233854b817af5b4bc991063053_v4 big.jpg\" title=\"\" alt=\"\" />" Now I have to do some kind of substring from string1 = "<img src=\"" to string2 = "\" title=\"\" alt=\"\" />" and have to...

Visual Studio 2015 Setup Build and Simulate iOS in the Cloud

ios,visual-studio-2015,visual-studio-cordova
I am using "Microsoft Build and Simulate iOS in the Cloud" to establish a remote build on Macincloud.com. I am getting the following errors when I try to build an IOS app Severity Code Description Project File Line Error Not implemented (Exception from HRESULT: 0x80004001 (E_NOTIMPL)) 0 Severity Code Description...

How to Add AngularJS 1.4 in Visual Studio 2015 RC Cordova TypeScript Project

angularjs,cordova,typescript,visual-studio-2015,visual-studio-cordova
I have a Visual Studio 2015 RC and create a TypeScript Cordova project. I want to use AngularJS in this project, but after search for a long time, there's no such step by step guide telling me how to apply AngularJS 1.4 in VS2015RC TypeScript Cordova project. Could someone share...

How to Make ASP.Net 5 Reference Normal .Net Class Library that is not in your solution

asp.net-5,visual-studio-2015,dnx
Earlier I asked this question and got an answer that worked. In order to make your ASP.Net 5 application be able to reference a normal .Net class library that targets the .Net Framework 4.5, you must remove the ' "dnxcore50": { }' reference from your project.json file. Great. That worked...

Tools for Apache Cordova - Installed Plugins are skipped in build

cordova,github,git-branch,visual-studio-2015,visual-studio-cordova
i have a cordova app with 6 plugins and the strange behavior that app is not working after i create a new clone of the sources from github. If i install a plugin over the config.xml dialog and build the android version of the app. The native source file (*.java)...

Linking against third-party libraries when doing cross-platform build in Visual Studio 2015

c++,android-ndk,cross-platform,clang,visual-studio-2015
I am trying to compile a Shared Object (.so) with Visual Studio 2015 RC. I am linking against the Opus Codec libs in my stdafx.h: #pragma comment(lib, "..\\..\\opus-1.1-beta\\win32\\VS2010\\Win32\\Debug\\celt.lib") #pragma comment(lib, "..\\..\\opus-1.1-beta\\win32\\VS2010\\Win32\\Debug\\opus.lib") #pragma comment(lib, "..\\..\\opus-1.1-beta\\win32\\VS2010\\Win32\\Debug\\silk_common.lib") #pragma comment(lib, "..\\..\\opus-1.1-beta\\win32\\VS2010\\Win32\\Debug\\silk_fixed.lib") #pragma comment(lib,...

VS 2015 “Add Connected Service” -> “Mobile Services” - Configure button disabled

azure-mobile-services,xamarin.forms,visual-studio-2015
I just created a new Xamarin Forms project in Visual Studio 2015 RC. I want to use my Azure Mobile Service I created via the portal, so I right clicked on the References for the Portable app project in the solution and selected the "Add Connected Service..." menu item. It...

VARIANT structure (COM) seems to have no member [on hold]

c++,com,directshow,visual-studio-2015,variant
Using Visual Studio 2015 RC and the Windows SDK 7.1 with this simple DirectShow code (C++ with COM) #include <dshow.h> #include <iostream> int main () { CoInitialize(nullptr); ICreateDevEnum* devEnum = nullptr; CoCreateInstance( CLSID_SystemClock, NULL, CLSCTX_INPROC_SERVER, IID_ICreateDevEnum, reinterpret_cast<void**>(devEnum) ); IEnumMoniker* monikerEnum = nullptr; devEnum->CreateClassEnumerator( CLSID_VideoInputDeviceCategory, &monikerEnum, 0 ); IMoniker* moniker =...

Entity FrameWork 7(beta 4) migrations error

asp.net,entity-framework,database-migration,code-first-migrations,visual-studio-2015
Who else is getting this error from the Package Manager console when he/she runs the 'Add-Migration Blah' command add-migration : The term 'add-migration' is not recognized as the name of a cmdlet, function, script file, or operable program.Check the spelling of the name, or if a path was included, verify...

Windows Store Apps unavailable in VS 2015 RC

c#,windows-8,windows-store-apps,visual-studio-2015
I am trying to create my first Store app for Windows 8. I installed VS2015 RC and the Windows Software Development Kit for Windows 8 (I followed the instructions at this page). Unfortunately I can't see the Windows Apps templates in VS, differently from what the link shows . I...

Visual Studio 2015 RC Entity Framework 6.1.3 Migrations Error

c#,.net,migration,entity-framework-6,visual-studio-2015
The pasted below error only occurs when the solution has more than one project that references the EntityFramework. When run the "Enable-Migrations" or "Add-Migration", I received the following error: New-Object : The value supplied is not valid, or the property is read-only. Change the value, and then try again. At...

Error executing tsc on ngconf2015demo - missing tsd.d.ts

typescript,visual-studio-2015,angularjs-2.0,tsd
Trying to setup Angular2 with Visual Studio 2015RC on Windows, and following TodoMVC application demo for ng-conf 2015 instructions, I get to the point where tsd reinstall produces the following output: c:\...>tsd reinstall >> tsd 0.5.7 -> running reinstall >> written 1 file: - angular2/angular2.d.ts and it creates typings folder,...

How to upgrade a 2013 vspackage to visual Studio 2015

visual-studio-2015,vspackage
I am trying to upgrade a vspackage to be used for visual studio 2015. The vspackage I created in visual studio 2013 and it works in all prior versions I Updated my dev box with Visual studio 2015. Install the Visual studio 2015 SDK. I upgrade the solution and all...

Connecting my Android device with Visual Studio 2015 RC

android,visual-studio-2015
I have compiled a sample Android project with Visual Studio 2015 (RC - Community Edition), now I would like to deploy and execute it on my connected android device. ADB seems to be working: "adb devices" is showing my device "CB5A1N42TN device" using the menu "Tools / Android / Android...

Visual Studio 2015: Destination wwwroot/css/site.css not written because no source files were found.

gruntjs,visual-studio-2015
I'm trying to use grunt in my ASP project, but for whatever reasons have get a stupid warning-message from Visual Studio. How you can see down, the bower-task has been executed, but haven't uglify- and less-tasks. Gruntfile.js and folder "wwwroot" are in the same folder. What's wrong ? This is...

Typescript compile options on visual studio 2015 rc

compilation,typescript,visual-studio-2015
Recently I Programmed in typescript with VS2015 Preview. Now i have installed VS2015 RC and i cannot find the following options i used to see in Project Properties: Compile on save. Don't make .map files. Module(requirejs/amd...) I have tried to search in other properties pages without success. Thank's...

Cordova Visual Studio 2015 RC Community : Remote Device iOS

ios,cordova,visual-studio-2015,visual-studio-cordova
I'm currently discovering Visual Studio 2015 RC Community to develop mobile applications with Cordova. I have a Mac (OS X Yosemite) with the necessary tools to use the iOS Remote Agent from within Visual Studio. I have an iPad connected to my Mac to deploy a basic Cordova application on...

Cannot get Cordova project building in VS2015 with the facebook connect plugin

facebook,cordova,cordova-plugins,visual-studio-2015,visual-studio-cordova
I've tried everything, but cannot seem to get it working. I've done the following: 1.Remove the plugins with the variables via the config designer. 2.Update to Cordova 5.0.0 via the config designer (Platforms > Cordova CLI) 3.From the command line: 1.Go to your project directory. 2.Type the following substituting the...

“Unable to satisfy package dependency constraints” with Breeze.Server.WebAPI2

breeze,nuget-package,visual-studio-2015
I am trying to add the Breeze.Server.WebAPI2 Nuget package to Visual Studio Community 2015 RC. When I click on install I get "Unable to satisfy package dependency constraints" The listed dependencies are: Microsoft.AspNet.WebApi.OData (>= 5.2.2 && < 6.0.0) Microsoft.AspNet.WebApi.WebHost (>= 5.2.2 && < 6.0.0) Breeze.Server.ContextProvider (=1.5.4) WebActivator I tried adding...

Visual Studio 2015 RC: Emulator for Android : The installer failed. (Code: 1603)

visual-studio-2015
When I installed Microsoft Visual Studio 2015 Professional RC, I get the following error: Microsoft Visual Studio Emulator for Android : The installer failed. Fatal error during installation. Error code: 1603 I am not finding anything related for error code 1603. It appears to be a generic error. Any ideas?...

Enabling RyuJIT in Visual Studio 2015 RC

.net,visual-studio-2015,ryujit
After installing Visual Studio 2015 RC1, I have loaded a legacy ASP.NET project and changed the .NET version to 4.6. The project works fine, but the website still loads as slow as always. I was expecting RyuJIT to kick in, but apparently it is not. I've had a look at...

how to view network traffic when debugging in visual studio cordova

visual-studio-2015,visual-studio-cordova
I'm using VS tool for Cordova to run my app via Remote Device on my iphone (build/deploy from mac using vs-mda-remote). I see there's the DOM Explorer and Javascript Console which let's me do most of what I need for debugging. However, there's one piece missing that I can't find...

Cordova tool for Visual Studio 2015 RC

visual-studio-2015,visual-studio-cordova
I tried install Visual Studio 2015 RC on windows 10 (build 10074) , and create blank cordova project , but i get as follow error message , and i tried reinstall visual studio 2015 rc many times , but can't resolve this . Android Package: extra-android-support One or more required...

Visual C++ - Virtual method is not overriden

c++,templates,inheritance,polymorphism,visual-studio-2015
I have two classes: template <class T> class TArray { public: TArray& operator =(const TArray &array) { return Copy(array); } virtual TArray& Copy(const TArray &array) { ... } } class TString : public TArray<TCHAR> { public: TString& Copy(const TString &string) { ... } } Classes also have needed constructors. But...

How to install Xamarin for Visual Studio 2015 when Visual Studio 2013 is installed too?

visual-studio-2013,xamarin,visual-studio-2015
I install both Visual Studio 2013 and 2015. I need install Xamarin for VS 2015. But I can't do it because by default it's installing for VS 2013.

Visual Studio 2015 not syntax highlighting razor nor Intellisense

c#,razor,visual-studio-2015
My Razor views in VS2015 RC are not showing the proper coloring for C# code. My project was working fine in VS2013, but it isn't in 2015, and it's not giving me any Intellisense on the C# code. The solution builds and the site runs fine. I tried the following...

File upload error code 1 in ng-cordova filetransfer plugin

angularjs,cordova,ionic-framework,visual-studio-2015
I am working on a cross platform mobile App using visual studio 2015 rc's Apache cordova template and ionic framework.App's main functionality is to upload images from camera to a remote hosting. for that purpose i am using File-transfer plugin in angular controller and RestApi (ASP.net webapi) at server side....

How do I add an XML Doc Comment to a ClassDeclarationSyntax in Roslyn?

c#,.net,visual-studio-2015,roslyn
I have some code that builds a class: return SyntaxFactory .ClassDeclaration(name) .AddModifiers(SyntaxFactory.Token(SyntaxKind.PublicKeyword)) .WithMembers(GetProperties()); This all works, and outputs the class that I expect. I'd like to add an XML doc to this: /// <summary> /// Some plain text here. /// </summary> I don't need anything fancy, just plain text. I'm...

Package Manager in VS2015 RC fails on installing/restoring some packages

nuget,asp.net-5,visual-studio-2015,dnx
I'm trying to install a nuget package - NGenerics.1.4.1 from nuget.org (https://www.nuget.org/packages/NGenerics/) into a ASP.NET 5 project (website). Package Manager fails with UriFormatException. After that a reference is added into Reference folder in the Solution Explorer but with yellow triangle ('warning'). The error added into the Error List: "Dependency NGenerics...

changing to dark in Themeresource for a simple windows app

xaml,visual-studio-2015,windows-10
Recently I have started exploring VS2015 and I went through the basic tutorial of how to create a hello world using c++ in VS2015(https://msdn.microsoft.com/en-us/library/windows/apps/hh974580.aspx). After copying and building the exact same thing, the background color that I got was light instead of dark like the example shown in the link....

How do I use a localized PostBuildEvent in an environment with multiple collaborators?

git,visual-studio,msbuild,visual-studio-2015
I have a project which has the following PostBuildEvent: <PostBuildEvent> if exist Diagnostic.nuspec if exist "$(SolutionDir)\packages\NuGet.CommandLine.2.8.2\tools\NuGet.exe" "$(SolutionDir)\packages\NuGet.CommandLine.2.8.2\tools\NuGet.exe" pack Diagnostic.nuspec -OutputDirectory "C:\Users\jeroen\Google Drive\NugetLocal\VSDiagnostics" </PostBuildEvent> Here, the OutPutDirectory is obviously local to my own installation. The default value is .. This configuration is stored in the project's .csproj file which also keeps...

VS 2015 RC Apache Cordova Blank appTemplate Build Failed

android,apache,visual-studio,cordova,visual-studio-2015
I Installed VS 2015 preview and Tools For Apache Cordova. Creating blank Apache Cordova project and I can't build the app or run on android ripple. I'm sure checked all necessary tools while installing visual studio and They installed successfully. output: All packages are already installed and there is nothing...

Visual Studio 2015 Ignoring New Folders & Files

asp.net,asp.net-mvc,visual-studio,visual-studio-2015
When I add a folder to the visual studio project, it ignores it completely. It didn't do that until recently, and I am not entirely sure why this is. A clean build does not solve the problem, in the visual studio folder structure, the resources folder is present. And in...

Project updated from beta-3 isn't producing outputs on build

asp.net-5,visual-studio-2015
After upgrading a project from the .kproj format to the .xproj format, my project is no longer producing outputs on build. When I check the project properties dialog, the checkbox for "Produce Outputs on Build" is unchecked. Checking it, saving the properties, and re-opening the project properties causes the checkbox...

How do I log into a web service that was auto-generated by Azure Mobile Web Services?

c#,testing,azure-mobile-services,visual-studio-2015
Microsoft's Azure Mobile Web Services lets you download a .NET or JavaScript Service and a client that talks to the Service. These are written in C#, or JavaScript. I chose to get one in C#. There is are several parts in the generated solution A Windows 8.1 desktop client (yourname.Windows)...

visual studio 2015 doesn't see my xunit tests

asp.net-5,visual-studio-2015,xunit.net
trying to add xunit tests to my ASP.NET 5 project, i've added a class library and fill the project.json like this : { "version": "1.0.0-*", "description": "", "authors": [ "" ], "tags": [ "" ], "projectUrl": "", "licenseUrl": "", "dependencies": { "xunit": "2.1.0-beta2-build2981", "xunit.runner.visualstudio": "2.1.0-beta2-build1055" }, "commands": { "test": "xunit.runner.visualstudio"...

Cannot change screen orientation on VS2015 RC Apache Cordova Tools

visual-studio-2015,visual-studio-cordova,vs-2015-preview
I have just created a blank application from template using Visual Studio 2015 Enterprise RC and when I change the screen orientation to portrait, the build fails on Android and I get the following error. [aapt] C:\Users\HasanDogu\Documents\Visual Studio 2015\Projects\BlankCordovaApp3\BlankCordovaApp3\platforms\android\ant-build\AndroidManifest.xml:6: error: Error: String types not allowed (at 'screenOrientation' with value 'Portrait')....

Entity Framework 7 Migration Scaffolding in Class Library with Configuration

code-first-migrations,asp.net-5,visual-studio-2015,entity-framework-7,dnx
Trying to add migrations to an EF7 Model that lives in an ASP.NET 5 class library. When running dnx . ef migration add mymigration fails with different results depending on which project I run it on. If I run it in the folder of the main project, it cannot locate...

.vs\config\applicationhost.config in source control

iis-express,asp.net-5,visual-studio-2015
Visual Studio 2015 adds a file named .vs\config\applicationhost.config to the root of a solution when an ASP.NET Web application project is created. Should this file be checked in to source control or should it be ignored (so that each user will have their own local copy)?...

VS2015: Variadic template specialization

c++,templates,c++11,c++14,visual-studio-2015
This code #include <iostream> #include <type_traits> template<typename Head, typename... Tail> struct Is_Admitted { constexpr static bool value = Is_Admitted<Head>::value && Is_Admitted<Tail...>::value; }; template<> template<typename T> struct Is_Admitted<T> : public std::false_type{}; template<> struct Is_Admitted<int> : public std::true_type{}; template<> struct Is_Admitted<double> : public std::true_type{}; int main() { std::cout << Is_Admitted<int,...

VS2015 using the Nightlies

asp.net,asp.net-5,visual-studio-2015
I have VS2015RC. I was looking to plug it into the nightly nuget feed. If i configure the normal way i don't get the intellisense from the nightly feed in project.json i.e Nuget Package manager Settings Also in the "Nuget Package Manager for Solution" if I change the package source...

DNX Core 5.0 library to target any platform. No System.Random class. Workarounds or options?

visual-studio-2015,dnx,.net-core
I am trying out the Visual Studio 2015 RC project template for creating a class library that can target any platform says Visual Studio. A new project has 2 references: DNX 4.5.1 and DNX Core 5.0. It appears that System.Random is not available in DNX Core 5.0. (The same is...

(C/C++) Unknown compiler version while compiling Boost with MSVC 14.0 (VS 2015)

c++,c,boost,visual-studio-2015
I get "Unknown compiler version - please run configure tests and report the results" while attempting to compile Boost library on my computer. I have most recent Boost (as of date of the post) - 1.58.0. Doesn't Boost support MSVC 14.0, yet? How do I "run the configure tests"? Screenshots.

“Publish Android App” in Visual Studio 2015 RC with Apache Cordova is not doing anything

android,cordova,visual-studio-2015,visual-studio-cordova
I am attempting to create an Android app using the Visual Studio 2015 RC with Apache Cordova (a multi-platform hybrid app) and for some reason, when I go to: TOOLS -> ANDROID -> PUBLISH ANDROID APP... I get a quick thinking/circling mouse pointer then nothing. Useful Information: -The installation went...

How Do I Add an Embedded Resource to a “Class Library (Package)” Project in VS 2015 RC?

c#,visual-studio-2015
There is a new project template in the Visual Studio 2015 release candidate called "Class Library (Package)." It's in the Visual C#/Web category. In the information panel of the project type, it says "PREVIEW - A project template for creating a class library as a NuGet package that can target...

How to use NUnit 3 in VS2015RC

c#,nunit,portable-class-library,visual-studio-2015,nunit-3.0
Is it possible to use NUnit3 Beta in VS2015RC? I've just created a new Library Project (Package) and added NUnit and created a simple test to show the errors I'm getting. Does it have some dependency on an older version of the framework? project.json Test Class Update The Release Notes...

Visual Studio Tools for Cordova - FAILS

android,cordova,visual-studio-2015,visual-studio-cordova
Everytime I build I get the below error. I'm new to cordova in Visual Studio. I actually tried installing for VS2013 first. I downloaded VS 2015 RC community and I'm trying to get the project started. However I'm getting the below message. Attempt 1: I tried going into options>VS tools...

Visual Studio 2015 Community RC Cordova Javascript Project build error with Orientation=Portrait

cordova,visual-studio-2015,visual-studio-cordova
Problem description: With Visual Studio 2015 Community RC installed, create a new blank cordova javascript project and build it, it's ok. Now, open config.xml and in the "Common" tag, change the "Orientation" from "Landscape or Portrait (Default)" to "Portrait" and build it. The error is: Command failed with exit code...

WIX-Installer ServiceControl “sufficient privileges” error

c#,windows-services,wix,installer,visual-studio-2015
Visual Studio 2015 RC Wix v3.10.0.1726 I am creating a installer for a windows services. I've tested the service with InstallUtil and it runs fine. Unfortunately I'm having a bit of troubles with wix, here is the exact error - "Service 'Service Name' failed to start. Verify that you have...

Can the project.json file in an asp.net 5 (dnx) project be moved?

asp.net-5,visual-studio-2015,dnx,.net-5.0
The default location of project.json is in the root folder of the asp.net project folder. I dislike having configuration files jumbled in with classes and would prefer to move project.json (and other configuration and startup elements) to a Configuration folder. I moved project.json (in visual studio solution explorer) to a...

Aurelia project setup and folder structure in Visual Sudio 2015: what goes in wwwroot?

asp.net-5,visual-studio-2015,aurelia
I want to start playing with Aurelia and MVC 6 Web API with Visual Studio 2015 RC, and I'm using OdeToCode's blog post as a starting point. I understand the idea behind the new wwwroot folder, but I'm basically confused as to what should or shouldn't put in there. My...

Visual Studio 2015, Nuget and “same key has already been added.”

c#,windows-phone-8.1,nuget,visual-studio-2015,windows-universal
I have Visual Studio 2015 RC. When I open a console app or a Windows Phone 8 Silverlight project, everything works fine, I can use Nuget without problems. When I open a Universal App project (Windows 8.1 + Windows Phone 8.1), Nuget breaks. When I open the Nuget console, I...

How do I set the TypeScript compiler version for an ASP.NET 5 MVC 6 project in Visual Studio 2015 RC?

asp.net-5,visual-studio-2015,asp.net-mvc-6,typescript1.5
So I'm now at my witts end with this one. As the question in the title asks, I'm trying to set the tsc version for a sample ASP.NET 5 MVC 6 project. I'm using Visual Studio 2015 RC and I want to compile TypeScript using version 1.5 Beta that was...

Where can I find Microsoft.TeamFoundation.Build.Client in Visual Studio 2015?

tfs,msbuild,visual-studio-2015,tfs2015
I have a clean windows installation with just Visual Studio 2015 installed and I'm looking to find the Microsoft.TeamFoundation.Build.Client assembly? I'm wondering if it has now been made obsolete with the upcoming vNext Build or if the namespace moved? or something else? The MSDN documentation only goes up to Visual...

Why is there no authentication for the asp.net 5.0 preview - web api template -

c#,asp.net,visual-studio-2015
I have created a web project in the new Visual Studio 2015. I can choose asp.net 4.6 or 5.0 preview web api template. The old 4.6 has authentication but I want to use the new 5.0 preview also web api. But this template lacks the authentication, but why?...

What is the difference between a Shared Project and a Class Library in Visual Studio 2015?

c#,.net,visual-studio-2015
I was looking at the new features for Visual Studio 2015 and Shared Project came up a lot but I don't understand how it is different to using a Class Library or a Portable Class Library. Can anyone explain? Edit: Shared Project is a new feature in Visual Studio 2015...

How to compile .sass files on save in Visual Studio 2015

asp.net,sass,gruntjs,visual-studio-2015
How can one get a full sass (i.e. scss) precompiler environment up and running in Visual Studio 2015? This is a sibling question to this one concerning less.

Visual Studio 2015 preventing an application from opening the console

c#,visual-studio,visual-studio-2015
I am making an application using Windows.Form in Visual Studio 2015, but I have a console popping up whenever I run the program. This is great for debugging, but how do I stop this from happening when I finish my program? I have looked at some similar questions, but they...

How to install VS2015 Community Edition offline

installation,offline,visual-studio-2015
When visiting Microsoft website to download VS2015 you can download a file of a few MB in size to install Visual Studio. When you open the file it acquires the files necessary from internet, but you can not choose where these files are stored. How can I download the entire...

Team Foundation Online: Source Control - Making Specified Changeset Active

visual-studio-online,visual-studio-2015
The issue that I am experiencing is that when I want to have specified Changeset active, file structure doesn't match with that Changeset. Example: In Changeset 146 I had some files. I want to go back on Changeset 142. That Changeset didn't have those files at the time. In...

Is there any way to make Release and Debug both build?

visual-studio,asp.net-mvc-5,visual-studio-2015
I am currently using ASP.NET MVC 5 to make a web application. I always want to have a release build in my bin folder. If I set the build configuration to Release it will not debug my breakpoints. If I set it to Debug my /bin build will be a...

error LNK2001 __imp_fprintf Visual Studio 2015 RC

c++,visual-studio,linker,sdl,visual-studio-2015
I recently was forced to upgrade from Visual Studio 2015 Pre-Release to Visual Studio 2015 Release Candidate as a result of an expired license. My project was previously building fine, however, now it is not. I am getting only two link errors and I've spent the last two days attempting...

How do you make an ASP.Net 5 Application be able to consume class libraries?

asp.net-5,visual-studio-2015
Step 1: Open VS 2015 RC and create a new "ASP.Net Web Application" Step 2: Right-click the solution, add a new windows "Class Library" (a normal one, not the "Class Library (Package)" Step 3: Put a method in Class1.cs in the class library. Doesn't matter what. Step 4: Right-click "References"...

Visual Studio 2015 RC does not create sourcemap when saving Typescript file

typescript,visual-studio-2015
I'm very new to typescript and am trying it out in the latest Visual Studio 2015 RC. At the moment it compiles the typescript file automatically and creates the underlying js file (nicely underneath the .ts file when you expand it) when I save the ts file. However, there is...

Windows 10 Universal Audio Background Player - unable to register for background task: Run Method Doesn't fire

c#-5.0,visual-studio-2015,windows-10
Developing Visual Studio 2015 RC - Windows 10 universal app for background audio player. I have followed the following steps. Created 3 projects. MusicPlayer (Blank App - Windows Universal Project) Playlist (Class Library - Windows Universal Project) AudioBackgroundAgent (Windows Runtime Component - Windows Universal Project) Followed same steps as https://code.msdn.microsoft.com/windowsapps/BackgroundAudio-63bbc319...

Visual studio post build event command line “for” syntax

c#,visual-studio-2015,post-build-event
Solution1 : { Project1 (windows form), Project2 (class library) } Trying to copy all .dll(s) I get from after compiling Project1, from the default directory (same as the .exe) to a /lib sub-folder. if not exist Lib mkdir Lib for %i in (*.dll) move /Y "$(TargetDir)%i" "$(TargetDir)Lib\%i" I have problem...

Is there a tile template catalog for windows 10 anywhere online?

visual-studio-2015,windows-10
I'm looking for the new tile templates for windows 10 and so I searched for the catalog, but all I found was the well known catalog for windows (phone) 8/8.1: https://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx Do anyone know a link for the new tile template catalog for windows 10? Greetings from a cloudy Germany...

Couldn't determine an appropriate version of runtime to run

iis-express,asp.net-5,visual-studio-2015,dnvm
I just finished upgrading to beta4. My code compiles successfully with no errors/warnings but I am unable to launch my web api hosted in IIS Express (by hitting F5). I get the following error: Couldn't determine an appropriate version of runtime to run. See http://go.microsoft.com/fwlink/?LinkId=517742 for more information. Description: An...

How can I add a whole directory structure into a solution?

visual-studio-2013,architecture,solution,visual-studio-2015
There's a directory structure (the root folder and a bunch of subfolders with their subfolders in them etc.) and I'd like to keep these in our TFS, as a part of the solution, even if those are not source code files and don't belong to a project. Optimally, those would...