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 }}
Repository navigation
K Web crashes when changing to net45 CLR after having changed to CoreCLR #7
Run "k web" the first time over net45 CLR --> Works over net45
Change to Core-CLR with "set TARGET_FRAMEWORK=k10"
Run "k web" over CORE-CLR --> Works on Core-CLR
Change to net45-CLR with "set TARGET_FRAMEWORK=net45"
Run "k web" on CORE-CLR --> Crashes (see error below):
On the other hand, if I set TARGET_FRAMEWORK to empty ("set TARGET_FRAMEWORK="), then, it works on net45 CLR, like "by default CLR".
I think it should work with the environment variable set to "net45", too.
C:\Users\cesardl\Documents\GitHub\Preview\samples\HelloWeb>k web
Loaded Module: klr.net45.dll
Found DLL Export: CallApplicationMain
Unhandled Exception: System.AggregateException: One or more errors occurred. ---
> System.ArgumentException: Illegal characters in path.
at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPath
Length, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Path.GetFullPath(String path)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at klr.hosting.RuntimeBootstrapper.<Execute>d__1.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceled
Exceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotifica
tion)
at System.Threading.Tasks.Task`1.get_Result()
at DomainManager.Main(Int32 argc, String[] argv)
I can replicate this issue also. Once this happens, it prevents any application from running again. I have to close the command window to clear the error.
Activity
rjdudley commentedon May 1, 2014
I can replicate this issue also. Once this happens, it prevents any application from running again. I have to close the command window to clear the error.
Praburaj commentedon May 1, 2014
To run it on
net45just clear the value of the env variableSET TARGET_FRAMEWORK=rather than setting it tonet45.glennc commentedon May 13, 2014
Switching between Core CLR and Desktop has now changed completely. This error should not happen anymore.
Merge pull request dotnet#7 from agx/master
StringAsTempFile cleans up in a wider range of circumstances (not rel…
Merge pull request #7 from hishamco/dev
Merge pull request #7 from hishamco/buildStatus
merge (#7)