TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

.NET Core Tooling in Visual Studio “15”

133 pointsby hitrover 8 years ago

16 comments

wmcculloughover 8 years ago
Lot of people in this thread crapping on Microsoft, but that&#x27;s not to say that there&#x27;s not some valid criticism here.<p>Microsoft is trying to unscrew the single platform nature of dotnet. This is going to take some time. They are having to break bones to set them correctly. Let&#x27;s not pretend that any of us devs have never inherited an old project that we had to fix, and left a wake of destruction.<p>That said, shame on them for not listening to the community more. Many, many people on Github were very vocal about the project formats and the build system, and it was obvious that Microsoft made up it&#x27;s mind.<p>While I&#x27;m a huge fan of dotnet, I also have to chastise Microsoft here. You can&#x27;t leap to open source and then crap on your contributors when they are telling you that you&#x27;re making a blind decision. If it was the one contrarian person that always complains about everything, I could see it, but it wasn&#x27;t. Very notable members in the dotnet ecosystem raised the warning flag on this.<p>I for one kept with the mindset of not building anything for production with their v1 release. This is an old rule. By v2, I&#x27;m betting this thing will be awesome. Hell it already is. Let&#x27;s not throw the baby out with the bathwater.
评论 #12754023 未加载
评论 #12753784 未加载
评论 #12751880 未加载
评论 #12754275 未加载
评论 #12753352 未加载
评论 #12754314 未加载
评论 #12752172 未加载
ed_blackburnover 8 years ago
Stop. Before moaning about json vs xml consider that the sln file is a non-stand external dsl that&#x27;s existed since the early nineties. Now that&#x27;s something I&#x27;d like to see being replaced.
评论 #12754051 未加载
coolgooseover 8 years ago
I might be the odd one out since I don&#x27;t find the XML format that bad.<p>A bit sad when you can&#x27;t add comments in json like formats. (nobody really uses json5)
评论 #12751430 未加载
评论 #12750961 未加载
评论 #12753913 未加载
评论 #12754212 未加载
joesbover 8 years ago
You can see the syntax below to specify the set of targets that you want to build for, as a semicolon-separated list.<p>&lt;TargetFrameworks&gt;netstandard16;net452&lt;&#x2F;TargetFrameworks&gt;<p>Fresh release of XML-based config file that already uses single string field for array?
评论 #12751334 未加载
评论 #12752704 未加载
jsingletonover 8 years ago
Glad to see a more unified approach, particularly with .NET Standard and Xamarin [0]. I&#x27;ve been experimenting with Xamarin.Forms recently and put together a little mobile game. There are a couple of blog posts coming on that, including the whole shared projects &#x2F; PCLs &#x2F; .NET Standard thing.<p>[0]: <a href="https:&#x2F;&#x2F;unop.uk&#x2F;net-core-1-0-1-and-net-standard" rel="nofollow">https:&#x2F;&#x2F;unop.uk&#x2F;net-core-1-0-1-and-net-standard</a>
hitrover 8 years ago
Hope this csproj is final breaking change on this!.I am not sure if any other project has gone through so much of changes from the initial release. It was called kvm,kre,klr [1]-&gt; dnx,dnu,dnvm [2] -&gt;coreclr,corefx -&gt;changes to project.json to csproj system . I have started writing a gitbook[3] on asp.net core when this was in the RC phase but everything I learned or wrote had to be rewritten .I did not merge my dev branch to master for whatever new I was writing and eventually I stopped.I am wondering what would happen to all the books currently published where most of the book will be referring project.json<p>[1]<a href="https:&#x2F;&#x2F;weblogs.asp.net&#x2F;imranbaloch&#x2F;k-kvm-kpm-klr-kre-in-asp-net-vnext" rel="nofollow">https:&#x2F;&#x2F;weblogs.asp.net&#x2F;imranbaloch&#x2F;k-kvm-kpm-klr-kre-in-asp...</a><p>[2]<a href="https:&#x2F;&#x2F;blogs.msdn.microsoft.com&#x2F;webtopics&#x2F;2016&#x2F;01&#x2F;14&#x2F;getting-to-the-crux-of-dnvm-dnu-and-dnx-in-asp-net-5&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blogs.msdn.microsoft.com&#x2F;webtopics&#x2F;2016&#x2F;01&#x2F;14&#x2F;gettin...</a><p>[3]<a href="https:&#x2F;&#x2F;www.gitbook.com&#x2F;book&#x2F;openlearningportal&#x2F;all-about-asp-net-core&#x2F;details" rel="nofollow">https:&#x2F;&#x2F;www.gitbook.com&#x2F;book&#x2F;openlearningportal&#x2F;all-about-as...</a>
snarfyover 8 years ago
I&#x27;m sad I spent any time learning the project.json format. I wish I could dotnet migrate those brain cells back and free up some memory.
nowprovisionover 8 years ago
What&#x27;s the story with fsproj ?
romanovcodeover 8 years ago
Very glad they ditched json. It was completely unreadable.
oldmanhortonover 8 years ago
I am currently working on two dotnet core projects (both ASP.NET Core) and my only complaint has been the tooling. Visual Studio talking in terms of solutions and the dotnet cli talking in terms of projects means that I have `launch.{sh|ps1} scripts for those not using VS and launchOptions.json&#x2F;the sln file for those working in VS. It feels like something that should have been sorted out, even if it took a new `dotnet startup` command to emulate Visual Studio&#x27;s StartUp projects. Entity Framework Core tooling, especially with SQLite, has also caused some issues around migration handling (in that there basically is no migration handling for sqlite, causing you to write a custom script to nuke the database and migrations every time you make a change).<p>The platform itself, however, is fantastic.
wildeover 8 years ago
So...when do folks think it will be safe to use this? Often 1.0 is reserved for &quot;we&#x27;ll try to make less painful interface breaking changes after this release&quot;. But if this is any indication, we&#x27;re still a ways off from API stability.
评论 #12755462 未加载
评论 #12754628 未加载
adrianlmmover 8 years ago
Does this mean that now you need MSBuild in .NET Core? is it ported to Linux?, how does it work?
dustinmorisover 8 years ago
How come this story could be reposted so quickly when it has been submitted already 11 hours ago? <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12747592" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12747592</a>
评论 #12756785 未加载
评论 #12750805 未加载
DSteinmannover 8 years ago
What a disaster. The tail wagged the dog in the .NET Core team. Every step of the way it became clearer that this was a pet project of some ivory-tower programmers and that we would be left to patch together this mess. Try adding a .NET Core project on your build server. You&#x27;ll hate yourself by the time you get it building.
评论 #12750739 未加载
评论 #12751437 未加载
评论 #12750894 未加载
hacker_9over 8 years ago
The .csproj msbuild file is here to stay? really? Why are we having to fit programming a build system around an archaic xml declarative language? The .csproj is the single worst point of the visual studio experience. Terrible format, editing experience, having to reload, having to copy paste GUIDs, manually lookup .target files ugh the whole thing is horrible.
评论 #12751506 未加载
Longhanksover 8 years ago
Coming from a Linux&#x2F;macOS background, this article is really hard to read. So many .Net-Buzzword things, MSBuild, project.json, csproj, sln... I&#x27;d really appreciate if they streamlined how to get started with C# cross platform.
评论 #12750661 未加载
评论 #12751092 未加载
评论 #12750643 未加载
评论 #12751060 未加载