Skip to content
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

With VS 16.9.22 installed, Warning MSB3101: Could not write state file "obj\Debug\net*\a.csprojAssemblyReference.cache". ... display when building 3.1/5.0 project in CLI. #7662

Closed
vdanche opened this issue May 30, 2022 · 2 comments
Labels

Comments

@vdanche
Copy link
Member

vdanche commented May 30, 2022

Environment:
VS 16.9.22 VAL --16.9.22[32527.80.d16.9]

Steps to reproduce:
dotnet new console in CLI
dotnet build

Expected Result:
Build successfully without any warning and error.

Actual Result:
Build successfully but below warning display

image

dotnet --info:
.NET SDK (reflecting any global.json):
Version: 5.0.215
Commit: d65b161a9a

Runtime Environment:
OS Name: Windows
OS Version: 10.0.19043
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\5.0.215\

Host (useful for support):
Version: 6.0.6
Commit: 7cca709db2

.NET SDKs installed:
5.0.215 [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.26 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.26 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.26 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

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

@vdanche vdanche changed the title Warning MSB3101: Could not write state file "obj\Debug\net*\a.csprojAssemblyReference.cache". ... display when building 3.1/5.0 project in CLI. With VS 16.9.22 installed, Warning MSB3101: Could not write state file "obj\Debug\net*\a.csprojAssemblyReference.cache". ... display when building 3.1/5.0 project in CLI. May 30, 2022
@vdanche
Copy link
Member Author

vdanche commented Jun 1, 2022

Issue not repro on Version 16.9.22 [32531.387.d16.9] without June 5.0 SDK inserted

@marcpopMSFT marcpopMSFT transferred this issue from dotnet/sdk Jun 1, 2022
@vdanche
Copy link
Member Author

vdanche commented Jun 6, 2022

Fixed on VS 16.9.22[32531.387.d16.9] with June 5.0 SDK inserted.

@vdanche vdanche closed this as completed Jun 6, 2022
@AR-May AR-May added the triaged label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants