project.json Questions

2

Solved

I've the project.json file with a version specified as { "version": "1.0.0-*" } How can I read it in code?
Stableboy asked 28/9, 2015 at 15:31

2

Solved

I'm using VS Update 3 (14.0.25425.01). Here's what I've done: Create ASP.Net Core Web Application (.Net Core) Create Class Library .Net 4.6.2 Add net462 to frameworks, netcoreapp1.0, imports in p...
Couching asked 8/8, 2016 at 18:42

2

Solved

I have an ASP.NET Core 1.0 complete application running using net461 references. Now I am trying to add another framework - netcoreapp1.0. For this, I have updated my project.json like this: { "u...
Basildon asked 25/7, 2016 at 15:48

2

Solved

I'm looking to convert my project to use project.json format, but still using the .NET CLR until 3rd party dependencies add support for CoreCLR. With that said, some of my NuGet dependencies of fi...
Jard asked 27/11, 2015 at 6:22

1

Solved

Is project.json going away and web.config coming back in ASP.NET Core 1.0? In the roadmap document, the update in '16 Q4 or '17 Q1, they mention "replacing .xproj/project.json with .csproj/MSBuild...
Equanimous asked 23/7, 2016 at 0:28

2

Solved

I have the following script in my project.json file which I am using to build my class library project into a NuGet package. I don't want to build any Debug NuGet packages. How can I limit this scr...
Chaise asked 2/6, 2016 at 15:27

2

Solved

Having created a new ASP.Net Core Web Application (.Net Core) project in Visual Studio 2015 Update 3 and checked this in to a Visual Studio Team Services git repository. I am using the release vers...
Agripina asked 1/7, 2016 at 7:31

4

I have a .NET 5 web application using the DNX framework, and I want to run 'npm install', 'bower install' and others, whenever I build the project. Right now I'm able to do so on publish, using 'p...
Grivation asked 26/8, 2015 at 7:39

2

I want to: Make a class library that defines some interfaces and simple generic helper classes. It'll rely on generic collections and IQueryable<T> but no third party dependencies (well, J...
Dodeca asked 18/6, 2016 at 23:8

1

Solved

In a new ASP.NET Core RC2 class library, I have the following project.json file, where I have tried to follow the docs on How to trim your package dependencies. { "dependencies": { "Microsoft.A...
Nakitanalani asked 27/5, 2016 at 8:11

1

Solved

I'm trying to upgrade my ASP.NET 5 RC1 projects to ASP.NET Core RC2 projects. I'm having some issues because I'm using libraries that do not yet support .NET Core so I have to run on the full frame...
Maciemaciel asked 20/5, 2016 at 11:18

1

Solved

What exactly are the frameworks and imports sections of the project.json file of a ASP.NET Core 1.0 project and what do they do? I've been trying to find "official" documentation to understand it b...
Withdrawn asked 19/5, 2016 at 14:26

1

Solved

I have looked at the the ASP.Net 5 teams wiki entry for project.json, to identify which Script Commands are available, and currently the following are listed: { "scripts": { "prebuild": "echo be...
Numerable asked 24/8, 2015 at 17:31

1

Solved

I am trying to develop my first ASP.Net web application and in my solution I have two projects. A Web Application and Class Library (Package) and noticed that the Web App has this for it's framewor...
Tinhorn asked 19/12, 2015 at 3:18

3

Solved

I can't seem to find a way to make T4 templates in VS 2015 RTM, in an ASP.NET 5 (vNext) project. I even installed the T4 toolbox for Visual Studio 2015 extension, but the tt templates are not tran...

2

Solved

Just installed the rc1 tools and created a new web project to see what has changed in the template. I noticed that project.json now contains: "compilationOptions": { "emitEntryPoint": true } B...
Azure asked 24/11, 2015 at 8:24

1

Solved

Background: Recently I switched from the "old" world to the new project.json world, because new is always better ;) Currently 2 out of 3 projects can use the "dotnet" target framework moniker, the ...
Castleman asked 16/9, 2015 at 22:36

1

Solved

I have a portable class library project that targets .NET 4.6 and Universal Windows Platform. This class library contains just one class with the following line of code in its constructor: Directo...

1

Solved

When running the following dnu publish, I get an ArgumentNullException exception thrown. dnu publish "C:\Project\MyProject" --out "C:\a" --configuration Debug --runtime dnx-clr-win-x86.1.0.0-beta6...

1

Solved

I created a new ASP.NET 5 MVC 6 (vNext) project in VS 2015. I imported some classes from another project, but looks like the DNX is missing some classes that are very essential to me. Can I choos...

© 2022 - 2024 — McMap. All rights reserved.