question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Guidance on programmatic up-to-date check

See original GitHub issue

Visual Studio Version: 16.3.9

I’m building an MSBuild tools NuGet package (or whatever they’re actually called) which takes artefacts produced from an SSDT project (.sqlproj) and uses them in a F# project (.fsproj). I’ve got it working with MSBuild command line but was running into issues with getting Visual Studio to run the build on changes. @davidwengier helpfully pointed me at up-to-date checks.

Because I’m finding the artefacts programmatically (in my package’s targets) I understand I need to override one of the CollectUpToDateCheck*DesignTime targets. (At least I think I do, based on the documentation and this comment.)

However I’m not quite sure which one to override. The one I would expect to override based on the docs would be CollectUpToDateCheckBuiltDesignTime, but that’s already doing some things which I wouldn’t want to copy and paste into my package in case it changes in the project system.

(I am new to MSBuild and all that, so I could be majorly missing something here!)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
davidwengiercommented, Nov 28, 2019

I opened https://github.com/dotnet/project-system-tools/pull/211 to fix the problem with the first build so keep an eye out for a new release of Project System Tools in the not too distant future.

1reaction
NickDarveycommented, Nov 28, 2019

Thanks for the guidance on the up-to-date check, @drewnoakes. Super helpful! I very much appreciate it. I’ll continue on the MSBuild side of things now!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Final Guidance for Effective Use of Programmatic NEPA ...
This guidance provides an overview of opportunities for departments and agencies to use programmatic analyses to provide for greater efficiency ...
Read more >
Understand Direct and Programmatic Ad Revenue
Most publishers sell ads directly and programmatically. ... Have up-to-date ad inventory availability ready by using features like an inventory forecast ...
Read more >
National Environmental Policy Act Guidance on ...
The Council on Environmental Quality (CEQ) is issuing this interim guidance to assist agencies in analyzing greenhouse gas (GHG) and climate ...
Read more >
NPS Nationwide Programmatic Agreement National ...
This guidance document is intended for use by multiple audiences: park and regional staff; cultural resources, facilities maintenance, and natural resources ...
Read more >
Programmatic Advertising - The Ultimate Guide - Bannerflow
Programmatic allows advertisers to adjust and optimise ads there and then to test and improve results as well as have clear oversight on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found