You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.
If I modify a class in the TempTest4 project and refresh the page, the change is not visible. It shows up if I stop the site in IIS Express and then refresh.
This works with beta4.
Steps to reproduce:
Create a new ASP.NET Web Application (ASP.NET 5 -> Web Site, name: "Temp1"). The current SDK version is 1.0.0-beta5-11781.
Replace "beta4" with "*" in project.json.
Delete the two migration files.
Remove "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-*" from package.json (there is no version yet for beta5, and it's no longer possible to use comments in project.json).
Comment out app.UseBrowserLink(); in Startup.cs.
Add an IApplicationEnvironment appEnv parameter to the constructor in the Startup class, and pass appEnv.ApplicationBasePath to the Configuration constructor.
Open another instance of VS2015RC, and create a new Class Library solution (name: "Temp2").
Add a public static method to Class1 named GetString that returns a string ("Hello").
In the web application solution, add D:/path/to/Temp2/src to projects in global.json.
Add "Temp2": "" to project.json, and the Temp2 project will show up in the solution.
Add @Temp2.Class1.GetString() somewhere in Index.cshtml.
Run the web application (Ctrl+F5), and it should print "Hello".
Change the string returned from the static method in Class1.
Refresh the page, and the new string will not be printed.
Stop the site in IIS Express, and then refresh the page again, and the new string will be printed.
@glen-84 does D:/Programming/Projects/ASP.NET/TempTest4/src have a global.json with a specific dnx version in it? If yes, is it the same as the main solution?
Ahh, found this before making my own bug report. I guess this barely missed the mark for making into beta5 actual? That's a shame, I had automatically re-running unit tests all set up and working in beta4!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
My global.json looks something like this:
If I modify a class in the TempTest4 project and refresh the page, the change is not visible. It shows up if I stop the site in IIS Express and then refresh.
This works with beta4.
Steps to reproduce:
"Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-*"
from package.json (there is no version yet for beta5, and it's no longer possible to use comments in project.json).app.UseBrowserLink();
in Startup.cs.IApplicationEnvironment appEnv
parameter to the constructor in theStartup
class, and passappEnv.ApplicationBasePath
to theConfiguration
constructor.Class1
namedGetString
that returns a string ("Hello").D:/path/to/Temp2/src
toprojects
in global.json."Temp2": ""
to project.json, and theTemp2
project will show up in the solution.@Temp2.Class1.GetString()
somewhere in Index.cshtml.Class1
.Moved from dotnet/aspnetcore#592.
The text was updated successfully, but these errors were encountered: