Skip to content

@typeparam no longer allows trailing semi-colons #33602

@majorimi

Description

@majorimi

I have a open sourced Blazor component library. And recently I'm getting this error below when I try to run with dotnet watch run my demo app to develop the components.

C:\Program Files\dotnet\sdk\6.0.100-preview.4.21255.9\Microsoft.Common.CurrentVersion.targets(4964,5): 
error MSB3030: Could not copy the file "D:\Projects\GitHub\blazor-components\src\Majorsoft.Blazor.Components.CssEvents\obj\Debug\net5.0\staticwebassets\Majorsoft.Blazor.Components.CssEvents.StaticWebAssets.xml" 
because it was not found. [D:\Projects\GitHub\blazor-components\src\Majorsoft.Blazor.Components.Modal\Majorsoft.Blazor.Components.Modal.csproj]

To give more details. I'm using Visual Studio 2019 (stable for development) but also have VS 2019 Preview installed. My projects using .NET 5.0.3 and dotnet watch run was working perfectly before .NET 6 preview got installed. But now dotnet commands using preview version: dotnet\sdk\6.0.100-preview.4.21255.9 even if the project is just .NET 5.

As I can see the problem is obj\Debug\net5.0\staticwebassets\<PROJECT_NAME>.StaticWebAssets.xml is generated on every VS build. But when watch tool is detecting changes and does a "build" these files are deleted from obj folder. So instead of file copy the watch tool might move/delete these files. I have multiple project in my solution this is true for all. And getting this error for lot of them...

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedbugThis issue describes a behavior which is not expected - a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions