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

Fast up to date always fails when using bebop-tools with VS2022 #212

Open
Romanx opened this issue May 26, 2022 · 0 comments
Open

Fast up to date always fails when using bebop-tools with VS2022 #212

Romanx opened this issue May 26, 2022 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Romanx
Copy link

Romanx commented May 26, 2022

Describe the bug
Because the compiler always runs the code file is always updated on the disk and so the fast up to date check always fails since the file is newer than the time the build started.

VS2022 seems to have made this give more output information and so this only appears in VS2019 although the problem will probably exist.

To Reproduce
Steps to reproduce the behavior:

  1. Create a dotnet project using VS2022.
  2. Add bebop and bebop-tools.
  3. Add a bop file and csproj elements to compile it at build.
  4. Look in the output window on build, it should say WARNING: Potential incremental build failure in '_project_'. See: https://aka.ms/incremental-build-failure
  5. To see the below snippet turn on up to date check logic as explained in the link in step 4.

Expected behavior
The generated file should not be updated if the schema file hasn't been changed.

Screenshots / Snippets

3>FastUpToDate: Input Compile item 'C:\Projects\TestProject\ResultFile.g.cs' (26/05/2022 11:42:25) has been modified since the last successful build started (26/05/2022 11:42:24), not up-to-date. (TestProject)
3>FastUpToDate: Up-to-date check completed in 1.1 ms (TestProject)

Bebop info:

  • Version: 2.4.2
  • Runtime: .NET

Desktop (please complete the following information):

  • OS: Windows
  • Version 10

Additional context
Details about the fast up to date check can be found here.

@Romanx Romanx added the bug Something isn't working label May 26, 2022
@andrewmd5 andrewmd5 self-assigned this Jul 18, 2022
@andrewmd5 andrewmd5 added this to the v3.0.0 milestone Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants