Code Monkey home page Code Monkey logo

tooling's People

Contributors

andrewbrianhall avatar angelosp avatar balachir avatar cristy avatar danroth27 avatar eilon avatar federicorinaldi avatar glennc avatar kcd83 avatar madskristensen avatar morrisjoe avatar ntaylormullen avatar sayedihashimi avatar terrajobst avatar vijayrkn avatar vkichline avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tooling's Issues

Multiple Startup Websites Fail Using IIS Express The First Time

If I have a solution with several Asp Websites, and I select two or more from the "Multiple Startup Projects" list under the Solutions Property pages. I get the following message box for each project I've selected.

image

If I the go to each project that I wanted to run and set it as the start up project, start debugging, stop debugging. I can then run time together without that error. If I restart VS I have to run through each project again. In my case I have more than 15+ mirco services, that connect to one SPA, so debugging several services together is relatively common.

Defining Multiple Startup Projects doesn't work

When I try and run multiple startup projects I get various errors occurring and none of the projects start. To get around this, I have to start each project individual first and then I can run multiple startup projects. This is really annoying when trying to work with client/agent - server scenarios, etc.

adding source packages to a solution isn't always reflected in solution explorer

I created a web starter application, and added some source packages using global.json, adding the sources directories and rebuilding.
If I look to the icons in the solution explorer to understand if the source or nuget package I seen this:

first I added mvc, rebuilt it, checked in solution explorer, and all looks fine.
second I added entity framework, rebuilt it, checked in solution explorer, and all looks fine
after this I added Identity,rebuilt it, checked in solution explorer, and found that in the web starter app the EntityFramework.SqlServer the sources packages icon is shown, but in the project Microsoft.AspNet.Identity.EntityFramework is nuget package icon of EntityFramework.SqlServer is shown.
After this I added the Microsoft.Framework.DependencyInjection package: the project is loaded in the solution, but in all the projects in the solution with the above packages looks like the nuget version is used.

Since this way the projects are not really added to the solution I tried again adding the projects directly, removing them when vs added automatically, and the result is the same.

I tried to run the kpm list from the project directory and seems fine: I find a reference for the version 0.0.0 of the package and is used in all the projects.

I'm using ctp 6 and main feed

Conflict with global bower and local bower

I am noticing that VS has problems if I try to install a local version of bower that is different from the version installed with VS. Looks like 1.3.8 gets installed when I install VS but if I try to use an earlier or later version locally, VS tooling has a problem showing bower packages in the Dependencies folder or trying to get package intellisense from bower.json it fails (I get "Unavailable" when trying to get intellisense). If I remove the local bower pulled from NPM it works fine.

This is a problem because we have devs on non-Windows environments who aren't relying on having Bower installed globally. I can move the order of sources around in the "Configure External Tools" dialog but it doesn't seem to help.

Brunch UI support on Task Runner

I used brunch for a while now with AspNet and I find it very useful and simpler than Grunt and Gulp.

I think it would be great if task runner can detect brunch config file and let run it as with grunt and/or gulp.

There are no task involved so the only thing needed is to have a build with/without optimization, and watch with/without optimization (build / build --production and watch / watch --production)

Also is a good way to introduce developers to brunch which is way easier and more likely similar to the bundling we had in mvc5.

note: there is nothing preventing us using brunch already, and the workflow is awesome already.

IISExpress SSL

There's no UI property to enable SSL on IISExpress (our couldn't find one)

I'm not aware of a command or config that does this either except manually modifying application.host file (didn't tried it).

differences between the restore at opening of the project and normal restore

I don't know if this is by design, but I noticed that there are some differences between the restore done at the opening of the solution, and the restore triggered saving the project.json: if I manually remove projects imported from the sources, saving all the files, the solution file too, changing and saving the project.json nothing happens.
If I close and reopen the solution the projects are readded to the solution.

add reference command is not filtering non asp.net 5 projects

I suppose this is not an issue but just one thing still to be done, but if in the solution are present msbuild projects (asp.net 4 and class libraries) in the add reference dialog all the projects are shown, selectable and I can add to an asp.net 5 project.
I added a class Library with an EF 6 model inside and I noticed that:

  1. the program continues to run.
  2. editor intellisense does not show any type present in the library.
  3. If I explore the library using solution explorer shows a reference to entity framework 7.0.0.-beta 3.

Empty KRE list when default alias is bad

On CTP 6:
no kres
The default alias was pointing to a beta4 build that the customer had deleted from the .k\runtimes folder. Manually updating default.txt to point back to beta3 fixed the issue.

adding comments in json files

Using the comment selection keyboard shortcut inside the json file the // comment is added.
This is wrong and running for example the bower install task with comments in the bower.json I obtain the message Fatal error: Failed to read ...\bower.json

IDE tooling : hard to access external code that is defined in "compile"

As I migrate between csproj and project.json, I find myself with some DNX projects having to bring in files from outside the project tree using "compile:", for example (from dapper):

"compile": [ "../Dapper NET40/*.cs", "../Dapper NET45/*.cs" ],

However, these files never appear in the solution, and do not work in search. The only way I've found of getting the IDE to play nicely with such files is to add them as solution items.

Obvious issue: how to make them appear; where to put them; what to do if there are conflicts (an existing file inside the tree with the same name) - I didn't say I had the answers ;p

dragging static files in a mvc view isn't resolved correctly

In an asp.net 4 application if I drag a file as an image in a mvc view the link is added correctly, for example
<img src="~/Content/asp-net-banners-01.png" />
but if I do the same thing in an asp.net 5 app, where all the static files are inside the wwwroot directory, this link is added to the view
<img src="~/wwwroot/images/asp-net-banners-01.png" />
when the application is deployed the link is incorrect and the image isn't shown

adding sources from another repository disables Add Solution to Source Control

Not a strictly asp.net tools related problem, but if I add to the source the src directory of another repository VIsual Studio recognizes the git repository and shows in the solution and in code lens.
If the solution isn't already under source control, the Command Add Solution to Source Control is not more present: I have to remove all the projects under source control from the solution to have enable the command again.

Issues with doing a build while site is running

Copied from aspnet/Routing#170

Hi,

I have an application with URLs with extensions (eg. http://app.com/eZ6Vwe.m). When the URL does not end with / (slash) it sometimes returns 404. But sometimes it works. I don't understand why. Can you help me to find out where is the problem?

Thank you!

Can you please provide us with a small repro project and some examples of cases that do and do not work so we can investigate?

Of course, here it is: http://moontea.net/routewithextension.zip

Open solution in VS 2015 CTP 6
Start project without debugging
Go to /hash.m => should work
Rebuild the solution (do not stop the application)
Go again to /hash.m => returns 404
The following URLs work as expected:

/hash.m/ (with ending slash)
/hash:m
/hash:m/

Do you encounter any routing problems when you don't rebuild while the sever is running?

Do you encounter any routing problems after restarting the server? (It sounds like all of your issues go away if you restart the site).

I'm suspecting this is a tooling/timing issue because I am unable to reproduce it locally on my VS build (which is newer). If there's no routing problem in steady-state then I'm going to move this bug to the tooling repo and those folks should be able to provide you more information.

It doesn't help to restart the site. Actually it seems it stops working after the restart. I've tried to restart a site running on full IIS on Azure and it stopped working. I can restart IIS Express and it helps. But it's only temporary solution. After I make some changes, it stops working again.

I cannot say right now whether it happens when I don't make any changes while the site is running.
@djanosik

Ok it seems there are no routing problems when I don't rebuild, restart or change the site while it is running.

problems debugging async in mvc?

I haven't debugged mvc sources before, so I'm not sure is a bug.
I'm using ctp 6, main feed, cloned source from beta 3, and added mvc sources to a web starter app.
I'm debugging the startup process of the application to arrive to the display of the initial.
I am in the public virtual async Task InvokeAsync() method of the FilterActionInvoker class, and I see the call to await InvokeAllAuthorizationFiltersAsync();.
I step into method and debug every step using F10 keystroke, and arrive to the end of the routine: at this point, using neither f10 or shift F11 you can return to the InvokeAsync method, and the execution of the program continues and the page is shown.
If I place a breakpoint after the call to InvokeAll.. inside the InvokeAsync I can continue to debug

Add Reference to .NET 4.5.1 class library project from ASP.NET 5 web app not working

I am running the RC of Visual Studio Enterprise on a Windows Server 2012 R2 Virtual Machine. Folder that solution is added to is part of a git repo.
Steps to reproduce:

  1. Create new Web Application Project with ASP.NET 5 Starter Web Template
  2. Add an existing .NET 4.5.1 class library project to the solution. Project includes a reference to EF 6.1.3
  3. Add the class library project as a reference in the web application project.

Results:

  1. A reference is added to the project.json file in the web project
    "frameworks": {
    "dnx451": {
    "dependencies": {
    "Recipe05.Dal": "1.0.0-*"
    }
    }
  2. In the class library project a wrap directory is created with the folders:
  • EntityFramework
    • EntityFramework.SqlServer
    • Recipe05.Dal
      each folder has it's own project.json file with a bin configuration
      "bin": {
      "assembly": "../../obj/{configuration}/Recipe05.Dal.dll",
      "pdb": "../../obj/{configuration}/Recipe05.Dal.pdb"
      }
    • In the web project package restore fails with the following error:
      Error NuGet Package Restore failed for one or more packages. See details in the Output window.
      Restoring packages for C:\MVC6Recipes\MVC6Recipes\Chapter06\Recipe05\src\Recipe05.Dal\wrap\Recipe05.Dal\project.json
      GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Recipe05.Dal'.
      OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Recipe05.Dal' 1081ms
      Unable to locate Recipe05.Dal >= 1.0.0

IDE tooling suggestion: nuget push equivalent

Automatic artifact nupkg is great, but it would be good if we could also use the IDE to do a deploy - essentially a nuget push, but without needing any solution-level tools.

I'm imagining: right-click on a library DNX project and select "Publish"; UI appears; if the user has not previously configured an api-key, prompt for a key (or prompt for web login, and have VS fetch it?) - essentially doing the same as nuget setApiKey

"This will upload {package name} to {target} blah blah blah; [confim]"

When click ok, do it.

Questions:

  • can you target multiple nugets?
  • does it upload to the doc server too?
  • how does/should key invalidation work? detect specific failure and prompt for re-entry?

Nice-to-haves:

  • check that the current user has access to push that package while the confirmation window is up (new package name, or owner)
  • check that the new version makes sense (not already exists? higher version?)
  • warn if it isn't a Release build?

Aside:

The current Publish option for DNX library projects appears to be web publish; does that even make sense?

IDE bug; DNX project completely fails to detect methods that exist

a .json build with conditional compilation declares some methods such as QueryAsync (this is "Dapper"); the code builds, including a test rig (console exe) that uses the QueryAsync method. However, the IDE complains that the QueryAsync methods do not exist:

Error CS1061 'SqlConnection' does not contain a definition for 'QueryAsync' and no extension method 'QueryAsync' accepting a first argument of type 'SqlConnection' could be found (are you missing a using directive or an assembly reference?) Dapper.DNX.Tests..NET Framework 4.5 D:\Dev\dapper-dot-net\Dapper.DNX.Tests\Program.cs 22

This is IDE only; the compilation and execution works fine (intellisense is equally broken).

You can see this in the "Dapper.DNX.sln" solution here: https://github.com/StackExchange/dapper-dot-net
missingmethods

What is the Typescript story with ASP.NET 5

Hi,
What is the Typescript story with ASP.NET 5? At the moment (VS 2015 CTP6) it doesn't seem to work very well at all. Since it's still pre-release software I don't expect everything to work smoothly, but I need to know if you're planning on making them work well together for the final release or not.

My main concers are pretty much the same as the questions asked in this forum post (which no one has answered, although they are very specific and clear questions!)
http://forums.asp.net/t/2041054.aspx?Few+questions+about+aspnet+5+and+vs+2015+CTP

  1. Will it be possible to prevent VS from generating .js-files? I will never edit the .js-files, and they just create a lot of noise in the solution Explorer. Also, they should never be checked into a Source Control system, and I'm planning on using gulp to generate the .js-files and copying / concat'ing them to the wwwroot-folder.
  2. Intellisense does not work / typescript type checking fails when you've added a new .ts-file to the solution. To make it work, I need to drag it into a different folder in the solution, then drag it back to where it should be. Is this related to the fact that there is no template for adding a typescript file to the solution?

At the moment, Typescript does not seem like a first class citizen of an ASP.NET 5 Project, I just need to know if you are planning on making it one, or should we go for ASP.NET 4.6 if we want to use Typescript?

Thanks!

klr.exe continuously crashing with a circular reference

I created an asp.net 5 console app and a library class, and I tried to create a circular reference adding to both projects a reference to the other.
As I completed the circular reference this message started to appear

untitled

If I close this dialog reappear in a few seconds and I haven't found a way to stop it.

Build errors are not always translated into IDE errors

This usually works, but it can get into a broken state; I have not figured out the sequence that breaks it, but example:

Build output: plenty of fail:

All packages are already installed and there is nothing to restore.
NuGet package restore finished.
1>------ Build started: Project: protobuf_net, Configuration: Debug Any CPU ------
1>-
1>  Build succeeded.
1>           0 Warning(s).
1>           0 Error(s).
1>
1>  Time elapsed 00:00:00.2370835
1>
2>------ Build started: Project: Protobuf.Tests, Configuration: Debug Any CPU ------
2>D:\Dev\protobuf-net\Examples\Arrays.cs(4,7,4,12): DNX 4.5.1 error CS0246: The type or     namespace name 'NUnit' could not be found (are you missing a using directive or an assembly     reference?)
2>D:\Dev\protobuf-net\Examples\AutoFields.cs(6,7,6,12): DNX 4.5.1 error CS0246: The type or namespace name 'NUnit' could not be found (are you missing a using directive or an assembly     reference?)
2>D:\Dev\protobuf-net\Examples\AutoTuple.cs(3,7,3,12): DNX 4.5.1 error CS0246: The type or     namespace name 'NUnit' could not be found (are you missing a using directive or an assembly reference?)
2>D:\Dev\protobuf-net\Examples\Callbacks.cs(3,7,3,12): DNX 4.5.1 error CS0246: The type or namespace name 'NUnit' could not be found (are you missing a using directive or an assembly reference?)

(and so on for ... well, ages)

2>D:\Dev\protobuf-net\Examples\Primatives.cs(561,17,561,23): DNX Core 5.0 error CS0103: The     name 'Assert' does not exist in the current context
2>D:\Dev\protobuf-net\Examples\Primatives.cs(567,17,567,23): DNX Core 5.0 error CS0103: The     name 'Assert' does not exist in the current context
2>D:\Dev\protobuf-net\Examples\SimpleStream\SimpleStreamDemo.cs(317,24,317,31): DNX     Core 5.0 warning CS0219: The variable 'psClone' is assigned but its value is never used
2>
2>  Build failed.
2>           1 Warning(s).
2>        2431 Error(s).
2>
2>  Time elapsed 00:00:01.0541880
2>
========== Build: 1 succeeded or up-to-date, 1 failed, 0 skipped ==========

However, the Error List in the IDE is: 0 Errors, 0 Warnings, 0 Messages

Edit: is this possibly a "we aren't going to show more than 1000 errors in the IDE" check? If so, I suggest putting in at least one (presumably in the highest level severity encountered), i.e. in the above "There are more than {0} build errors; please see build output" (or "build warnings" in the warnings tab if only warnings were seen, etc)

design time host build fails with ImmutableArray<T> error

VS2015 CTP6
using latest nightly builds
started getting this msbuild error with latest aspnetvnext nightly builds
any idea on a workaround
If I comment out the DesignTimeHostBuild section I can compile app in VS2015 and it runs ok under k command.

Severity    Code    Description Project File    Line    Column
Error       The design time host build failed with the following error: This operation cannot be performed on a default instance of ImmutableArray.  Consider initializing the array, or checking the ImmutableArray.IsDefault property.  NeoSample   C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AspNet\Microsoft.Web.AspNet.targets 135 5
c:\projects\2015\NeoSample-ASPNET5\src\NeoSample>kvm list

Active Version           Runtime Architecture Location                   Alias
------ -------           ------- ------------ --------                   -----
       1.0.0-beta3       clr     x64          C:\Users\Glenn\.k\runtimes
       1.0.0-beta3       clr     x86          C:\Users\Glenn\.k\runtimes
       1.0.0-beta3       coreclr x64          C:\Users\Glenn\.k\runtimes
       1.0.0-beta3       coreclr x86          C:\Users\Glenn\.k\runtimes
       1.0.0-beta4-11169 clr     x86          C:\Users\Glenn\.k\runtimes
       1.0.0-beta4-11169 coreclr x86          C:\Users\Glenn\.k\runtimes
       1.0.0-beta4-11181 clr     x86          C:\Users\Glenn\.k\runtimes
  *    1.0.0-beta4-11193 clr     x86          C:\Users\Glenn\.k\runtimes default

Solution Explorer and file system inconsistencies.

When I add folder to solution It creates a global.json file and a src folder.
note even the global.json includes a test folder, this one isn't created nor shown on solution explorer
If I remove the src folder from solution explorer, it get recreated after a kpm restore.

If I create a new project without folder for solution, and create a global.json myself and a new ConsoleApp (asp.net 5) and do a kpm restore i cannot get this src folder to be created.

If I create the test folder manually, and add a Class Library (ASP.NET 5) to this folder, it still shows inside the src folder on solution explorer.

If I open one of the project.json I get the solution reopened.
If I delete the .sln and open one project.json, it gets open alone and it shows the .vs folder inside Solution Explorer.

Looks like there are a some inconsistencies between solution explorer and filesystem / config files.

global.json is not supported for File - Open Project.

note that kpm will work based on global.json (i think ??) but solution explorer uses the sln and it looks like those can get out of sync?

Build succeeded message contains interleaved information

When I try to do a build from VS on a solution that contains multiple projects the build output looks something like this: Looking at the time elapsed data printed, it is not clear on which project took this much time. Will be useful to have more data to correlate.

1>------ Rebuild All started: Project: Microsoft.AspNet.TestHost.Tests, Configuration: Debug Any CPU ------
2>------ Rebuild All started: Project: Microsoft.AspNet.TestHost, Configuration: Debug Any CPU ------
3>------ Rebuild All started: Project: Microsoft.AspNet.Hosting, Configuration: Debug Any CPU ------
4>------ Rebuild All started: Project: Microsoft.AspNet.Hosting.Tests, Configuration: Debug Any CPU ------
5>------ Rebuild All started: Project: Microsoft.AspNet.Hosting.Interfaces, Configuration: Debug Any CPU ------
4>
4>  Build succeeded.
4>           0 Warning(s).
4>           0 Error(s).
4>
4>  Time elapsed 00:00:02.3125076
4>
1>d:\K\Hosting\test\Microsoft.AspNet.TestHost.Tests\TestClientTests.cs(18,43): DNX 4.5.1 warning CS0169: The field 'TestClientTests._services' is never used
5>
1>
5>  Build succeeded.
1>  Build succeeded.
5>           0 Warning(s).
1>           1 Warning(s).
5>           0 Error(s).
1>           0 Error(s).
5>
5>  Time elapsed 00:00:02.5625083
5>
1>
1>  Time elapsed 00:00:02.5156345
1>
3>
2>
3>  Build succeeded.
2>  Build succeeded.
3>           0 Warning(s).
2>           0 Warning(s).
3>           0 Error(s).
2>           0 Error(s).
3>
2>
3>  Time elapsed 00:00:02.2812582
2>  Time elapsed 00:00:02.5000089
3>
2>
========== Rebuild All: 5 succeeded, 0 failed, 0 skipped ==========

Hard to choose target runtime for IDE-integrated test runner

At the moment, the only way I've found to change the target runtime for the test runner is via project properties. Edit: scratch that - that doesn't actually seem to work; nothing seems to work! I have coreclr as my default, and both my test project and library project set to use a specific runtime: coreclr - and the IDE test runner is still using clr

Compared to how easy it is to play or run the console test tool (awesome drop down, thanks) and view code (top left of edit window, also awesome) for different runtimes, this feels awkward.

I don't know how much is possible, but one thing in particular that I notice: if you run a test from the editor, it still uses the project properties runtime, not the top-left-picker runtime.

dnvm upgrade install beta4 version instead of beta5 after install VS2015RC

There seems VS2015RC installed another dnx in different location.
where dnvm
C:\Program Files\Microsoft DNX\Dnvm\dnvm.cmd
C:\Users\Leal.dnx\bin\dnvm.cmd

when run dnvm upgrade, the command will set beta4 version of clr to default.
C:\Users\Leal
λ dnvm upgrade
Determining latest version
'dnx-clr-win-x86.1.0.0-beta4-11566' is already installed.
Updating alias 'default' to 'dnx-clr-win-x86.1.0.0-beta4-11566'

problems debugging application

I'm debugging an asp.net 4 application, with an mvc 4 application that calls a routine from a class library. When I move the cursor over the variable I don't see the tooltip of the value, and if I try with Quick Watch I see this.

untitled

IDE does not apply correct "define"s based on configuration

Consider a console exe .json project file that contains:

"compilationOptions": {"define": ["FOO"]},

and

"frameworks": {
    "dnx451": {
         "compilationOptions": {"define": ["BAR"]}
    },
    "dnxcore50": {
        "dependencies": {
            "System.Console": "4.0.0-beta-22716"
        }
    }
}

With code:

#if FOO
        Console.WriteLine("FOO");
#endif
#if BAR
        Console.WriteLine("BAR");
#endif
#if DNX451
        Console.WriteLine("DNX451");
#endif

Now, in VS, select (ctrl+f2) the "{project}.DNX 4.5.1" configuration.

Expectation: the IDE detects the FOO, BAR and DNX451 defines, and displays the 3 lines as enabled.

Reality: the IDE displays the 3 lines as disabled, indicating the IDE has not detected the defines.

The compiler gets this correct; executing the project will print correctly:

FOO
BAR
DNX451

Unable to publish to staging slot

This is from @Bartmax who originally reported this at https://github.com/sayedihashimi/publish-module/issues/50

Just trying to publish a mvc 6 default template (web api) project to azure (importing publishing profile from the publishing wizard, info is correct but on preview or publish I receive :

1>------ Build started: Project: MayaKin.Web, Configuration: Release Any CPU ------
Inside GatherAllFilesToPublish
Environment variables:
Path=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\\Extensions\Microsoft\Web Tools\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\\Extensions\Microsoft\Web Tools\External\git
C:\Users\Bart\.k\runtimes\kre-clr-win-x86.1.0.0-beta3-11030\bin\kpm.cmd bundle "C:\Bartmax\MayaKin\MayaKin\src\MayaKin.Web" --out "C:\Users\Bart\AppData\Local\Temp\AspNetPublish\MayaKin.Web-42" --configuration Release --runtime kre-coreclr-win-x64.1.0.0-beta3 --wwwroot-out "wwwroot" --quiet
1>
1>  Build succeeded.
1>      0 Warning(s).
1>      0 Error(s).
1>
1>  Time elapsed 00:00:00.0860073
1>
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
Time elapsed 00:00:00.4172004
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.AspNet.Publishing.targets(205,5): Error ERROR_COULD_NOT_FIND_APPROOT_FOLDER: Web deployment task failed. (Could not map the path 'MayaKin__Staging' to an approot folder.  Make sure the relative path you specify points to the root of an application.
  Obtenga más información en: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_FIND_APPROOT_FOLDER.)
Publish failed to deploy.

found out the problem with the name on azure being __staging for the deployment slot. Deploying to the main slot works.

VS2015 hangs when opening ASP.NET 5 project

I'm trying to take an existing application built with Angular/Bower/Grunt and set it up in 2015. I create a new project in CTP6 using the Empty template, load my NPM packages already defined in my package.json, then save, close VS, and re-open the project. When I re-open, the solution hangs and VS has to be force-closed.

I have a fully built package.json, bower.json, and gruntfile.js.

nuget restore of an another application in an asp.net 5 application

This is hard to repro.
I'm using vs 2015 for both asp.net 4 and 5, opening more instances and/or switching from a project to another using the same instance.
Twice, while working to an asp.net 5 project, at the moment of the rebuild I seen appear the nuget 2.8 dialog of the restore in progress: at the end of this, I found in the solution folder of the asp.net 5 a package folder with inside the packages of another asp.net 4 app I'm working.

dnx.exe has stopped working (when running tests), and inside IDE

Update: after some playing, I got more detail:

Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem in 'C:\Users\marc.dnx\runtimes\dnx-clr-win-x86.1.0.0-beta4\bin\dnx.exe'.

I suspect the most likely thing is a stack-overflow due to my changes - probably my bad. You might want to defer on this for now and assume I'm at fault (although it would be nice if it failed more cleanly).


Not sure if this is an xunit thing, a dnx thing, or both; I have a set of very broken tests (due to both dnx and xunit conversion, I wasn't expecting it all to be clean), but when I try to run the tests, I get (after a while of test running) a windows popup saying that dnx has stopped working.

If I do a "run all" in the IDE, I get:

  • Failed Tests (16)
  • Skipped Tests (5)
  • Passed Tests (481)
  • Not Run Tests (172)

I'm guessing that the last 172 are likewise "stuff after it blew up".

You might be able to repro with this branch, commit 6509f34d974e786a097235eb9ca45dea9ae8c376
(see the proto_dnx.sln in the root)

changes in global,json aren't reflected in solution explorer

if I add directories in the source section of the global.json and save the file, the projects aren't added to the solution untile a kpm restore isn't triggeded.
Removing the source folder from the global.json the projects continues to be shown in the solution explorer, although I trigger the restore changing the project.json or even closing and reopening the solution.

compile from sources

I created a new asp.net mvc application, cloned the mvc repo, checked out the beta 4 tag, and added the src directory to the global.json.
try to recompile and find a lot of errors about the NotNull type not found and so on. The NotNullAttribute is defined ina project inside the common repo, so I clone this too, checkout the beta 4 tag, and add the src directory to the global json.
Try to recompile and find this:
Dependency System.Runtime >= 4.0.20-* could not be resolved ...src\Microsoft.Framework.CopyOnWriteDictionary.Internal\project.json
Dependency System.IO >= 4.0.10-beta-* could not be resolved Microsoft.AspNet.PageExecutionInstrumentation.Interfaces ..src\Microsoft.AspNet.PageExecutionInstrumentation.Interfaces\project.json

and so on.

I'm using 2015 rc and the only version of the dnx runtime is the beta 4

project.json: commented lines break "compile" arrays

This is fine elsewhere, for example:

"commands": {
    //"dummy": "nothing",
    "test": "xunit.runner.dnx"
},

Which is then validly ignored:

D:\Dev\protobuf-net\Protobuf.Tests>dnx . dummy
System.InvalidOperationException: Unable to load application or execute command
'dummy'. Available commands: test.

However! It breaks the IDE when used in "compile:":

"compile": [
    //"../Examples/Diction*.cs",
    "../Examples/Program.cs"
],

This causes 3 errors:

  • Illegal characters in path.
  • NuGet Package Restore failed for one or more packages. See details in the Output window.
  • The design time host build failed with the following error: Illegal characters in path.

And the "References" node in the solution explorer breaks (yellow hazard sign)

Note: this also breaks dnx when used at the command line, for example:

D:\Dev\protobuf-net\Protobuf.Tests>dnx . test
System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
   at System.IO.Path.IsPathRooted(String path)
   at Microsoft.Framework.Runtime.PatternsCollectionHelper.CreateCollection(Stri
ng projectDirectory, String[] patternsStrings)

UTF-8 Without BOM

Using tools like jshint-brunch I receive constantly character not recognized due to BOM (signature) of utf8 files.

I don't know what is this exactly, will working with mac / windows line ending and encodings becaming a new problem ?

Right now I just have to save with encoding and choose no signature for all javascript files. I would preffer not to.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.