-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Description
Description
Hello!
I noticed that, using 9.0.307 (win 64 bit), if I move the build output in a windows shared folder and launch the application from there, it doesn't start. The same build output in any local disk folders start succesfully.
Reproduction Steps
Reproducibility steps:
1 - Create a folder in a local driver (i.e. C:\test) and open a terminal from there
2 - Run dotnet new web -o TodoApi
3 - Run cd TodoApi
4 - Run dotnet run
5 - Verify that the applications starts correctly (the console shows the listening Url:port, the api responds)
6 - Copy all the contents of the ..\bin\Debug\net9.0 subfolder to a network share (i.e. \myshare\net9.0).
7 - Move to the \myshare\net9.0\ folder and run .\TodoApi.exe
8 - BUG: the console shows nothing (not even the Url:port) and the api does not respond.
Expected behavior
I expected that the application runs fine from both local disk and shared folder
Actual behavior
The same application runs fine from local disk but fails (without any errors) if launched from a shared folder.
Regression?
No response
Known Workarounds
No response
Configuration
Here's my dotnet --info
.NET SDK:
Version: 9.0.307
Commit: 3bc3012cf9
Workload version: 9.0.300-manifests.6f9c3023
MSBuild version: 17.14.28+09c1be848Runtime Environment:
OS Name: Windows
OS Version: 10.0.19045
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.307\.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.Host:
Version: 9.0.11
Architecture: x64
Commit: fa7cdde.NET SDKs installed:
1.1.0 [C:\Program Files\dotnet\sdk]
2.0.3 [C:\Program Files\dotnet\sdk]
2.1.526 [C:\Program Files\dotnet\sdk]
3.1.426 [C:\Program Files\dotnet\sdk]
6.0.428 [C:\Program Files\dotnet\sdk]
7.0.410 [C:\Program Files\dotnet\sdk]
8.0.414 [C:\Program Files\dotnet\sdk]
9.0.307 [C:\Program Files\dotnet\sdk].NET runtimes installed:
Microsoft.AspNetCore.All 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.22 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 1.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]Environment variables:
Not setglobal.json file:
Not foundLearn more:
https://aka.ms/dotnet/infoDownload .NET:
https://aka.ms/dotnet/download
Other information
No response
Metadata
Metadata
Assignees
Type
Projects
Status