Skip to content

Can't upgrade to 0.1.646-beta from 0.1.635-beta #535

@virzak

Description

@virzak

Actual behavior

Looks like this is the actual bug:

warning CS8785: Generator 'SourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'IOException' with message 'The process cannot access the file 'C:\Users\virzak\.nuget\packages\microsoft.windows.sdk.win32metadata\17.0.2-preview\Windows.Win32.winmd' because it is being used by another process.'

Expected behavior

A clear and concise description of what you expected to happen.

Repro steps

  1. NativeMethods.txt content:
GetWindowLong
SetWindowLong
WINDOW_STYLE

Context

  • CsWin32 version: 0.1.646-beta
  • Target Framework: net6
  • LangVersion preview (C# 11)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions