project.json Questions
10
Solved
I want to simplify my configuration in my ASP.NET Core Web Application (.NET Framework) application using VS 2017.
I already know that my website will be running under Windows/IIS in x64 environme...
Spies asked 16/3, 2017 at 18:45
3
I have a web project (mvc5) with a project.json inside.
Also, I have a nuget package. Inside this package (besides the dll reference) I have some Content files (cshtml files, css, javascript etc)....
Prevenient asked 28/8, 2017 at 14:36
4
Solved
I've created .NET Core class library and try to build it against net40 framework. I want to use Clipboard class from System.Windows.Forms assembly. How can I do this?
My project.json file:
{
"ve...
Grappa asked 19/7, 2016 at 13:38
5
Solved
I am rather new to the .NET Core, and I got a .NET Core WebAPI project MyWebApp,
also, i have .Net Core Class Library project MyLib using EntityFrameworkCore
When i try to use Add-Migration, i get...
Auriga asked 11/1, 2017 at 13:18
2
Solved
So as the title says, i am wondering if its possible to do the equivalent of "npm run " with the dotnet cli?? e.g. this snippet is from my project.json:
{
"dependencies": {
"Microsoft.NETCore.Ap...
Funereal asked 19/11, 2016 at 16:58
3
Solved
I created a Web API project using the default ASP.NET Core Web Application (.NET Framework) template and then published to local folder using VS.
Now if I call dotnet application.exe in the conso...
Tachylyte asked 12/7, 2016 at 15:0
4
I've updated a class library's project.json to target netstandard1.3 and net64.
With that change:
$ dotnet restore
log : Restoring packages
warn : Dependency specified was NETStandard.Library (&g...
Tippets asked 12/10, 2016 at 13:28
3
Solved
I did not find project.json in visual studio 2017 RC. Has this been removed in this version or am i missing something ? How do they store list of dependencies now if it is removed ?
Ibeam asked 20/11, 2016 at 0:31
2
Solved
I have an existing solution involving multiple project.json (and corresponding xproj) projects that I have been working on for some time. It works fine in Visual Studio 2015, but it fails to load i...
Fiscus asked 1/4, 2016 at 8:13
2
Solved
I followed the instruction to create new .NET Core project and ran this from cmd:
dotnet new
dotnet restore
The second statement creates project.lock.json that contains a lot of garbage (not rea...
Mamba asked 28/6, 2016 at 1:18
3
Solved
I am playing with just released ASP.NET Core. I have created new project and I am looking at project.json. I'd like to know what is this part of configuration for:
"buildOptions": {
"emitEntryPoi...
Intervale asked 10/7, 2016 at 22:9
2
Solved
I was searching before posting but it seems that VS2017 stops using project.json and instead uses .csproj file so when I try to run builds on either TFS or BitBucket, I get fails because the builds...
Peruzzi asked 23/3, 2017 at 16:30
3
I have a new ASP.net 5 dnx class library I am using for entity framework. I need to target EF 6 because some features I need are not in EF 7.
First the EF tools (like enable-migration) were not th...
Ungrudging asked 22/1, 2016 at 21:16
2
Solved
I am having trouble finding up to date documentation on how to unit test a .NET Standard 1.6 class library (which can be referenced from a .NET Core project).
Here is what my project.json looks li...
Turman asked 27/12, 2016 at 18:27
1
Solved
We have developers that are using VS Code on Linux, Windows, and Mac. We also have developers that are using full Visual Studio on Windows. A problem arises when the former (including me) do not ad...
Cenobite asked 2/11, 2016 at 18:34
2
Solved
I am trying to create a class library that'll contain common objects (mainly DTOs) of a WebAPI (using ASP.NET 5) and a consuming UWP App. However, I have not yet figured out how to create the class...
Ruthanneruthe asked 1/12, 2015 at 19:52
1
When trying to add references to a VSIX, it normally pulls it from the references in the .csproj. However, if the references are not in the .csproj, because they now are in a project.json file, the...
Headgear asked 21/6, 2016 at 11:10
3
Solved
I am using ASP.NET Core RC2 and when I run dotnet run my application always runs in "Production". I am not able to change it to "Development".
I have the following launchSettings.json file:
{
"i...
Whitfield asked 24/5, 2016 at 12:19
1
Solved
I'm creating a reusable library that targets several platforms (.NET 4.0, .NET 4.5, .NETStandard 1.0 and .NETStandard 1.3). The .NET 4.5 version of this project contains some features that are not ...
Bink asked 20/11, 2016 at 20:49
1
Solved
(Question subtitle: Are resources not supported in .netstandard 1.3 or is my project file just messed up?)
I just created an example portable class library in Visual Studio 2015 Update 3 and added...
Annoyance asked 30/6, 2016 at 19:29
1
Solved
.Net Core's project.json allows configuration of various assembly properties (e.g. title, version, copyright) that a traditional .Net application would define using attributes typically placed in A...
Imprescriptible asked 27/10, 2016 at 13:41
2
Solved
In a standard .csproj you could go into properties and set the default namespace. How can this be achieved in a .xproj project using project.json?
Deafening asked 24/2, 2016 at 12:28
1
Solved
I'm creating a REST Api with Asp.Net Core 1.0 and I want to copy a file which is not in included in the project to the output path when the project is compiled.
I can't figure out how to do it tho...
Edgy asked 28/9, 2016 at 13:43
5
Solved
I just converted a working RC2 web application to RTM and I have some issues publishing on IIS.
All the samples I have found are based on a NetCoreApp1.0 application. Due to some requirements, we ...
Stob asked 28/6, 2016 at 16:36
4
I've just started working with DNX 1.0.0-rc1-update1 in VS2015. My first app is a 'Console Application (package)' project. Everything works, except NLog logging. I suspect it's because the NLog.con...
Subset asked 27/12, 2015 at 15:56
1 Next >
© 2022 - 2024 — McMap. All rights reserved.