Skip to content

"aspnetcorev2_inprocess.dll"The file could not be found #9805

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
yuxingz opened this issue Apr 28, 2019 · 4 comments
Closed

"aspnetcorev2_inprocess.dll"The file could not be found #9805

yuxingz opened this issue Apr 28, 2019 · 4 comments
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Comments

@yuxingz
Copy link

yuxingz commented Apr 28, 2019

Describe the bug

can't build "Microsoft.AspNetCore.Server.IIS" project.
copy error:

严重性 代码 说明 项目 文件 禁止显示状态
错误 MSB3030 无法复制文件“D:\dotnet\AspNetCore\src\Servers\IIS\AspNetCoreModuleV2\InProcessRequestHandler\bin\Debug\Win32\aspnetcorev2_inprocess.dll”,原因是找不到该文件。 Microsoft.AspNetCore.Server.IIS C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets 4560

To Reproduce

Steps to reproduce the behavior:

  1. Using this version of ASP.NET Core '3.0.100-preview4-011223'
  2. PS> cd D:
  3. PS> mkdir dotnet
  4. PS> cd dotnet
  5. PS> git clone https://github.com/aspnet/AspNetCore.git
  6. PS> cd AspNetCore
  7. PS> ./eng/scripts/InstallVisualStudio.ps1
  8. PS> .\restore.cmd
  9. PS> .\startvs.cmd D:\dotnet\AspNetCore\src\Servers\IIS\IISIntegration.sln
  10. VS2019->选择Microsoft.AspNetCore.Server.IIS项目->build
  11. View the error list window

Expected behavior

build success

Screenshots

Additional context

Add any other context about the problem here.
Include the output of dotnet --info

@yuxingz
Copy link
Author

yuxingz commented Apr 28, 2019

sorry~
image always can't upload!

Additional context

PS> dotnet --version

3.0.100-preview4-011223

PS> dotnet --info

.NET Core SDK(反映任何 global.json):
 Version:   3.0.100-preview4-011223
 Commit:    118dd862c8

运行时环境:
 OS Name:     Windows
 OS Version:  10.0.14393
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview4-011223\

Host (useful for support):
  Version: 3.0.0-preview5-27626-15
  Commit:  61f30f5a23

.NET Core SDKs installed:
  2.1.202 [C:\Program Files\dotnet\sdk]
  2.1.500 [C:\Program Files\dotnet\sdk]
  2.1.602 [C:\Program Files\dotnet\sdk]
  2.2.106 [C:\Program Files\dotnet\sdk]
  3.0.100-preview4-011223 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.0.0-preview4-19216-03 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0-preview4-27615-11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0-preview5-27626-15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.0.0-preview4-27613-28 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

@yuxingz
Copy link
Author

yuxingz commented Apr 28, 2019

vs2019-iis-error_list

@jkotalik
Copy link
Contributor

Can you run src/Servers/IIS/build.cmd?

@yuxingz
Copy link
Author

yuxingz commented Apr 30, 2019

Can you run src/Servers/IIS/build.cmd?

En~BuildFromSource.md's Building in Visual Studio does not specify the need to run src/Servers/IIS/build.cmd, I thought vs2019 will automatically run build.cmd. .
Now the command line runs build.cmd and builds success, @jkotalik thank you very much

@yuxingz yuxingz closed this as completed Apr 30, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Dec 3, 2019
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

No branches or pull requests

4 participants